1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Team alignments implemented

This commit is contained in:
nordsoft
2022-12-17 08:19:16 +04:00
parent 4f5fab702e
commit b1f2c7aed4
10 changed files with 161 additions and 14 deletions

View File

@@ -449,6 +449,11 @@ void CToggleGroup::selectionChanged(int to)
parent->redraw();
}
int CToggleGroup::getSelected() const
{
return selectedID;
}
CVolumeSlider::CVolumeSlider(const Point & position, const std::string & defName, const int value, const std::pair<std::string, std::string> * const help)
: CIntObject(LCLICK | RCLICK | WHEEL),
value(value),