24 #ifndef FXREALSLIDER_H
25 #define FXREALSLIDER_H
117 FXRealSlider(
FXComposite* p,
FXObject* tgt=
NULL,
FXSelector sel=0,
FXuint opts=
REALSLIDER_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 FXdouble getValue()
const {
return pos; }
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 FXdouble getIncrement()
const {
return incr; }
177 FXdouble 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);
204 virtual ~FXRealSlider();
FXVec2d lo(const FXVec2d &a, const FXVec2d &b)
Definition: FXVec2d.h:174
Slider has arrow head pointing down.
Definition: FXRealSlider.h:42
The real slider widget is a valuator widget which provides simple linear value range.
Definition: FXRealSlider.h:67
Slider has arrow head pointing left.
Definition: FXRealSlider.h:43
Slider shown vertically.
Definition: FXRealSlider.h:40
The Frame widget provides borders around some contents.
Definition: FXFrame.h:73
Definition: FXWindow.h:241
unsigned int FXuint
Definition: fxdefs.h:396
Ticks on the bottom of horizontal slider.
Definition: FXRealSlider.h:47
FXuint FXSelector
Association key.
Definition: FXObject.h:53
Ticks on the left of vertical slider.
Definition: FXRealSlider.h:48
#define FXAPI
Definition: fxdefs.h:122
FXuchar FXbool
Definition: fxdefs.h:393
Slider shown horizontally.
Definition: FXRealSlider.h:39
Base composite.
Definition: FXComposite.h:35
#define NULL
Definition: fxdefs.h:41
FXuint FXColor
Definition: fxdefs.h:454
Slider has arrow head pointing right.
Definition: FXRealSlider.h:44
double FXdouble
Definition: fxdefs.h:399
Definition: FX4Splitter.h:31
int FXint
Definition: fxdefs.h:397
FXVec2d hi(const FXVec2d &a, const FXVec2d &b)
Definition: FXVec2d.h:175
Slider is inside the slot rather than overhanging.
Definition: FXRealSlider.h:45
#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 has arrow head pointing up.
Definition: FXRealSlider.h:41
Definition: FXRealSlider.h:50
Ticks on the top of horizontal slider.
Definition: FXRealSlider.h:46
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92
FXString provides essential string manipulation capabilities.
Definition: FXString.h:33
Ticks on the right of vertical slider.
Definition: FXRealSlider.h:49