132 display::Screen2D previousView)
noexcept;
138 bool lightingOn,
bool board3DOn,
Rect optionToggleRect(OptionToggle toggle, bool onSide) noexcept
bool selectMusicTune(State &state, std::uint8_t tuneIndex) noexcept
constexpr std::uint8_t MusicTuneCount
bool beginFromIBar(State &state, display::Screen2D previousView) noexcept
bool optionToggleSupported(OptionToggle toggle) noexcept
void reset(State &state) noexcept
InputResult processInput(State &state, display::Screen2D desiredView, const uimsg::Message &message) noexcept
Rect menuButtonRect(MenuButton button) noexcept
std::size_t quickHelpPageLineCount(std::size_t totalLines, std::size_t firstLine, int lineHeight, bool initialPage) noexcept
void loadSupportedOptionValues(State &state, bool tokenVoicesOn, bool hostCommentsOn, bool musicOn, std::uint8_t musicTuneIndex, bool tokenAnimationsOn, bool cameraMovementOn, bool lightingOn, bool board3DOn, bool filteringOn) noexcept
Rect optionOkayRect() noexcept
std::optional< HelpButton > helpButtonHit(int x, int y) noexcept
std::optional< FileButton > fileButtonHit(int x, int y) noexcept
constexpr std::array< OptionToggle, 8 > SupportedOptionToggles
std::optional< MenuButton > menuButtonHit(int x, int y) noexcept
Rect fileButtonRect(FileButton button) noexcept
Rect helpButtonRect(HelpButton button) noexcept
bool contains(int x, int y) const noexcept
std::size_t quickHelpLinesPerPage
std::array< bool, static_cast< std::size_t >(OptionToggle::Count)> optionOn
std::array< Rect, 3 > quickHelpButtonRects
std::string quickHelpText
std::uint8_t originalMusicTuneIndex
std::size_t quickHelpPageIndex
bool quickHelpInitialPage
std::size_t quickHelpFirstLine
bool optionSnapshotLoaded
display::Screen2D previousView
std::vector< std::string > quickHelpLines
std::vector< std::size_t > quickHelpPageOffsets
std::array< Rect, MusicTuneCount > musicChoiceRects
std::uint8_t musicTuneIndex