Commit Graph

27 Commits

Author SHA1 Message Date
ChunEon Park c28e1674ac From: ChunEon Park <chuneon.park@samsung.com>
003_elm_transit.diff.txt (made all effect context APIs private. But
expose
each one façade API to use easy.) 



SVN revision: 55579
2010-12-16 07:53:42 +00:00
Carsten Haitzler 628026e03b fix resizable flip func - typo in it.
SVN revision: 55535
2010-12-13 09:19:40 +00:00
Carsten Haitzler 006f247187 transit -> make focal length a define. make it 2k - 10k was too far.
SVN revision: 55534
2010-12-13 08:41:38 +00:00
ChunEon Park 45ede1c718 From: ChunEon Park <chuneon.park@samsung.com>
Subject: Re: [E-devel] elm_transit patch

* deprecated elm_transit_event_block_set and added
elm_transit_event_enabled_set
* modified event_enabled = EINA_FALSE as a default



SVN revision: 55437
2010-12-10 05:41:14 +00:00
helen 030b697366 EINA_SAFETY_ON_NULL_RETURN
Checking parameters with EINA_SAFETY_ON_NULL_RETURN and
EINA_SAFETY_ON_NULL_RETURN_VAL in Elementary

SVN revision: 55188
2010-12-03 14:08:33 +00:00
Tiago Rezende Campos Falcao 575431a3c1 Elm_Transit: Documentation improvement
Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54433
2010-11-10 18:06:34 +00:00
Tiago Rezende Campos Falcao d2b274329b Transit Effect: release data
Effects:
Translation
Resizable Flip
Fade
Blend

The effects above retrives information about objects in the transit,
they need to release these informations if the object dies.

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54432
2010-11-10 18:06:31 +00:00
Tiago Rezende Campos Falcao 38e5245d20 Transit Effect: blend and wipe behavior
This effects must do the evas_object_{show, hide} at the end of the
effect

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54431
2010-11-10 18:06:28 +00:00
Tiago Rezende Campos Falcao 0c67df5525 Transit Effect: otimization
Otimization: Do not pass twice by a list.
removing unuseble casts

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54430
2010-11-10 18:06:22 +00:00
Tiago Rezende Campos Falcao 7113956012 Transit Effect: Effect Translation whith variance
Effect Translation whith variance, not whith absolute value

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54428
2010-11-10 18:06:17 +00:00
Tiago Rezende Campos Falcao b1f1474392 Elm_Transit: Fix bug when removing an object
Bug: If the object does not belong to the transit, it was removing the
obj_data from it.

Bug: segfaut if you try to remove an object that do not belongs to any
transit

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54427
2010-11-10 18:06:14 +00:00
Tiago Rezende Campos Falcao 6803cc68e7 Elm_Transit: Not allowing objects in multiples transits
Bug: if the objects belongs to multiples transits, there is a problem
with the internal state of the object storage with the data_set
function. If a transit die, it will free this data, and the other
transit will crash.

Removing _elm_transit_object_remove_cb prototype

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54426
2010-11-10 18:06:11 +00:00
Tiago Rezende Campos Falcao 6cf4ad0892 Elm_Transit: cleaning up the code
Removing math functions. Changing how auto_reverse works
Removing _tween_progress_calc
If the object dies, the del_cb does not need to be deleted
Coccinelle modifications

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54425
2010-11-10 18:06:08 +00:00
Tiago Rezende Campos Falcao 4c710e0438 Elm_Transit: adding EINA_MAGIC
Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54424
2010-11-10 18:06:05 +00:00
Tiago Rezende Campos Falcao 137f123753 Elm_Transit: deleting transit if there is no more effects
After you add an effect, if the effect's list stay empty, the transit
will die

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54423
2010-11-10 18:06:03 +00:00
Tiago Rezende Campos Falcao 7e907f08ce Elm_Transit: changing architecture
Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54422
2010-11-10 18:06:00 +00:00
Tiago Rezende Campos Falcao 02b2d75aa2 Elm_Transit: fix in elm_transit_del
If the transit object is removed inside some animation, there is a
problem. Now we set the transit to be deleted.

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54421
2010-11-10 18:05:57 +00:00
Tiago Rezende Campos Falcao d61562b799 elm_transit.c: better documentation
Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54420
2010-11-10 18:05:54 +00:00
Tiago Rezende Campos Falcao a73df5636b Elm_Transit: missing getters
elm_transit_tween_mode_get
elm_transit_repeat_times_get
elm_transit_auto_reverse_get

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54419
2010-11-10 18:05:51 +00:00
Tiago Rezende Campos Falcao 1d32e374c4 Elm_Transit: better organization of the code
static functions in the top, functions in order of Elementary.h.in

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54418
2010-11-10 18:05:48 +00:00
Tiago Rezende Campos Falcao bd9873ef22 Elm_Transit: Following the style of efl
ELM_FX is now ELM_TRANSIT_EFFECT

Curve style like in edje

Changing names:
CURVE_IN -> TWEEN_DECELERATE
CURVE_OUT -> TWEEN_ACCELERATE
CURVE_IN_OUT -> TWEEN_SINUSOIDAL
Curve_Style -> Tween_Mode

Now, the calculation is done like in edje.

Changing function of type function() to function(void)
Elm_Transit: Changing calloc(1, to ELM_NEW

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54417
2010-11-10 18:05:45 +00:00
Tiago Rezende Campos Falcao e691fe9d16 Fix elm_transit_{auto_reverse_set, repeat_times_set}
Now, if you set a negative number to repeat, it will repeat infinite
times.

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54416
2010-11-10 18:05:42 +00:00
Tiago Rezende Campos Falcao 98c82eb20f Elm_Transit: deleting transit if there is no more objects
After you add an object, if the objects list stay empty, the transit
will die

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54415
2010-11-10 18:05:39 +00:00
Tiago Rezende Campos Falcao 86cd7f44aa Elm_Transit: Using EINA_LIST_FOREACH_SAFE
Using EINA_LIST_FOREACH_SAFE to remove objects from the list safely

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54414
2010-11-10 18:05:36 +00:00
Tiago Rezende Campos Falcao b1d3cc1726 Fixing elm_transit_del function
It was not deleting the objecs correctly

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54413
2010-11-10 18:05:34 +00:00
Tiago Rezende Campos Falcao 8860368785 Elm_Transit: using evas_object_data{set, get, del}
Intead of doing a list to restore information about an object, now using
evas_object_data{set, get, del}
Using evas_object_pass_events instead elm_object_disabled_set
This allows the event block to be setted in non widgets objects

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54412
2010-11-10 18:05:26 +00:00
Tiago Rezende Campos Falcao 9bd54d59d6 Elm_Transit
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

Transit is designed to set the various effects for the Evas_Object
such like translation, rotation, etc. For using Effects, Create
transit and insert effects which are interesting.

Once effects are inserted into transit, transit will manage those
effects (ex: deleting).

SVN revision: 53927
2010-10-27 17:02:02 +00:00