105 FXKnob(
FXComposite* p,
FXObject* tgt=
NULL,
FXSelector sel=0,
FXuint opts=
KNOB_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);
108 virtual bool canFocus()
const;
111 virtual FXint getDefaultWidth();
114 virtual FXint getDefaultHeight();
117 virtual void layout();
120 virtual void enable();
123 virtual void disable();
129 FXint getValue()
const {
return pos; }
135 void getRange(
FXint&
lo,
FXint&
hi)
const { lo=range[0]; hi=range[1]; }
147 FXuint getKnobStyle()
const;
150 void setKnobStyle(
FXuint style);
153 FXint getIncrement()
const {
return incr; }
156 void setIncrement(
FXint inc){ incr=inc; }
159 void setTickDelta(
FXint dist);
162 FXint getTickDelta()
const {
return delta; }
165 void setLineColor(
FXColor clr);
168 FXColor getLineColor()
const {
return lineColor; }
171 void setHelpText(
const FXString& text){ help=text; }
174 const FXString& getHelpText()
const {
return help; }
177 void setTipText(
const FXString& text){ tip=text; }
180 const FXString& getTipText()
const {
return tip; }
183 virtual void save(FXStream& store)
const;
186 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
Definition: FXWindow.h:241
unsigned int FXuint
Definition: fxdefs.h:389
FXuint FXSelector
Association key.
Definition: FXObject.h:53
#define FXAPI
Definition: fxdefs.h:122
FXuchar FXbool
Definition: fxdefs.h:386
Base composite.
Definition: FXComposite.h:35
#define NULL
Definition: fxdefs.h:41
FXuint FXColor
Definition: fxdefs.h:447
Show ticks around the knob.
Definition: FXKnob.h:41
double FXdouble
Definition: fxdefs.h:392
Use a needle as indicator.
Definition: FXKnob.h:39
Definition: FX4Splitter.h:31
int FXint
Definition: fxdefs.h:390
FXVec2d hi(const FXVec2d &a, const FXVec2d &b)
Definition: FXVec2d.h:175
#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
Normal knob looks.
Definition: FXKnob.h:43
The knob widget is a valuator widget which provides simple linear value range.
Definition: FXKnob.h:58
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92
Use a dot as indicator.
Definition: FXKnob.h:40
Show only the indicator (like a speedometer)
Definition: FXKnob.h:42
FXString provides essential string manipulation capabilities.
Definition: FXString.h:33