Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXColorWheel Class Reference

A color wheel is a widget which controls a color by means of the hue, saturation, value color specification system. More...

#include <FXColorWheel.h>

Inheritance diagram for FX::FXColorWheel:

FX::FXFrame FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject List of all members.

Public Member Functions

 FXColorWheel (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=FRAME_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD)
virtual void create ()
virtual void detach ()
virtual void layout ()
virtual FXint getDefaultWidth ()
virtual FXint getDefaultHeight ()
void setHue (FXfloat h)
FXfloat getHue () const
void setSat (FXfloat s)
FXfloat getSat () const
void setVal (FXfloat v)
FXfloat getVal () const
void setHelpText (const FXString &text)
FXString getHelpText () const
void setTipText (const FXString &text)
FXString getTipText () const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXColorWheel ()

Detailed Description

A color wheel is a widget which controls a color by means of the hue, saturation, value color specification system.


Constructor & Destructor Documentation

FX::FXColorWheel::FXColorWheel FXComposite p,
FXObject tgt = NULL,
FXSelector  sel = 0,
FXuint  opts = FRAME_NORMAL,
FXint  x = 0,
FXint  y = 0,
FXint  w = 0,
FXint  h = 0,
FXint  pl = DEFAULT_PAD,
FXint  pr = DEFAULT_PAD,
FXint  pt = DEFAULT_PAD,
FXint  pb = DEFAULT_PAD
 

Construct color well with initial color clr.

virtual FX::FXColorWheel::~FXColorWheel  )  [virtual]
 

Destructor.


Member Function Documentation

virtual void FX::FXColorWheel::create  )  [virtual]
 

Create server-side resources.

Reimplemented from FX::FXWindow.

virtual void FX::FXColorWheel::detach  )  [virtual]
 

Detach server-side resources.

Reimplemented from FX::FXWindow.

virtual void FX::FXColorWheel::layout  )  [virtual]
 

Perform layout.

Reimplemented from FX::FXWindow.

virtual FXint FX::FXColorWheel::getDefaultWidth  )  [virtual]
 

Return default width.

Reimplemented from FX::FXFrame.

virtual FXint FX::FXColorWheel::getDefaultHeight  )  [virtual]
 

Return default height.

Reimplemented from FX::FXFrame.

void FX::FXColorWheel::setHue FXfloat  h  ) 
 

Change hue.

FXfloat FX::FXColorWheel::getHue  )  const [inline]
 

Return hue.

void FX::FXColorWheel::setSat FXfloat  s  ) 
 

Change saturation.

FXfloat FX::FXColorWheel::getSat  )  const [inline]
 

Return saturation.

void FX::FXColorWheel::setVal FXfloat  v  ) 
 

Change value.

FXfloat FX::FXColorWheel::getVal  )  const [inline]
 

Return value.

void FX::FXColorWheel::setHelpText const FXString text  ) 
 

Set status line help text for this color well.

FXString FX::FXColorWheel::getHelpText  )  const [inline]
 

Get status line help text for this color well.

void FX::FXColorWheel::setTipText const FXString text  ) 
 

Set tool tip message for this color well.

FXString FX::FXColorWheel::getTipText  )  const [inline]
 

Get tool tip message for this color well.

virtual void FX::FXColorWheel::save FXStream store  )  const [virtual]
 

Save color well to a stream.

Reimplemented from FX::FXFrame.

virtual void FX::FXColorWheel::load FXStream store  )  [virtual]
 

Load color well from a stream.

Reimplemented from FX::FXFrame.

Copyright © 1997-2004 Jeroen van der Zijp