| 123456789101112131415161718192021222324252627 |
- /*
- * BattleOptionsWindow.h, part of VCMI engine
- *
- * Authors: listed in file AUTHORS in main folder
- *
- * License: GNU General Public License v2.0 or later
- * Full text of license available in license.txt file, in main folder
- *
- */
- #pragma once
- #include "gui/InterfaceObjectConfigurable.h"
- #include "battle/BattleInterface.h"
- class BattleOptionsWindow : public InterfaceObjectConfigurable
- {
- private:
- std::shared_ptr<CToggleGroup> animSpeeds;
- std::vector<std::shared_ptr<CLabel>> labels;
- std::vector<std::shared_ptr<CToggleButton>> toggles;
- int getAnimSpeed() const;
- public:
- BattleOptionsWindow(BattleInterface * owner = nullptr);
- };
|