|
|
| Slider (tinyxml2::XMLElement *xml) |
| |
|
bool | update (int mouseX, int mouseY) |
| | Returns true if value changed.
|
| |
|
void | setValue (const int value) |
| |
|
int | getAbsoluteValue () const |
| |
|
float | getNormalisedValue () const |
| |
|
void | setPosition (sf::Vector2f const &position) |
| |
|
sf::Vector2f const & | getPosition () const |
| |
|
|
void | draw (sf::RenderTarget &target, sf::RenderStates states) const override |
| |
|
|
const int | mMinValue |
| | Min and max values for the slider. Used when getValue() or setValue() is called.
|
| |
|
const int | mMaxValue |
| |
|
float | mValue |
| | From 0.0 to 1.0, how far along the bar the blip is.
|
| |
|
Button | mBlip |
| | Visual indicator of slider progress.
|
| |
|
sf::RectangleShape | mBar |
| | Visual representation of slider bar.
|
| |
The documentation for this class was generated from the following file: