102 FXColorRing(
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);
105 virtual void create();
108 virtual void detach();
111 virtual void layout();
114 virtual FXint getDefaultWidth();
117 virtual FXint getDefaultHeight();
123 FXfloat getHue()
const {
return hsv[0]; }
129 FXfloat getSat()
const {
return hsv[1]; }
135 FXfloat getVal()
const {
return hsv[2]; }
141 void setRingWidth(
FXint rw);
144 FXint getRingWidth()
const {
return ringwidth; }
147 void setHelpText(
const FXString& text){ help=text; }
150 const FXString& getHelpText()
const {
return help; }
153 void setTipText(
const FXString& text){ tip=text; }
156 const FXString& getTipText()
const {
return tip; }
159 virtual void save(FXStream& store)
const;
162 virtual void load(FXStream& store);
165 virtual ~FXColorRing();
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
Base composite.
Definition: FXComposite.h:35
#define NULL
Definition: fxdefs.h:41
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
unsigned char FXuchar
Definition: fxdefs.h:392
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
A Color Ring widget provides an intuitive way to specify a color.
Definition: FXColorRing.h:45
FXString provides essential string manipulation capabilities.
Definition: FXString.h:33