Tizen(Headed) Native API
6.5
|
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.
Functions | |
void | edje_frametime_set (double t) |
Sets edje transitions' frame time. | |
double | edje_frametime_get (void) |
Gets edje transitions' frame time. | |
void | edje_freeze (void) |
Freezes Edje objects. | |
void | edje_thaw (void) |
Thaws Edje objects. | |
void | edje_language_set (const char *locale) |
Sets Edje language. | |
void | edje_transition_duration_factor_set (double scale) |
Sets edje transition duration factor. | |
double | edje_transition_duration_factor_get (void) |
Retrieves transitions duration factor. | |
Typedefs | |
typedef enum _Edje_Tween_Mode | Edje_Tween_Mode |
typedef enum _Edje_Action_Type | Edje_Action_Type |
Typedef Documentation
All actions available in Edje programs.
Available tween mode for edje animations.
Enumeration Type Documentation
enum _Edje_Action_Type |
- Enumerator:
enum _Edje_Tween_Mode |
- Enumerator:
Function Documentation
double edje_frametime_get | ( | void | ) |
Gets edje transitions' frame time.
- Returns:
- The frame time, in seconds.
This function returns the edje frame time set by edje_frametime_set() or the default value 1/30.
- See also:
- edje_frametime_set()
- Since :
- 2.3
void edje_frametime_set | ( | double | t | ) |
Sets edje transitions' frame time.
- Parameters:
-
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().
- See also:
- edje_frametime_get()
- Since :
- 2.3
- Examples:
- edje-perspective.c.
void edje_freeze | ( | void | ) |
Freezes Edje objects.
This function freezes all Edje animations in the current process.
- Note:
- : for freeze a specific object
- See also:
- edje_object_freeze().
- edje_thaw()
- Since :
- 2.3
void edje_language_set | ( | const char * | locale | ) |
Sets Edje language.
- Parameters:
-
locale The locale specifier.
This function sets the given language.
- Note:
- : emits signal edje,language,"locale".
- Since (EFL) :
- 1.15
- Since :
- 3.0
- Examples:
- edje-text.c.
void edje_thaw | ( | void | ) |
Thaws Edje objects.
This function thaws all Edje animations in the current process.
- Note:
- for thaw a specific object
- See also:
- edje_object_thaw().
- edje_freeze()
- Since :
- 2.3
double edje_transition_duration_factor_get | ( | void | ) |
Retrieves transitions duration factor.
- Returns:
- The edje transition duration factor
This function returns the edje transition duration factor.
- See also:
- edje_transition_duration_set() for more details
- Since (EFL) :
- 1.15
- Since :
- 3.0
void edje_transition_duration_factor_set | ( | double | scale | ) |
Sets edje transition duration factor.
- Parameters:
-
scale The edje transition'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
- Warning:
- The transition's duration factor cannot be set on each translation. If you use this function, it will affect transitions globally
- Since (EFL) :
- 1.15
- Since :
- 3.0