117 FXSlider(
FXComposite* p,
FXObject* tgt=
NULL,
FXSelector sel=0,
FXuint opts=
SLIDER_NORMAL,
FXint x=0,
FXint y=0,
FXint w=0,
FXint h=0,
FXint pl=0,
FXint pr=0,
FXint pt=0,
FXint pb=0);
120 virtual FXint getDefaultWidth();
123 virtual FXint getDefaultHeight();
126 virtual bool canFocus()
const;
129 virtual void layout();
132 virtual void enable();
135 virtual void disable();
141 FXint getValue()
const {
return pos; }
147 void getRange(
FXint&
lo,
FXint&
hi)
const { lo=range[0]; hi=range[1]; }
150 FXuint getSliderStyle()
const;
153 void setSliderStyle(
FXuint style);
156 FXint getHeadSize()
const {
return headsize; }
159 void setHeadSize(
FXint hs);
162 FXint getSlotSize()
const {
return slotsize; }
165 void setSlotSize(
FXint bs);
168 FXint getIncrement()
const {
return incr; }
171 void setIncrement(
FXint inc);
174 void setTickDelta(
FXint dist);
177 FXint getTickDelta()
const {
return delta; }
180 void setSlotColor(
FXColor clr);
183 FXColor getSlotColor()
const {
return slotColor; }
186 void setHelpText(
const FXString& text){ help=text; }
189 const FXString& getHelpText()
const {
return help; }
192 void setTipText(
const FXString& text){ tip=text; }
195 const FXString& getTipText()
const {
return tip; }
198 virtual void save(FXStream& store)
const;
201 virtual void load(FXStream& store);
FXVec2d lo(const FXVec2d &a, const FXVec2d &b)
Definition: FXVec2d.h:174
Ticks on the top of horizontal slider.
Definition: FXSlider.h:46
Slider has arrow head pointing right.
Definition: FXSlider.h:44
The Frame widget provides borders around some contents.
Definition: FXFrame.h:73
Definition: FXWindow.h:241
unsigned int FXuint
Definition: fxdefs.h:396
FXuint FXSelector
Association key.
Definition: FXObject.h:53
Slider is inside the slot rather than overhanging.
Definition: FXSlider.h:45
#define FXAPI
Definition: fxdefs.h:122
The slider widget is a valuator widget which provides simple linear value range.
Definition: FXSlider.h:67
FXuchar FXbool
Definition: fxdefs.h:393
Ticks on the right of vertical slider.
Definition: FXSlider.h:49
Base composite.
Definition: FXComposite.h:35
Slider has arrow head pointing up.
Definition: FXSlider.h:41
#define NULL
Definition: fxdefs.h:41
FXuint FXColor
Definition: fxdefs.h:454
Definition: FXSlider.h:50
int FXint
Definition: fxdefs.h:397
Ticks on the left of vertical slider.
Definition: FXSlider.h:48
FXVec2d hi(const FXVec2d &a, const FXVec2d &b)
Definition: FXVec2d.h:175
Ticks on the bottom of horizontal slider.
Definition: FXSlider.h:47
Slider shown vertically.
Definition: FXSlider.h:40
Slider has arrow head pointing left.
Definition: FXSlider.h:43
#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
Window Device Context.
Definition: FXDCWindow.h:52
Slider shown horizontally.
Definition: FXSlider.h:39
Slider has arrow head pointing down.
Definition: FXSlider.h:42
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92
FXString provides essential string manipulation capabilities.
Definition: FXString.h:33