#include <Nux/ColorEditor.h>
Public Member Functions |
| | ColorEditor (NUX_FILE_LINE_PROTO) |
| | ~ColorEditor () |
| virtual long | ProcessEvent (IEvent &ievent, long TraverseInfo, long ProcessEventInfo) |
| virtual void | Draw (GraphicsEngine &GfxContext, bool force_draw) |
| virtual void | DrawContent (GraphicsEngine &GfxContext, bool force_draw) |
| virtual void | PostDraw (GraphicsEngine &GfxContext, bool force_draw) |
| void | SetRed (double r) |
| void | SetGreen (double g) |
| void | SetBlue (double b) |
| void | SetHue (double h) |
| void | SetSaturation (double s) |
| void | SetValue (double v) |
| void | SetRGB (double r, double g, double b) |
| void | SetHSV (double h, double s, double v) |
| void | SetRGB (Color rgb) |
| void | SetHSV (Color hsv) |
| Color | GetRGBColor () const |
| Color | GetHSVColor () const |
| void | SetColorModel (eColorModel, eColorChannel) |
| eColorModel | GetColorModel () const |
| eColorChannel | GetColorChannel () const |
| void | RecvMouseDown (int x, int y, unsigned long button_flags, unsigned long key_flags) |
| void | RecvMouseUp (int x, int y, unsigned long button_flags, unsigned long key_flags) |
| void | RecvMouseDrag (int x, int y, int dx, int dy, unsigned long button_flags, unsigned long key_flags) |
| void | RecvPickerMouseDown (int x, int y, unsigned long button_flags, unsigned long key_flags) |
| void | RecvPickerMouseUp (int x, int y, unsigned long button_flags, unsigned long key_flags) |
| void | RecvPickerMouseDrag (int x, int y, int dx, int dy, unsigned long button_flags, unsigned long key_flags) |
| void | RecvCheckColorModel (bool, eColorModel, eColorChannel) |
Data Fields |
| sigc::signal< void, ColorEditor * > | sigChange |
Constructor & Destructor Documentation
| nux::ColorEditor::ColorEditor |
( |
NUX_FILE_LINE_PROTO |
| ) |
|
| nux::ColorEditor::~ColorEditor |
( |
| ) |
|
Member Function Documentation
| virtual void nux::ColorEditor::Draw |
( |
GraphicsEngine & |
GfxContext, |
|
|
bool |
force_draw |
|
) |
| [virtual] |
| virtual void nux::ColorEditor::DrawContent |
( |
GraphicsEngine & |
GfxContext, |
|
|
bool |
force_draw |
|
) |
| [virtual] |
| Color nux::ColorEditor::GetHSVColor |
( |
| ) |
const |
| Color nux::ColorEditor::GetRGBColor |
( |
| ) |
const |
| virtual void nux::ColorEditor::PostDraw |
( |
GraphicsEngine & |
GfxContext, |
|
|
bool |
force_draw |
|
) |
| [virtual] |
| virtual long nux::ColorEditor::ProcessEvent |
( |
IEvent & |
ievent, |
|
|
long |
TraverseInfo, |
|
|
long |
ProcessEventInfo |
|
) |
| [virtual] |
| void nux::ColorEditor::RecvMouseDown |
( |
int |
x, |
|
|
int |
y, |
|
|
unsigned long |
button_flags, |
|
|
unsigned long |
key_flags |
|
) |
| |
| void nux::ColorEditor::RecvMouseDrag |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
dx, |
|
|
int |
dy, |
|
|
unsigned long |
button_flags, |
|
|
unsigned long |
key_flags |
|
) |
| |
| void nux::ColorEditor::RecvMouseUp |
( |
int |
x, |
|
|
int |
y, |
|
|
unsigned long |
button_flags, |
|
|
unsigned long |
key_flags |
|
) |
| |
| void nux::ColorEditor::RecvPickerMouseDown |
( |
int |
x, |
|
|
int |
y, |
|
|
unsigned long |
button_flags, |
|
|
unsigned long |
key_flags |
|
) |
| |
| void nux::ColorEditor::RecvPickerMouseDrag |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
dx, |
|
|
int |
dy, |
|
|
unsigned long |
button_flags, |
|
|
unsigned long |
key_flags |
|
) |
| |
| void nux::ColorEditor::RecvPickerMouseUp |
( |
int |
x, |
|
|
int |
y, |
|
|
unsigned long |
button_flags, |
|
|
unsigned long |
key_flags |
|
) |
| |
| void nux::ColorEditor::SetBlue |
( |
double |
b | ) |
|
| void nux::ColorEditor::SetGreen |
( |
double |
g | ) |
|
| void nux::ColorEditor::SetHSV |
( |
double |
h, |
|
|
double |
s, |
|
|
double |
v |
|
) |
| |
| void nux::ColorEditor::SetHSV |
( |
Color |
hsv | ) |
|
| void nux::ColorEditor::SetHue |
( |
double |
h | ) |
|
| void nux::ColorEditor::SetRed |
( |
double |
r | ) |
|
| void nux::ColorEditor::SetRGB |
( |
Color |
rgb | ) |
|
| void nux::ColorEditor::SetRGB |
( |
double |
r, |
|
|
double |
g, |
|
|
double |
b |
|
) |
| |
| void nux::ColorEditor::SetSaturation |
( |
double |
s | ) |
|
| void nux::ColorEditor::SetValue |
( |
double |
v | ) |
|
Field Documentation
The documentation for this class was generated from the following file: