resonance 1.0.1
Loading...
Searching...
No Matches
metremixtypescreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/metbuttonlist.h"
4#include "met/metscreen.h"
5
6namespace Rnd {
7class TransAnim;
8class View;
9} // namespace Rnd
10
35public:
44 MetRemixTypeScreen(MetRenderer *pRenderer, int nPriority);
45
51
63 static MetRemixTypeScreen *New(MetRenderer *pRenderer, int nPriority);
64
76 virtual void EnterAndShow();
77
90 virtual void OnMsgScreenDismissed(const HxStr &name, int nChoice);
91
102 virtual void HandleCommand(const MetScreenCommand *pCommand);
103
114 virtual void OnRepeatingSoundFinished(Rnd::Button *pButton);
115
134 virtual void OnExitFinished();
135
144 virtual void ResolveContainerViews();
145
154 virtual void PlayCycleLeftSound(int) {
155 }
156
163 virtual void PlayCycleRightSound(int) {
164 }
165
166private:
178 void OpenSelectedButton();
179
180 MetButtonList *mButtons; // +0x8c
181 Rnd::View *mTwoButtonView; // +0x90, `smrt_2but.view`
182 Rnd::View *mThreeButtonView; // +0x94, `smrt_3but.view`
183 Rnd::TransAnim *mTwoButtonAnim; // +0x98, `smrt_2but.tnm`
184 Rnd::TransAnim *mThreeButtonAnim; // +0x9c, `smrt_3but.tnm`
185};
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Ring of front-end buttons with one of them selected.
Definition metbuttonlist.h:34
virtual ~MetRemixTypeScreen()
virtual void PlayCycleLeftSound(int)
Silence the cycle-left sound.
Definition metremixtypescreen.h:154
virtual void OnExitFinished()
Move on once the screen has exited.
virtual void ResolveContainerViews()
Resolve the container views and the two button-layout views and animations.
virtual void EnterAndShow()
Show the screen with the buttons the game mode offers.
virtual void OnMsgScreenDismissed(const HxStr &name, int nChoice)
Act on the answer to the low-space warning.
virtual void PlayCycleRightSound(int)
Silence the cycle-right sound.
Definition metremixtypescreen.h:163
static MetRemixTypeScreen * New(MetRenderer *pRenderer, int nPriority)
Build the screen on the heap.
virtual void OnRepeatingSoundFinished(Rnd::Button *pButton)
Leave for the chosen button once the selection alternation finishes.
MetRemixTypeScreen(MetRenderer *pRenderer, int nPriority)
Construct the screen.
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
Animation that drives one transformable from three keyframe channels.
Definition transanim.h:49
Root of a loadable scene.
Definition view.h:47
The rendering engine.
Definition animhelper.h:3
One navigation command delivered to a screen.
Definition metscreen.h:46