Download

Support

lib/ewl_colordialog.c File Reference

#include "ewl_base.h"
#include "ewl_colordialog.h"
#include "ewl_button.h"
#include "ewl_colorpicker.h"
#include "ewl_macros.h"
#include "ewl_private.h"
#include "ewl_debug.h"

Include dependency graph for ewl_colordialog.c:


Functions

unsigned int ewl_colordialog_alpha_get (Ewl_Colordialog *cd)
 This retrieves the current alpha value selected in the dialog.
void ewl_colordialog_alpha_set (Ewl_Colordialog *cd, 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 *cd)
 This will retrive the current Ewl_Color_Mode set on the color dialog.
void ewl_colordialog_color_mode_set (Ewl_Colordialog *cd, Ewl_Color_Mode type)
 Sets the color dialog mode to type.
void ewl_colordialog_current_rgb_get (Ewl_Colordialog *cd, 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 *cd, 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 *cd)
 This retrieves weither or not the color dialog is showing alpha information.
void ewl_colordialog_has_alpha_set (Ewl_Colordialog *cd, 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_Widgetewl_colordialog_new (void)
 Create a new Ewl_Colordialog widget.
void ewl_colordialog_previous_rgba_get (Ewl_Colordialog *cd, 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 *cd, 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.

Copyright © Enlightenment.org

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