resonance 1.0.1
Loading...
Searching...
No Matches
metconfigoptionsbuttonsscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/metbuttonlist.h"
4#include "met/metscreen.h"
5
29public:
41 MetConfigOptionsButtonsScreen(MetRenderer *pRenderer, int nPriority);
42
48
60 static MetConfigOptionsButtonsScreen *New(MetRenderer *pRenderer, int nPriority);
61
74 virtual void EnterAndShow();
75
88 virtual void HandleCommand(const MetScreenCommand *pCommand);
89
97 virtual void PlayCycleLeftSound(int nSelector);
98
106 virtual void PlayCycleRightSound(int nSelector);
107
118 virtual void OnRepeatingSoundFinished(Rnd::Button *pButton);
119
131 virtual void OnExitFinished();
132
133private:
134 MetButtonList *mOptionButtons; // +0x8c
135 // The controller index the controller configuration screen edits, the pad index of the
136 // select command less one. +0x90
137 int mControllerIndex;
138};
Ring of front-end buttons with one of them selected.
Definition metbuttonlist.h:34
virtual void OnExitFinished()
Push the screen the selected button opens.
virtual void PlayCycleRightSound(int nSelector)
Play nothing.
virtual void OnRepeatingSoundFinished(Rnd::Button *pButton)
Begin the exit once a button has finished flashing.
virtual void EnterAndShow()
Rebuild the buttons and their prompts, select the first, and enter.
virtual void HandleCommand(const MetScreenCommand *pCommand)
Act on a command.
virtual void PlayCycleLeftSound(int nSelector)
Play nothing.
MetConfigOptionsButtonsScreen(MetRenderer *pRenderer, int nPriority)
Construct the button row.
static MetConfigOptionsButtonsScreen * New(MetRenderer *pRenderer, int nPriority)
Build the screen on the heap.
Front-end renderer that owns the screen stack and drives every MetScreen.
Definition metrenderer.h:68
MetScreen(MetRenderer *pRenderer, int nPriority, const HxStr &name, const HxStr &directory, const HxStr &file)
Construct a screen and start its container load.
Selectable widget, as one mesh and one text run plus a palette for each.
Definition button.h:39
One navigation command delivered to a screen.
Definition metscreen.h:46