Download

Support

lib/ewl_colorpicker.h File Reference

#include "ewl_box.h"

Include dependency graph for ewl_colorpicker.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Data Structures

struct  Ewl_Colorpicker
 Inherits from Ewl_Box to produce a color picker widget. More...

Defines

#define EWL_COLORPICKER(cp)   ((Ewl_Colorpicker *) cp)
#define EWL_COLORPICKER_IS(w)   (ewl_widget_type_is(EWL_WIDGET(w), EWL_COLORPICKER_TYPE))
#define EWL_COLORPICKER_TYPE   "colorpicker"

Typedefs

typedef struct Ewl_Colorpicker Ewl_Colorpicker

Functions

unsigned int ewl_colorpicker_alpha_get (Ewl_Colorpicker *cp)
 Retrive the alpha value from the color picker.
void ewl_colorpicker_alpha_set (Ewl_Colorpicker *cp, unsigned int alpha)
 Set the alpha value into the color picker.
void ewl_colorpicker_cb_alpha_change (Ewl_Widget *w, void *ev, void *data)
void ewl_colorpicker_cb_dnd_data (Ewl_Widget *w, void *ev, void *data)
void ewl_colorpicker_cb_previous_clicked (Ewl_Widget *w, void *ev, void *data)
void ewl_colorpicker_cb_radio_change (Ewl_Widget *w, void *ev, void *data)
void ewl_colorpicker_cb_spinner_change (Ewl_Widget *w, void *ev, void *data)
void ewl_colorpicker_cb_square_change (Ewl_Widget *w, void *ev, void *data)
void ewl_colorpicker_cb_vertical_change (Ewl_Widget *w, void *ev, void *data)
Ewl_Color_Mode ewl_colorpicker_color_mode_get (Ewl_Colorpicker *cp)
 Get the color mode of the color picker.
void ewl_colorpicker_color_mode_set (Ewl_Colorpicker *cp, Ewl_Color_Mode type)
 Set the color mode of the color picker.
void ewl_colorpicker_current_rgb_get (Ewl_Colorpicker *cp, unsigned int *r, unsigned int *g, unsigned int *b)
 Retrieve the current RGB values from the color picker.
void ewl_colorpicker_current_rgb_set (Ewl_Colorpicker *cp, unsigned int r, unsigned int g, unsigned int b)
 Set the current RGB values into the color picker.
unsigned int ewl_colorpicker_has_alpha_get (Ewl_Colorpicker *cp)
 Retrieves if the color picker displays alpha information.
void ewl_colorpicker_has_alpha_set (Ewl_Colorpicker *cp, unsigned int alpha)
 Set if the color picker displays alpha information.
int ewl_colorpicker_init (Ewl_Colorpicker *cp)
 Initializes the cp color picker widget.
Ewl_Widgetewl_colorpicker_new (void)
 Creates a new Ewl_Colorpicker widget.
void ewl_colorpicker_previous_rgba_get (Ewl_Colorpicker *cp, unsigned int *r, unsigned int *g, unsigned int *b, unsigned int *a)
 Retrieve the previous RGBA values from the color picker.
void ewl_colorpicker_previous_rgba_set (Ewl_Colorpicker *cp, unsigned int r, unsigned int g, unsigned int b, unsigned int a)
 Set the previous RBGA values into the color picker.

Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sat May 17 16:49:27 2008