Ewl_Spectrum Struct Reference
[Ewl_Spectrum: The colour spectrum widget]
#include <ewl_spectrum.h>

Detailed Description
Inherits from Ewl_Container and extends to provide a colour spectrum.Data Fields | |
Ewl_Widget * | canvas |
Ewl_Container | container |
struct { | |
Ewl_Widget * horizontal | |
Ewl_Widget * vertical | |
} | cross_hairs |
unsigned int | dirty:1 |
struct { | |
double h | |
double s | |
double v | |
} | hsv |
Ewl_Color_Mode | mode |
struct { | |
unsigned int b | |
unsigned int g | |
unsigned int r | |
} | rgb |
Ewl_Spectrum_Type | type |
Field Documentation
unsigned int Ewl_Spectrum::b |
Referenced by ewl_spectrum_rgb_get(), and ewl_spectrum_rgb_set().
The canvas to draw on
Referenced by ewl_spectrum_cb_configure(), and ewl_spectrum_init().
Inherit from Ewl_Container
struct { ... } Ewl_Spectrum::cross_hairs |
Selection crosshairs
Referenced by ewl_spectrum_init().
unsigned int Ewl_Spectrum::dirty |
The flag to queue redraw
Referenced by ewl_spectrum_canvas_cb_reveal(), ewl_spectrum_hsv_set(), ewl_spectrum_mode_set(), and ewl_spectrum_rgb_set().
unsigned int Ewl_Spectrum::g |
Referenced by ewl_spectrum_rgb_get(), and ewl_spectrum_rgb_set().
double Ewl_Spectrum::h |
The current hue
Referenced by ewl_spectrum_hsv_get(), and ewl_spectrum_hsv_set().
Horizontal portion of the crosshairs
Referenced by ewl_spectrum_init().
struct { ... } Ewl_Spectrum::hsv |
The HSV setting of the specturm
Referenced by ewl_spectrum_hsv_get(), and ewl_spectrum_hsv_set().
The mode of the spectrum
Referenced by ewl_spectrum_mode_get(), and ewl_spectrum_mode_set().
unsigned int Ewl_Spectrum::r |
Referenced by ewl_spectrum_rgb_get(), and ewl_spectrum_rgb_set().
struct { ... } Ewl_Spectrum::rgb |
Current RBG colour of the spectrum
Referenced by ewl_spectrum_rgb_get(), and ewl_spectrum_rgb_set().
double Ewl_Spectrum::s |
The current saturation
Referenced by ewl_spectrum_hsv_get(), and ewl_spectrum_hsv_set().
The type of the spectrum
Referenced by ewl_spectrum_init(), ewl_spectrum_type_get(), and ewl_spectrum_type_set().
double Ewl_Spectrum::v |
The current value
Referenced by ewl_spectrum_hsv_get(), and ewl_spectrum_hsv_set().
Vertical portion of the crosshairs
Referenced by ewl_spectrum_init().
The documentation for this struct was generated from the following file:
- lib/ewl_spectrum.h