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