#include <Nux/PropertyItem/RGBProperty.h>
Public Member Functions |
| RGBPropertyItem (const TCHAR *name, float red=0.0f, float green=0.0f, float blue=0.0f) |
virtual | ~RGBPropertyItem () |
virtual long | ProcessPropertyEvent (IEvent &ievent, long TraverseInfo, long ProcessEventInfo) |
virtual void | DrawProperty (GraphicsEngine &GfxContext, TableCtrl *table, bool force_draw, Geometry geo, const BasePainter &Painter, RowHeader *row, const std::vector< ColumnHeader > &column_vector, Color ItemBackgroundColor=Color(0x0)) |
virtual void | ComputePropertyLayout (int x, int y, RowHeader *row, const std::vector< ColumnHeader > &column_vector) |
virtual int | GetItemBestHeight () |
void | SetRed (double red) |
void | SetGreen (double green) |
void | SetBlue (double blue) |
double | GetRed () const |
double | GetGreen () const |
double | GetBlue () const |
void | SetColor (double red, double green, double blue) |
void | OnChangeColorModel () |
void | OnChangeColorFormat () |
void | SetColorModel (eColorModel cm) |
void | SetColorFormat (Color::Format cf) |
Constructor & Destructor Documentation
nux::RGBPropertyItem::RGBPropertyItem |
( |
const TCHAR * |
name, |
|
|
float |
red = 0.0f , |
|
|
float |
green = 0.0f , |
|
|
float |
blue = 0.0f |
|
) |
| |
virtual nux::RGBPropertyItem::~RGBPropertyItem |
( |
| ) |
[virtual] |
Member Function Documentation
virtual void nux::RGBPropertyItem::ComputePropertyLayout |
( |
int |
x, |
|
|
int |
y, |
|
|
RowHeader * |
row, |
|
|
const std::vector< ColumnHeader > & |
column_vector |
|
) |
| [virtual] |
double nux::RGBPropertyItem::GetBlue |
( |
| ) |
const [inline] |
double nux::RGBPropertyItem::GetGreen |
( |
| ) |
const [inline] |
virtual int nux::RGBPropertyItem::GetItemBestHeight |
( |
| ) |
[virtual] |
double nux::RGBPropertyItem::GetRed |
( |
| ) |
const [inline] |
void nux::RGBPropertyItem::OnChangeColorFormat |
( |
| ) |
|
void nux::RGBPropertyItem::OnChangeColorModel |
( |
| ) |
|
virtual long nux::RGBPropertyItem::ProcessPropertyEvent |
( |
IEvent & |
ievent, |
|
|
long |
TraverseInfo, |
|
|
long |
ProcessEventInfo |
|
) |
| [virtual] |
void nux::RGBPropertyItem::SetBlue |
( |
double |
blue | ) |
[inline] |
void nux::RGBPropertyItem::SetColor |
( |
double |
red, |
|
|
double |
green, |
|
|
double |
blue |
|
) |
| [inline] |
void nux::RGBPropertyItem::SetColorModel |
( |
eColorModel |
cm | ) |
|
void nux::RGBPropertyItem::SetGreen |
( |
double |
green | ) |
[inline] |
void nux::RGBPropertyItem::SetRed |
( |
double |
red | ) |
[inline] |
The documentation for this class was generated from the following file: