24 #ifndef FXCOLORWHEEL_H
25 #define FXCOLORWHEEL_H
77 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);
80 virtual void create();
83 virtual void detach();
86 virtual void layout();
89 virtual FXint getDefaultWidth();
92 virtual FXint getDefaultHeight();
110 FXfloat getVal()
const {
return hsv[2]; }
116 void setHelpText(
const FXString& text){ help=text; }
119 const FXString& getHelpText()
const {
return help; }
122 void setTipText(
const FXString& text){ tip=text; }
125 const FXString& getTipText()
const {
return tip; }
128 virtual void save(FXStream& store)
const;
131 virtual void load(FXStream& store);
134 virtual ~FXColorWheel();
The Frame widget provides borders around some contents.
Definition: FXFrame.h:73
unsigned int FXuint
Definition: fxdefs.h:396
FXuint FXSelector
Association key.
Definition: FXObject.h:53
#define FXAPI
Definition: fxdefs.h:122
FXuchar FXbool
Definition: fxdefs.h:393
A ColorWheel is a widget which controls the hue and saturation values of a color. ...
Definition: FXColorWheel.h:42
Base composite.
Definition: FXComposite.h:35
#define NULL
Definition: fxdefs.h:41
Definition: FX4Splitter.h:31
int FXint
Definition: fxdefs.h:397
Regular raised/thick border.
Definition: FXWindow.h:82
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:166
An Image is a rectangular array of pixels.
Definition: FXImage.h:67
float FXfloat
Definition: fxdefs.h:398
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92
FXString provides essential string manipulation capabilities.
Definition: FXString.h:33