2014-11-20 23:28:39 -08:00
|
|
|
/**
|
2016-03-16 08:05:31 -07:00
|
|
|
* @addtogroup Elm_Colorselector
|
2014-11-20 23:28:39 -08:00
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
typedef struct _Elm_Color_RGBA Elm_Color_RGBA;
|
|
|
|
struct _Elm_Color_RGBA
|
2013-04-27 23:56:42 -07:00
|
|
|
{
|
|
|
|
unsigned int r;
|
|
|
|
unsigned int g;
|
|
|
|
unsigned int b;
|
|
|
|
unsigned int a;
|
2014-11-20 23:28:39 -08:00
|
|
|
};
|
2013-04-27 23:56:42 -07:00
|
|
|
|
2014-11-20 23:28:39 -08:00
|
|
|
typedef struct _Elm_Custom_Palette Elm_Custom_Palette;
|
|
|
|
struct _Elm_Custom_Palette
|
2013-04-27 23:56:42 -07:00
|
|
|
{
|
|
|
|
const char *palette_name;
|
|
|
|
Eina_List *color_list;
|
2014-11-20 23:28:39 -08:00
|
|
|
};
|
2013-04-27 23:56:42 -07:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
2014-02-07 20:33:58 -08:00
|
|
|
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);
|
2014-11-20 23:28:39 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|