resonance 1.0.1
Loading...
Searching...
No Matches
metsololosescreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/metscreen.h"
4
5class MetButtonList;
6
30public:
39 MetSoloLoseScreen(MetRenderer *pRenderer, int nPriority);
40
48
60 static MetSoloLoseScreen *New(MetRenderer *pRenderer, int nPriority);
61
74 virtual void EnterAndShow();
75
87 virtual void HandleCommand(const MetScreenCommand *pCommand);
88
96 virtual void PlayLeaveSound(int nSelector);
97
105 virtual void PlayCycleLeftSound(int nSelector);
106
114 virtual void PlayCycleRightSound(int nSelector);
115
123 virtual void OnRepeatingSoundFinished(Rnd::Button *pButton);
124
136 virtual void OnExitFinished();
137
138private:
149 void ShowButtons();
150
151 // The retry and levels buttons. +0x8c
152 MetButtonList *mButtonList;
153};
Ring of front-end buttons with one of them selected.
Definition metbuttonlist.h:34
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.
virtual void PlayLeaveSound(int nSelector)
Play nothing.
virtual void EnterAndShow()
Rebuild the two buttons and show the screen.
virtual ~MetSoloLoseScreen()
Delete the button list.
MetSoloLoseScreen(MetRenderer *pRenderer, int nPriority)
Construct the screen.
virtual void OnExitFinished()
Leave for the load screen or the stage select once the exit has finished.
virtual void PlayCycleRightSound(int nSelector)
Play nothing.
virtual void PlayCycleLeftSound(int nSelector)
Play nothing.
static MetSoloLoseScreen * New(MetRenderer *pRenderer, int nPriority)
Allocate and construct the screen.
virtual void HandleCommand(const MetScreenCommand *pCommand)
Move along the button ring, or act on the selection.
virtual void OnRepeatingSoundFinished(Rnd::Button *pButton)
Exit the stats, title, and help screens and start this screen's exit.
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