efl/legacy/elementary/src/lib/elm_colorselector_common.h

34 lines
760 B
C

/**
* @addtogroup Elm_Colorselector
*
* @{
*/
typedef struct _Elm_Color_RGBA Elm_Color_RGBA;
struct _Elm_Color_RGBA
{
unsigned int r;
unsigned int g;
unsigned int b;
unsigned int a;
};
typedef struct _Elm_Custom_Palette Elm_Custom_Palette;
struct _Elm_Custom_Palette
{
const char *palette_name;
Eina_List *color_list;
};
EAPI void elm_colorselector_palette_item_color_get(const Elm_Object_Item *it, int *r, int *g, int *b, int *a);
EAPI void elm_colorselector_palette_item_color_set(Elm_Object_Item *it, int r, int g, int b, int a);
EAPI Eina_Bool elm_colorselector_palette_item_selected_get(const Elm_Object_Item *it);
EAPI void elm_colorselector_palette_item_selected_set(Elm_Object_Item *it, Eina_Bool selected);
/**
* @}
*/