mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-24 03:47:18 +02:00
Added function CSlider::moveToMin
This commit is contained in:
parent
bddf662178
commit
53c7a3cfcb
@ -744,6 +744,11 @@ void CSlider::keyPressed(const SDL_KeyboardEvent & key)
|
||||
moveTo(moveDest);
|
||||
}
|
||||
|
||||
void CSlider::moveToMin()
|
||||
{
|
||||
moveTo(0);
|
||||
}
|
||||
|
||||
void CSlider::moveToMax()
|
||||
{
|
||||
moveTo(amount);
|
||||
|
@ -230,6 +230,7 @@ public:
|
||||
void moveRight();
|
||||
void moveTo(int value);
|
||||
void moveBy(int amount);
|
||||
void moveToMin();
|
||||
void moveToMax();
|
||||
|
||||
/// Amount modifier
|
||||
|
Loading…
x
Reference in New Issue
Block a user