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

FXColorWheel Class Reference

#include <FXColorWheel.h>

Inheritance diagram for FXColorWheel:

FXFrame FXWindow FXDrawable FXId FXObject List of all members.

Public Methods

 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 void create ()
 Create server-side resources.

virtual void detach ()
 Detach server-side resources.

virtual FXint getDefaultWidth ()
 Return default width.

virtual FXint getDefaultHeight ()
 Return default height.

void setHue (FXfloat h)
 Change hue.

FXfloat getHue () const
 Return hue.

void setSat (FXfloat s)
 Change saturation.

FXfloat getSat () const
 Return saturation.

void setVal (FXfloat v)
 Change value.

FXfloat getVal () const
 Return value.

void setHelpText (const FXString &text)
 Set status line help text for this color well.

void setTipText (const FXString &text)
 Set tool tip message for this color well.

virtual void save (FXStream &store) const
 Save color well to a stream.

virtual void load (FXStream &store)
 Load color well from a stream.

virtual ~FXColorWheel ()
 Destructor.


Public Attributes

FXString getHelpText () const
 Get status line help text for this color well.

FXString getTipText () const
 Get tool tip message for this color well.


Detailed Description

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