Ewl_Spectrum Struct Reference
[Ewl_Spectrum: The colour spectrum widget]
#include <ewl_spectrum.h>
Collaboration diagram for Ewl_Spectrum:
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 |
The canvas to draw on
Inherit from Ewl_Container
struct { ... } Ewl_Spectrum::cross_hairs |
Selection crosshairs
unsigned int Ewl_Spectrum::dirty |
The flag to queue redraw
unsigned int Ewl_Spectrum::g |
double Ewl_Spectrum::h |
The current hue
Horizontal portion of the crosshairs
struct { ... } Ewl_Spectrum::hsv |
The HSV setting of the specturm
The mode of the spectrum
unsigned int Ewl_Spectrum::r |
struct { ... } Ewl_Spectrum::rgb |
Current RBG colour of the spectrum
double Ewl_Spectrum::s |
The current saturation
The type of the spectrum
double Ewl_Spectrum::v |
The current value
Vertical portion of the crosshairs
The documentation for this struct was generated from the following file:
- lib/ewl_spectrum.h