resonance 1.0.1
Loading...
Searching...
No Matches
metmodescreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/metscreen.h"
4
5class MetButtonList;
6
7namespace Rnd {
8class Button;
9} // namespace Rnd
10
34class MetModeScreen : public MetScreen {
35public:
44 MetModeScreen(MetRenderer *pRenderer, int nPriority);
45
52 virtual ~MetModeScreen();
53
63 static MetModeScreen *New(MetRenderer *pRenderer, int nPriority);
64
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
117 virtual void OnRepeatingSoundFinished(Rnd::Button *pButton);
118
127 virtual void OnEnterFinished();
128
138 virtual void OnExitFinished();
139
148 virtual void ResolveContainerViews();
149
150private:
160 void GoToSelectedMode();
161
162 MetButtonList *mButtonList; // +0x8c
163};
Ring of front-end buttons with one of them selected.
Definition metbuttonlist.h:34
virtual void OnExitFinished()
Go on to the next screen once the exit finishes.
virtual void HandleCommand(const MetScreenCommand *pCommand)
Act on one navigation command.
static MetModeScreen * New(MetRenderer *pRenderer, int nPriority)
Build the screen on the heap.
virtual void OnEnterFinished()
Refresh the help prompt for the selected button.
virtual void PlayCycleRightSound(int nSelector)
Silence the cycle-right sound.
virtual void EnterAndShow()
Select the button that matches the current play mode, fill the help prompts for a solo or a multiplay...
virtual void OnRepeatingSoundFinished(Rnd::Button *pButton)
Leave the screen once a button's alternation finishes.
virtual ~MetModeScreen()
Delete the button list.
MetModeScreen(MetRenderer *pRenderer, int nPriority)
Construct the screen.
virtual void PlayCycleLeftSound(int nSelector)
Silence the cycle-left sound.
virtual void ResolveContainerViews()
Resolve the container's views, then add the game and jam buttons.
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
The rendering engine.
Definition animhelper.h:3
One navigation command delivered to a screen.
Definition metscreen.h:46