|
Public Member Functions |
| GSlider (GContainer *parent=NULL) |
| Simple constructor for GSlider.
|
virtual void | Create (float x, float y, float width, float height, ResourceID backgroundImg, ResourceID sliderImg, float min, float max, int increment) |
| GSlider's create function, must be called to set up actual slider.
|
void | SetPos (float pos) |
| Set position of slider.
|
float | GetPos () |
| Get position of slider.
|
Protected Attributes |
bool | rPressed |
| Boolean value holding if slider is currently 'pressed' or active.
|
ResourceID | rBackground |
| ID for background image for slider.
|
ResourceID | rSlider |
| Image ID for the sliding part of the slider.
|
float | rMin |
| Minimum position for slider.
|
float | rMax |
| Maximum position for slider.
|
float | rPos |
| Current position of slider.
|
int | rIncrement |
| Movement snap increment.
|