#include <Nux/ColorPreview.h>
Public Member Functions |
| ColorPreview (float red=0.0f, float green=0.0f, float blue=0.0f, eColorModel colormodel=CM_RGB, NUX_FILE_LINE_PROTO) |
| ~ColorPreview () |
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 | SetRGB (double r, double g, double b) |
void | SetRGBA (double r, double g, double b, double a) |
void | SetColor (Color rgb) |
Color | GetRGBColor () const |
Data Fields |
sigc::signal< void, ColorEditor * > | sigColorChanged |
Constructor & Destructor Documentation
nux::ColorPreview::ColorPreview |
( |
float |
red = 0.0f , |
|
|
float |
green = 0.0f , |
|
|
float |
blue = 0.0f , |
|
|
eColorModel |
colormodel = CM_RGB , |
|
|
NUX_FILE_LINE_PROTO |
|
|
) |
| |
nux::ColorPreview::~ColorPreview |
( |
| ) |
|
Member Function Documentation
virtual void nux::ColorPreview::Draw |
( |
GraphicsEngine & |
GfxContext, |
|
|
bool |
force_draw |
|
) |
| [virtual] |
virtual void nux::ColorPreview::DrawContent |
( |
GraphicsEngine & |
GfxContext, |
|
|
bool |
force_draw |
|
) |
| [virtual] |
Color nux::ColorPreview::GetRGBColor |
( |
| ) |
const |
virtual void nux::ColorPreview::PostDraw |
( |
GraphicsEngine & |
GfxContext, |
|
|
bool |
force_draw |
|
) |
| [virtual] |
virtual long nux::ColorPreview::ProcessEvent |
( |
IEvent & |
ievent, |
|
|
long |
TraverseInfo, |
|
|
long |
ProcessEventInfo |
|
) |
| [virtual] |
void nux::ColorPreview::SetBlue |
( |
double |
b | ) |
|
void nux::ColorPreview::SetColor |
( |
Color |
rgb | ) |
|
void nux::ColorPreview::SetGreen |
( |
double |
g | ) |
|
void nux::ColorPreview::SetRed |
( |
double |
r | ) |
|
void nux::ColorPreview::SetRGB |
( |
double |
r, |
|
|
double |
g, |
|
|
double |
b |
|
) |
| |
void nux::ColorPreview::SetRGBA |
( |
double |
r, |
|
|
double |
g, |
|
|
double |
b, |
|
|
double |
a |
|
) |
| |
Field Documentation
The documentation for this class was generated from the following file: