mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
28 lines
646 B
C++
28 lines
646 B
C++
/*
|
|
* 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);
|
|
};
|
|
|
|
|