Functions that deal with animations. More...
Typedefs | |
| typedef enum _Edje_Tween_Mode | Edje_Tween_Mode |
| Available tween mode for edje animations. | |
| typedef enum _Edje_Action_Type | Edje_Action_Type |
| All actions available in Edje programs. | |
Functions | |
| void | edje_frametime_set (double t) |
| Set edje trasitions' frame time. More... | |
| double | edje_frametime_get (void) |
| Get edje trasitions' frame time. More... | |
| void | edje_freeze (void) |
| Freeze Edje objects. More... | |
| void | edje_thaw (void) |
| Thaw Edje objects. More... | |
| void | edje_language_set (const char *locale) |
| Set's Edje language. More... | |
| void | edje_transition_duration_factor_set (double scale) |
| Set edje transition duration factor. More... | |
| double | edje_transition_duration_factor_get (void) |
| Retrieve transitions duration factor. More... | |
Functions that deal with animations.
Edje has the ability to animate objects. One can start, stop, play, pause, freeze and thaw edje animations using the functions of this section.
| enum _Edje_Tween_Mode |
| enum _Edje_Action_Type |
| void edje_frametime_set | ( | double | t | ) |
Set edje trasitions' frame time.
| t | The frame time, in seconds. Default value is 1/30. |
This function sets the edje built-in animations' frame time (thus, affecting their resolution) by calling ecore_animator_frametime_set(). This frame time can be retrieved with edje_frametime_get().
References ecore_animator_frametime_set().
| double edje_frametime_get | ( | void | ) |
Get edje trasitions' frame time.
This function returns the edje frame time set by edje_frametime_set() or the default value 1/30.
References ecore_animator_frametime_get().
| void edje_freeze | ( | void | ) |
Freeze Edje objects.
This function freezes all Edje animations in the current process.
References EINA_LIST_FOREACH.
| void edje_thaw | ( | void | ) |
Thaw Edje objects.
This function thaws all Edje animations in the current process.
References EINA_FALSE, EINA_LIST_FOREACH, and EINA_LIST_FREE.
| void edje_language_set | ( | const char * | locale | ) |
Set's Edje language.
This function sets the given language.
References alloca(), EINA_LIST_FOREACH, and eo_data_scope_get().
| void edje_transition_duration_factor_set | ( | double | scale | ) |
Set edje transition duration factor.
| scale | The edje trasition's duration factor (the default value is 1.0) |
This function sets the edje transition duration factor It will affect the speed of transitions which had the use_duration_factor property set to @1. The default value of use_duration_factor property is zero, but can be changed by "USE_DURATION_FACTOR 1" or "USE_DURATION_FACTOR 0" as parameter of "TRANSITION" property at EDC level. If the parameter is "USE_DURATION_FACTOR 0" or not mentioned about "USE_DURATION_FACTOR", the duration of transition keeps original duration
| double edje_transition_duration_factor_get | ( | void | ) |
Retrieve transitions duration factor.
This function returns the edje transition duration factor.