resonance 1.0.1
Loading...
Searching...
No Matches
metlocnumplayscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/metscreen.h"
4
5class MetButtonList;
6
34public:
43 MetLocNumPlayScreen(MetRenderer *pRenderer, int nPriority);
44
57 static MetLocNumPlayScreen *New(MetRenderer *pRenderer, int nPriority);
58
64
76 virtual void EnterAndShow();
77
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
130 virtual void OnExitFinished();
131
142 virtual void ResolveContainerViews();
143
144private:
145 // The four buttons. The constructor allocates it and the destructor deletes it. +0x8c
146 MetButtonList *mButtonList;
147};
Ring of front-end buttons with one of them selected.
Definition metbuttonlist.h:34
virtual void PlayCycleLeftSound(int nSelector)
Silence the cycle-left sound.
virtual void OnRepeatingSoundFinished(Rnd::Button *pButton)
Depart once the selected button has finished alternating.
MetLocNumPlayScreen(MetRenderer *pRenderer, int nPriority)
Construct the screen.
virtual void OnExitFinished()
Go on to the screen the exit chose.
static MetLocNumPlayScreen * New(MetRenderer *pRenderer, int nPriority)
Build the screen on the heap.
virtual void EnterAndShow()
Show the choice last made and start the enter animation.
virtual ~MetLocNumPlayScreen()
virtual void PlayCycleRightSound(int nSelector)
Silence the cycle-right sound.
virtual void ResolveContainerViews()
Build the four buttons.
virtual void HandleCommand(const MetScreenCommand *pCommand)
Act on one navigation command.
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