Commit Graph

97 Commits

Author SHA1 Message Date
ChunEon Park 6c4e3a266d elementary/transit - removed tailing whites.
SVN revision: 58095
2011-03-26 12:42:43 +00:00
ChunEon Park a5eb6bebde elementary / transit - fixed typo.
SVN revision: 58094
2011-03-26 12:39:47 +00:00
ChunEon Park be17c2122d elementary/transit - changed API quickly. elm_transit_objects_prop_hold_disabled_set/get -> elm_transit_objects_final_state_set/get
Since these APIs are committed not much days ago, Im modified the API names to make better. 

But Im not sure. how many people are using this APIs at this time. 

I guess nobody. 



SVN revision: 57651
2011-03-10 05:20:07 +00:00
ChunEon Park 7948d3ec71 elementary/transit - fixed whitespaces
SVN revision: 57523
2011-03-04 23:37:36 +00:00
ChunEon Park 1a49191f81 elementary/transit - fixed white spaces
SVN revision: 57507
2011-03-03 23:11:28 +00:00
ChunEon Park 66e21b839c elementary/transit - added elm_transit_objects_prop_hold_disabled_set/get APIs.
These APIs provide options to user to set the properties of the transit objects will be rest or not when the transition ends. 
The properties include geometry, color, evas_map data.. 



SVN revision: 57498
2011-03-03 16:13:07 +00:00
ChunEon Park 08d0303431 elementary/transit - modified internal variable name
SVN revision: 57445
2011-03-01 07:32:29 +00:00
ChunEon Park e2a3748f45 elementary/transit - modified one minor coding style.
SVN revision: 57406
2011-02-28 09:19:47 +00:00
ChunEon Park 017c0ebd18 elementary/transit - fixed formatting.
SVN revision: 57403
2011-02-28 07:35:10 +00:00
ChunEon Park 67fd13d718 elementary / transit - fixed a wrong word in doxygen.
SVN revision: 57401
2011-02-27 23:00:54 +00:00
ChunEon Park e79dd5eee9 elementary/transit - makes it do not allow to add/remove the objects while transit is running.
It will provide new apis - elm_transit_object_prop_hold_set/get to give a option for keeping the object property when effect is over. 



SVN revision: 57396
2011-02-27 18:39:21 +00:00
ChunEon Park cec22a7f0c From: ChunEon Park <chuneon.park@samsung.com>
Subject: [E-devel] [PATCH] elm_transit

call del func after internal cleanups.



SVN revision: 56583
2011-01-31 10:21:05 +00:00
ChunEon Park da9df5693a From: ChunEon Park <chuneon.park@samsung.com>
Subject: [E-devel] [PATCH] elm_transit

Here is a minor patch for elm_transit
(indentation & removed unuseful calls - evas_map_smooth_set)



SVN revision: 56571
2011-01-31 08:03:16 +00:00
ChunEon Park b013b741c9 From: ChunEon Park <chuneon.park@samsung.com>
Subject: RE: [E-devel] [PATCH] elm_transit

elm_transit_paused_set / elm_transit_paused_get /
elm_transit_progress_value_get



SVN revision: 56125
2011-01-15 08:09:03 +00:00
Carsten Haitzler 584367b3eb warning--
SVN revision: 56047
2011-01-11 09:49:16 +00:00
Carsten Haitzler c2d396e11a add in proper declaration of elm_transit_add with void as a param -
and fix from ChunEon Park <chuneon.park@samsung.com> for it tin test
app.



SVN revision: 56040
2011-01-11 05:58:07 +00:00
ChunEon Park ef41b5aff1 From: ChunEon Park <chuneon.park@samsung.com>
Subject: Re: [E-devel] [PATCH] elm_transit

Here is a very small patch for elm_transit 

Removed an unnecessary parameter. 



SVN revision: 56016
2011-01-10 05:34:58 +00:00
ChunEon Park 7a3aa60910 From: ChunEon Park <chuneon.park@samsung.com>
Even it looks somewhat alien elm, 

I hope EFL supports basic effect by using c and edc.

In some cases, it is useful for app developers. 
They want to use effects easily and quickly as Other F/W does
providing. 

Here is patch again.

Added two lines for elm_transit_duration_set exception handling. 

I guess there are possibilities still to add/modify some functions to
the
transit. 
So, currently the exception cases does not defined yet. 

But I will try patches soon as perfect things.

Please consider about transit.  

And..  if this transit is acceptable, 
How about deprecate elm_animator as soon as possible? 



SVN revision: 55966
2011-01-07 06:23:20 +00:00
ChunEon Park 46882ac7e9 From: ChunEon Park <chuneon.park@samsung.com>
Subject: [E-devel] [PATCH] elm_tansit

002_elm_transit.c : renamed (Elm_Effect / Elm_Fx) -> Elm_Transit_Effect



SVN revision: 55866
2011-01-05 05:48:17 +00:00
Carsten Haitzler 994d787fcc lots of transit formatting cleanups/fixups and making symbols static
that should have been etc. minor cleanups - no code logic changes.



SVN revision: 55655
2010-12-20 09:21:12 +00:00
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