nux-0.9.48

nux::ColorEditor Class Reference

#include <Nux/ColorEditor.h>

Inheritance diagram for nux::ColorEditor:
nux::View nux::InputArea nux::Area nux::InitiallyUnownedObject nux::Focusable nux::Object nux::Trackable

Public Member Functions

 ColorEditor (NUX_FILE_LINE_PROTO)
 ~ColorEditor ()
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 SetHue (double h)
void SetSaturation (double s)
void SetValue (double v)
void SetRGB (double r, double g, double b)
void SetHSV (double h, double s, double v)
void SetRGB (Color rgb)
void SetHSV (Color hsv)
Color GetRGBColor () const
Color GetHSVColor () const
void SetColorModel (eColorModel, eColorChannel)
eColorModel GetColorModel () const
eColorChannel GetColorChannel () const
void RecvMouseDown (int x, int y, unsigned long button_flags, unsigned long key_flags)
void RecvMouseUp (int x, int y, unsigned long button_flags, unsigned long key_flags)
void RecvMouseDrag (int x, int y, int dx, int dy, unsigned long button_flags, unsigned long key_flags)
void RecvPickerMouseDown (int x, int y, unsigned long button_flags, unsigned long key_flags)
void RecvPickerMouseUp (int x, int y, unsigned long button_flags, unsigned long key_flags)
void RecvPickerMouseDrag (int x, int y, int dx, int dy, unsigned long button_flags, unsigned long key_flags)
void RecvCheckColorModel (bool, eColorModel, eColorChannel)

Data Fields

sigc::signal< void, ColorEditor * > sigChange

Constructor & Destructor Documentation

nux::ColorEditor::ColorEditor ( NUX_FILE_LINE_PROTO  )
nux::ColorEditor::~ColorEditor ( )

Member Function Documentation

virtual void nux::ColorEditor::Draw ( GraphicsEngine GfxContext,
bool  force_draw 
) [virtual]

Implements nux::View.

virtual void nux::ColorEditor::DrawContent ( GraphicsEngine GfxContext,
bool  force_draw 
) [virtual]

Reimplemented from nux::View.

eColorChannel nux::ColorEditor::GetColorChannel ( ) const
eColorModel nux::ColorEditor::GetColorModel ( ) const
Color nux::ColorEditor::GetHSVColor ( ) const
Color nux::ColorEditor::GetRGBColor ( ) const
virtual void nux::ColorEditor::PostDraw ( GraphicsEngine GfxContext,
bool  force_draw 
) [virtual]

Reimplemented from nux::View.

virtual long nux::ColorEditor::ProcessEvent ( IEvent ievent,
long  TraverseInfo,
long  ProcessEventInfo 
) [virtual]

Implements nux::View.

void nux::ColorEditor::RecvCheckColorModel ( bool  ,
eColorModel  ,
eColorChannel   
)
void nux::ColorEditor::RecvMouseDown ( int  x,
int  y,
unsigned long  button_flags,
unsigned long  key_flags 
)
void nux::ColorEditor::RecvMouseDrag ( int  x,
int  y,
int  dx,
int  dy,
unsigned long  button_flags,
unsigned long  key_flags 
)
void nux::ColorEditor::RecvMouseUp ( int  x,
int  y,
unsigned long  button_flags,
unsigned long  key_flags 
)
void nux::ColorEditor::RecvPickerMouseDown ( int  x,
int  y,
unsigned long  button_flags,
unsigned long  key_flags 
)
void nux::ColorEditor::RecvPickerMouseDrag ( int  x,
int  y,
int  dx,
int  dy,
unsigned long  button_flags,
unsigned long  key_flags 
)
void nux::ColorEditor::RecvPickerMouseUp ( int  x,
int  y,
unsigned long  button_flags,
unsigned long  key_flags 
)
void nux::ColorEditor::SetBlue ( double  b)
void nux::ColorEditor::SetColorModel ( eColorModel  ,
eColorChannel   
)
void nux::ColorEditor::SetGreen ( double  g)
void nux::ColorEditor::SetHSV ( double  h,
double  s,
double  v 
)
void nux::ColorEditor::SetHSV ( Color  hsv)
void nux::ColorEditor::SetHue ( double  h)
void nux::ColorEditor::SetRed ( double  r)
void nux::ColorEditor::SetRGB ( Color  rgb)
void nux::ColorEditor::SetRGB ( double  r,
double  g,
double  b 
)
void nux::ColorEditor::SetSaturation ( double  s)
void nux::ColorEditor::SetValue ( double  v)

Field Documentation

sigc::signal< void, ColorEditor * > nux::ColorEditor::sigChange

The documentation for this class was generated from the following file: