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

FX::FXColorWheel Class Reference

A Color Wheel is a widget which controls the hue and saturation values of a color. 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)
const FXStringgetHelpText () const
void setTipText (const FXString &text)
const FXStringgetTipText () const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXColorWheel ()

Detailed Description

A Color Wheel is a widget which controls the hue and saturation values of a color.

It is most often used together with a Color Bar which controls the brighness.


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.

const 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.

const 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-2005 Jeroen van der Zijp