![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXSlider.h>
Inheritance diagram for FXSlider:
Public Types | |
enum | { ID_AUTOINC = FXFrame::ID_LAST, ID_AUTODEC, ID_LAST } |
Public Methods | |
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) | |
Construct a slider widget. | |
virtual FXint | getDefaultWidth () |
Return default width. | |
virtual FXint | getDefaultHeight () |
Return default height. | |
virtual void | enable () |
Enable the slider. | |
virtual void | disable () |
Disable the slider. | |
void | setValue (FXint value) |
Change slider value. | |
FXint | getValue () const |
Return slider value. | |
void | setRange (FXint lo, FXint hi) |
Change the slider's range. | |
void | getRange (FXint &lo, FXint &hi) const |
Get the slider's current range. | |
FXuint | getSliderStyle () const |
Change the slider style. | |
void | setSliderStyle (FXuint style) |
Get the current slider style. | |
FXint | getHeadSize () const |
Get the slider's head size. | |
void | setHeadSize (FXint hs) |
Change the slider's head size. | |
FXint | getSlotSize () const |
Get the slider's current slot size. | |
void | setSlotSize (FXint bs) |
Change the slider's slot size. | |
FXint | getIncrement () const |
Get the slider's auto-increment/decrement value. | |
void | setIncrement (FXint inc) |
Change the slider's auto-increment/decrement value. | |
void | setTickDelta (FXint dist) |
Change the delta between ticks. | |
FXint | getTickDelta () const |
Get delta between ticks. | |
void | setSlotColor (FXColor clr) |
Change the color of the slot the slider head moves in. | |
FXColor | getSlotColor () const |
Get the current slot color. | |
void | setHelpText (const FXString &text) |
Set the help text to be displayed on the status line. | |
void | setTipText (const FXString &text) |
Set the tip text to be displayed in the tooltip. | |
virtual void | save (FXStream &store) const |
Save to stream. | |
virtual void | load (FXStream &store) |
Load from stream. | |
virtual | ~FXSlider () |
Destroy the slider. | |
Public Attributes | |
FXString | getHelpText () const |
Get the current help text. | |
FXString | getTipText () const |
Get the current tooltip text value. |