Tizen Native API
|
Functions | |
Eina_Bool | edje_color_class_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) |
Sets the Edje color class. | |
Eina_Bool | edje_color_class_get (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) |
Gets the Edje color class. | |
void | edje_color_class_del (const char *color_class) |
Deletes the Edje color class. | |
Eina_List * | edje_color_class_list (void) |
Lists the color classes. | |
Eina_Bool | edje_object_color_class_set (Evas_Object *obj, 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) |
Sets the object color class. | |
Eina_Bool | edje_object_color_class_get (const Evas_Object *o, 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) |
Gets the object color class. | |
void | edje_object_color_class_del (Evas_Object *obj, const char *color_class) |
Deletes the object color class. |
This group discusses functions that deal with Color Classes.
void edje_color_class_del | ( | const char * | color_class | ) |
Deletes the Edje color class.
This function deletes any values at the process level for the specified color class.
[in] | color_class | The color class name |
Eina_Bool edje_color_class_get | ( | 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 | ||
) |
Gets the Edje color class.
This function gets the color values for a process level color class. This value is globally set and not per-object, that is, the value that would be used by objects if they do not override using edje_object_color_class_set().
[in] | color_class | The color class name |
[out] | r | The object Red value |
[out] | g | The object Green value |
[out] | b | The object Blue value |
[out] | a | The object Alpha value |
[out] | r2 | The outline Red value |
[out] | g2 | The outline Green value |
[out] | b2 | The outline Blue value |
[out] | a2 | The outline Alpha value |
[out] | r3 | The shadow Red value |
[out] | g3 | The shadow Green value |
[out] | b3 | The shadow Blue value |
[out] | a3 | The shadow Alpha value |
Eina_List* edje_color_class_list | ( | void | ) |
Lists the color classes.
This function lists all the color classes known by the current process.
Eina_Bool edje_color_class_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 | ||
) |
Sets the Edje color class.
This function sets the color values for a process level color class. This causes all the edje parts in the current process that have the specified color class to have their colors multiplied by these values. (Object level color classes set by edje_object_color_class_set() override the values set by this function).
[in] | color_class | The color class name |
[in] | r | The object Red value |
[in] | g | The object Green value |
[in] | b | The object Blue value |
[in] | a | The object Alpha value |
[in] | r2 | The outline Red value |
[in] | g2 | The outline Green value |
[in] | b2 | The outline Blue value |
[in] | a2 | The outline Alpha value |
[in] | r3 | The shadow Red value |
[in] | g3 | The shadow Green value |
[in] | b3 | The shadow Blue value |
[in] | a3 | The shadow Alpha value |
void edje_object_color_class_del | ( | Evas_Object * | obj, |
const char * | color_class | ||
) |
Deletes the object color class.
This function deletes any values at the object level for the specified object and color class.
[in] | obj | The edje object reference |
[in] | color_class | The color class to be deleted |
Eina_Bool edje_object_color_class_get | ( | const Evas_Object * | o, |
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 | ||
) |
Gets the object color class.
This function gets the color values for an object level color class. If no explicit object color is set, then global values are used.
[in] | o | A valid Evas_Object handle |
[in] | color_class | The color class name |
[out] | r | The object Red value |
[out] | g | The object Green value |
[out] | b | The object Blue value |
[out] | a | The object Alpha value |
[out] | r2 | The outline Red value |
[out] | g2 | The outline Green value |
[out] | b2 | The outline Blue value |
[out] | a2 | The outline Alpha value |
[out] | r3 | The shadow Red value |
[out] | g3 | The shadow Green value |
[out] | b3 | The shadow Blue value |
[out] | a3 | The shadow Alpha value |
Eina_Bool edje_object_color_class_set | ( | Evas_Object * | obj, |
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 | ||
) |
Sets the object color class.
This function sets the color values for an object level color class. This causes all edje parts in the specified object that have the specified color class to have their colors multiplied by these values.
[in] | obj | A valid Evas_Object handle |
[in] | color_class | The color class name |
[in] | r | The object Red value |
[in] | g | The object Green value |
[in] | b | The object Blue value |
[in] | a | The object Alpha value |
[in] | r2 | The outline Red value |
[in] | g2 | The outline Green value |
[in] | b2 | The outline Blue value |
[in] | a2 | The outline Alpha value |
[in] | r3 | The shadow Red value |
[in] | g3 | The shadow Green value |
[in] | b3 | The shadow Blue value |
[in] | a3 | The shadow Alpha value |