mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +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);
|
moveTo(moveDest);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CSlider::moveToMin()
|
||||||
|
{
|
||||||
|
moveTo(0);
|
||||||
|
}
|
||||||
|
|
||||||
void CSlider::moveToMax()
|
void CSlider::moveToMax()
|
||||||
{
|
{
|
||||||
moveTo(amount);
|
moveTo(amount);
|
||||||
|
@ -230,6 +230,7 @@ public:
|
|||||||
void moveRight();
|
void moveRight();
|
||||||
void moveTo(int value);
|
void moveTo(int value);
|
||||||
void moveBy(int amount);
|
void moveBy(int amount);
|
||||||
|
void moveToMin();
|
||||||
void moveToMax();
|
void moveToMax();
|
||||||
|
|
||||||
/// Amount modifier
|
/// Amount modifier
|
||||||
|
Loading…
x
Reference in New Issue
Block a user