Main Page
Object Hierarchy
Data Structures
Related Pages
etk_colorpicker.c File Reference
Detailed Description
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.