|
Data Structures |
struct | Etk_Colorpicker |
| [Widget] A widget that allows the user to select a color More...
|
Defines |
#define | ETK_COLORPICKER_TYPE (etk_colorpicker_type_get()) |
#define | ETK_COLORPICKER(obj) (ETK_OBJECT_CAST((obj), ETK_COLORPICKER_TYPE, Etk_Colorpicker)) |
#define | ETK_IS_COLORPICKER(obj) (ETK_OBJECT_CHECK_TYPE((obj), ETK_COLORPICKER_TYPE)) |
Enumerations |
enum | Etk_Colorpicker_Mode {
ETK_COLORPICKER_H,
ETK_COLORPICKER_S,
ETK_COLORPICKER_V,
ETK_COLORPICKER_R,
ETK_COLORPICKER_G,
ETK_COLORPICKER_B
} |
| The different color modes that can be used by the colorpicker. More...
|
Functions |
Etk_Widget * | etk_colorpicker_new (void) |
| Creates a new colorpicker.
|
void | etk_colorpicker_mode_set (Etk_Colorpicker *cp, Etk_Colorpicker_Mode mode) |
| Sets the current color mode of the colorpicker.
|
Etk_Colorpicker_Mode | etk_colorpicker_mode_get (Etk_Colorpicker *cp) |
| Gets the current color mode of the colorpicker.
|
void | etk_colorpicker_current_color_set (Etk_Colorpicker *cp, Etk_Color color) |
| Sets the color currently selected by the colorpicker.
|
Etk_Color | etk_colorpicker_current_color_get (Etk_Colorpicker *cp) |
| Gets the color currently selected by the colorpicker.
|
void | etk_colorpicker_use_alpha_set (Etk_Colorpicker *cp, Etk_Bool use_alpha) |
| Sets whether or not the colorpicker has a slider that allows the user to choose the alpha component of the color.
|
Etk_Bool | etk_colorpicker_use_alpha_get (Etk_Colorpicker *cp) |
| Gets whether the colorpicker has an alpha slider.
|