lib/ewl_colordialog.h File Reference
#include "ewl_dialog.h"
Include dependency graph for ewl_colordialog.h:

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

Go to the source code of this file.
Data Structures | |
struct | Ewl_Colordialog |
Inherit from the Ewl_Dialog to create a color dialog widget. More... | |
Defines | |
#define | EWL_COLORDIALOG(cd) ((Ewl_Colordialog *) cd) |
#define | EWL_COLORDIALOG_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_COLORDIALOG_TYPE)) |
#define | EWL_COLORDIALOG_TYPE "colordialog" |
Typedefs | |
typedef struct Ewl_Colordialog | Ewl_Colordialog |
Functions | |
unsigned int | ewl_colordialog_alpha_get (Ewl_Colordialog *cp) |
This retrieves the current alpha value selected in the dialog. | |
void | ewl_colordialog_alpha_set (Ewl_Colordialog *cp, unsigned int alpha) |
Sets the alpha value of the cd dialog to alpha . | |
void | ewl_colordialog_cb_button_click (Ewl_Widget *w, void *ev, void *data) |
void | ewl_colordialog_cb_delete_window (Ewl_Widget *w, void *ev, void *data) |
Ewl_Color_Mode | ewl_colordialog_color_mode_get (Ewl_Colordialog *cp) |
This will retrive the current Ewl_Color_Mode set on the color dialog. | |
void | ewl_colordialog_color_mode_set (Ewl_Colordialog *cp, Ewl_Color_Mode type) |
Sets the color dialog mode to type . | |
void | ewl_colordialog_current_rgb_get (Ewl_Colordialog *cp, unsigned int *r, unsigned int *g, unsigned int *b) |
This will retrieve the rgb values from the color dialog. | |
void | ewl_colordialog_current_rgb_set (Ewl_Colordialog *cp, unsigned int r, unsigned int g, unsigned int b) |
This sets the given rbg information into the color dialog. | |
unsigned int | ewl_colordialog_has_alpha_get (Ewl_Colordialog *cp) |
This retrieves weither or not the color dialog is showing alpha information. | |
void | ewl_colordialog_has_alpha_set (Ewl_Colordialog *cp, unsigned int alpha) |
This will set if the color dialog will show the alpha information. | |
int | ewl_colordialog_init (Ewl_Colordialog *cd) |
Initialize a color dialog to starting values. | |
Ewl_Widget * | ewl_colordialog_new (void) |
Create a new Ewl_Colordialog widget. | |
void | ewl_colordialog_previous_rgba_get (Ewl_Colordialog *cp, unsigned int *r, unsigned int *g, unsigned int *b, unsigned int *a) |
This will retrieve the value current set into the previous color box of the color dialog rgba values from the color dialog. | |
void | ewl_colordialog_previous_rgba_set (Ewl_Colordialog *cp, unsigned int r, unsigned int g, unsigned int b, unsigned int a) |
This sets the given rgba values as the color to display in the previous color box of the color dialog. |