nux-0.9.46

nux::RGBPropertyItem Class Reference

#include <Nux/PropertyItem/RGBProperty.h>

Inheritance diagram for nux::RGBPropertyItem:
nux::SectionProperty nux::TableItem nux::NodeNetCom nux::NodeItem

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]

Reimplemented from nux::SectionProperty.

virtual void nux::RGBPropertyItem::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]

Reimplemented from nux::SectionProperty.

double nux::RGBPropertyItem::GetBlue ( ) const [inline]
double nux::RGBPropertyItem::GetGreen ( ) const [inline]
virtual int nux::RGBPropertyItem::GetItemBestHeight ( ) [virtual]

Reimplemented from nux::SectionProperty.

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]

Reimplemented from nux::TableItem.

void nux::RGBPropertyItem::SetBlue ( double  blue) [inline]
void nux::RGBPropertyItem::SetColor ( double  red,
double  green,
double  blue 
) [inline]
void nux::RGBPropertyItem::SetColorFormat ( Color::Format  cf)
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: