2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2017-02-10 09:00:57 +00:00
|
|
|
|
|
|
|
#include <memory>
|
2019-09-22 21:52:05 +00:00
|
|
|
#include <utility>
|
2017-02-10 09:00:57 +00:00
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
namespace metaforce {
|
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();
|
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
} // namespace metaforce
|