nux-0.9.48

nux::RGBAPropertyItem Class Reference

#include <Nux/PropertyItem/RGBAProperty.h>

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

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]

Reimplemented from nux::SectionProperty.

virtual void nux::RGBAPropertyItem::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::RGBAPropertyItem::GetAlpha ( ) const [inline]
double nux::RGBAPropertyItem::GetBlue ( ) const [inline]
double nux::RGBAPropertyItem::GetGreen ( ) const [inline]
virtual int nux::RGBAPropertyItem::GetItemBestHeight ( ) [virtual]

Reimplemented from nux::SectionProperty.

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]

Reimplemented from nux::TableItem.

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::SetColorFormat ( Color::Format  cf)
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: