100 FXDial(
FXComposite *p,
FXObject* tgt=
NULL,
FXSelector sel=0,
FXuint opts=
DIAL_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);
103 virtual FXint getDefaultWidth();
106 virtual FXint getDefaultHeight();
109 virtual bool canFocus()
const;
115 FXint getValue()
const {
return pos; }
121 void getRange(
FXint&
lo,
FXint&
hi)
const { lo=range[0]; hi=range[1]; }
130 void setRevolutionIncrement(
FXint i);
133 FXint getRevolutionIncrement()
const {
return incr; }
140 void setNotchSpacing(
FXint spacing);
143 FXint getNotchSpacing()
const {
return notchspacing; }
150 void setNotchOffset(
FXint offset);
153 FXint getNotchOffset()
const {
return notchoffset; }
156 void setDialStyle(
FXuint opts);
159 FXuint getDialStyle()
const;
162 void setNotchColor(
FXColor clr);
165 FXColor getNotchColor()
const {
return notchColor; }
168 void setHelpText(
const FXString& text);
171 const FXString& getHelpText()
const {
return help; }
174 void setTipText(
const FXString& text);
177 const FXString& getTipText()
const {
return tip; }
180 virtual void save(FXStream& store)
const;
183 virtual void load(FXStream& store);
FXVec2d lo(const FXVec2d &a, const FXVec2d &b)
Definition: FXVec2d.h:174
The Frame widget provides borders around some contents.
Definition: FXFrame.h:73
unsigned int FXuint
Definition: fxdefs.h:396
Value wraps around.
Definition: FXDial.h:41
FXuint FXSelector
Association key.
Definition: FXObject.h:53
#define FXAPI
Definition: fxdefs.h:122
FXuchar FXbool
Definition: fxdefs.h:393
The Dial widget is a valuator widget which is able to provide a cyclic value range when the DIAL_CYCL...
Definition: FXDial.h:61
Base composite.
Definition: FXComposite.h:35
#define NULL
Definition: fxdefs.h:41
FXuint FXColor
Definition: fxdefs.h:454
Dial has a Center Notch.
Definition: FXDial.h:42
int FXint
Definition: fxdefs.h:397
FXVec2d hi(const FXVec2d &a, const FXVec2d &b)
Definition: FXVec2d.h:175
Vertically oriented.
Definition: FXDial.h:39
#define FALSE
Definition: fxdefs.h:35
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:166
Horizontal oriented.
Definition: FXDial.h:40
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92
FXString provides essential string manipulation capabilities.
Definition: FXString.h:33