Visualization control functions
[API available for manipulating Emotion object.]
Enumeration Type Documentation
| enum _Emotion_Vis |
Used for displaying a visualization on the emotion object.
- See also:
- emotion_object_vis_set()
- Enumerator:
Function Documentation
| EAPI Emotion_Vis emotion_object_vis_get | ( | const Evas_Object * | obj | ) |
Get the type of visualization in use by this emotion object.
- Parameters:
-
obj The emotion object which the visualization is being retrieved from.
- Returns:
- The type of visualization in use by this object.
The type of visualization can be set by emotion_object_vis_set().
References EMOTION_VIS_NONE.
| EAPI void emotion_object_vis_set | ( | Evas_Object * | obj, | |
| Emotion_Vis | visualization | |||
| ) |
Set the visualization to be used with this object.
- Parameters:
-
obj The object where the visualization will be set on. visualization The type of visualization to be used.
The visualization specified will be played instead of a video. This is commonly used to display a visualization for audio only files (musics).
The available visualizations are Emotion_Vis.
- Examples:
- emotion_test_main.c.
| EAPI Eina_Bool emotion_object_vis_supported | ( | const Evas_Object * | obj, | |
| Emotion_Vis | visualization | |||
| ) |
Query whether a type of visualization is supported by this object.
- Parameters:
-
obj The object which the query is being ran on. visualization The type of visualization that is being queried.
- Returns:
- EINA_TRUE if the visualization is supported, EINA_FALSE otherwise.
This can be used to check if a visualization is supported. e.g.: one wants to display a list of available visualizations for a specific object.
- Examples:
- emotion_test_main.c.