Tizen Native API
|
Functions | |
Eina_List * | elm_config_color_classes_list_get (void) |
Get Elementary's list of supported color classes. | |
void | elm_config_color_classes_list_free (Eina_List *list) |
Free Elementary's list of supported color classes. | |
const Eina_List * | elm_config_color_overlay_list_get (void) |
Get Elementary's list of color overlays, set with elm_config_color_overlay_set(). | |
void | elm_config_color_overlay_set (const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3) |
Set a color overlay for a given Elementary color class. | |
void | elm_config_color_overlay_unset (const char *color_class) |
Unset a color overlay for a given Elementary color class. | |
void | elm_config_color_overlay_apply (void) |
Apply the changes made with elm_config_color_overlay_set() and elm_config_color_overlay_unset() on the current Elementary window. |
Configuration for Elementary colors.
Function Documentation
void elm_config_color_classes_list_free | ( | Eina_List * | list | ) |
Free Elementary's list of supported color classes.
- Since :
- 2.3
- Since (EFL) :
- 1.10
- See also:
- elm_config_color_classes_list_get().
Eina_List* elm_config_color_classes_list_get | ( | void | ) |
Get Elementary's list of supported color classes.
- Since :
- 2.3
- Returns:
- The color classes list, with
Elm_Color_Class
blobs as data.
- Since (EFL) :
- 1.10
- Remarks:
- Release the list with elm_color_classes_list_free().
void elm_config_color_overlay_apply | ( | void | ) |
Apply the changes made with elm_config_color_overlay_set() and elm_config_color_overlay_unset() on the current Elementary window.
- Since :
- 2.3
- Since (EFL) :
- 1.10
- Remarks:
- This applies all color overlays set to all objects in the UI.
const Eina_List* elm_config_color_overlay_list_get | ( | void | ) |
Get Elementary's list of color overlays, set with elm_config_color_overlay_set().
- Since :
- 2.3
- Returns:
- The color overlays list, with
Elm_Color_Overlay
blobs as data.
- Since (EFL) :
- 1.10
- Remarks:
- For each color class, one can set a color overlay for it, overriding the default color properties for that class coming from the theme in use. There is no need to free this list.
void elm_config_color_overlay_set | ( | const char * | color_class, |
int | r, | ||
int | g, | ||
int | b, | ||
int | a, | ||
int | r2, | ||
int | g2, | ||
int | b2, | ||
int | a2, | ||
int | r3, | ||
int | g3, | ||
int | b3, | ||
int | a3 | ||
) |
Set a color overlay for a given Elementary color class.
- Since :
- 2.3
- Parameters:
-
[in] color_class Color class name [in] r Object Red value [in] g Object Green value [in] b Object Blue value [in] a Object Alpha value [in] r2 Text outline Red value [in] g2 Text outline Green value [in] b2 Text outline Blue value [in] a2 Text outline Alpha value [in] r3 Text shadow Red value [in] g3 Text shadow Green value [in] b3 Text shadow Blue value [in] a3 Text shadow Alpha value
- Since (EFL) :
- 1.10
The first color is for the object itself, the second color is for the text outline, and the third color is for the text shadow.
- Remarks:
- The second two color are only for texts.
Setting color emits a signal "color_class,set" with source being the given color class in all edje objects.
- See also:
- elm_config_color_overlay_list_get()
- elm_config_color_overlay_unset()
- edje_color_class_set()
- Remarks:
- unlike Evas, Edje colors are not pre-multiplied. That is, half-transparent white is 255 255 255 128.
void elm_config_color_overlay_unset | ( | const char * | color_class | ) |
Unset a color overlay for a given Elementary color class.
- Since :
- 2.3
- Parameters:
-
[in] color_class Color class name
- Since (EFL) :
- 1.10
- Remarks:
- This will bring back color elements belonging to color class
color_class
back to their default color settings.