2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2017-02-10 09:00:57 +00:00
|
|
|
|
|
|
|
#include <utility>
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CGameOptionsTouchBar
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
enum class EAction
|
|
|
|
{
|
|
|
|
None,
|
|
|
|
Back,
|
|
|
|
Advance,
|
|
|
|
ValueChange
|
|
|
|
};
|
|
|
|
|
|
|
|
virtual ~CGameOptionsTouchBar() = default;
|
|
|
|
virtual EAction PopAction();
|
|
|
|
virtual void GetSelection(int& left, int& right, int& value);
|
|
|
|
virtual void SetSelection(int left, int right, int value);
|
|
|
|
};
|
|
|
|
|
|
|
|
std::unique_ptr<CGameOptionsTouchBar> NewGameOptionsTouchBar();
|
|
|
|
|
|
|
|
}
|
|
|
|
|