#include <Nux/PropertyItem/RGBAProperty.h>
Public Member Functions |
| RGBAPropertyItem (const TCHAR *name, float red=0.0f, float green=0.0f, float blue=0.0f, float alpha=1.0f) |
virtual | ~RGBAPropertyItem () |
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) |
void | SetAlpha (double alpha) |
double | GetRed () const |
double | GetGreen () const |
double | GetBlue () const |
double | GetAlpha () const |
void | SetColor (double red, double green, double blue, double alpha) |
void | OnChangeColorModel () |
void | OnChangeColorFormat () |
void | SetColorModel (eColorModel cm) |
void | SetColorFormat (Color::Format cf) |
Constructor & Destructor Documentation
nux::RGBAPropertyItem::RGBAPropertyItem |
( |
const TCHAR * |
name, |
|
|
float |
red = 0.0f , |
|
|
float |
green = 0.0f , |
|
|
float |
blue = 0.0f , |
|
|
float |
alpha = 1.0f |
|
) |
| |
virtual nux::RGBAPropertyItem::~RGBAPropertyItem |
( |
| ) |
[virtual] |
Member Function Documentation
virtual void nux::RGBAPropertyItem::ComputePropertyLayout |
( |
int |
x, |
|
|
int |
y, |
|
|
RowHeader * |
row, |
|
|
const std::vector< ColumnHeader > & |
column_vector |
|
) |
| [virtual] |
double nux::RGBAPropertyItem::GetAlpha |
( |
| ) |
const [inline] |
double nux::RGBAPropertyItem::GetBlue |
( |
| ) |
const [inline] |
double nux::RGBAPropertyItem::GetGreen |
( |
| ) |
const [inline] |
virtual int nux::RGBAPropertyItem::GetItemBestHeight |
( |
| ) |
[virtual] |
double nux::RGBAPropertyItem::GetRed |
( |
| ) |
const [inline] |
void nux::RGBAPropertyItem::OnChangeColorFormat |
( |
| ) |
|
void nux::RGBAPropertyItem::OnChangeColorModel |
( |
| ) |
|
virtual long nux::RGBAPropertyItem::ProcessPropertyEvent |
( |
IEvent & |
ievent, |
|
|
long |
TraverseInfo, |
|
|
long |
ProcessEventInfo |
|
) |
| [virtual] |
void nux::RGBAPropertyItem::SetAlpha |
( |
double |
alpha | ) |
[inline] |
void nux::RGBAPropertyItem::SetBlue |
( |
double |
blue | ) |
[inline] |
void nux::RGBAPropertyItem::SetColor |
( |
double |
red, |
|
|
double |
green, |
|
|
double |
blue, |
|
|
double |
alpha |
|
) |
| [inline] |
void nux::RGBAPropertyItem::SetColorModel |
( |
eColorModel |
cm | ) |
|
void nux::RGBAPropertyItem::SetGreen |
( |
double |
green | ) |
[inline] |
void nux::RGBAPropertyItem::SetRed |
( |
double |
red | ) |
[inline] |
The documentation for this class was generated from the following file: