resonance 1.0.1
Loading...
Searching...
No Matches
metjukeboxtopbuttonsscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/metbuttonlist.h"
4#include "met/metscreen.h"
5#include "os/hxstr.h"
6
44public:
53 MetJukeboxTopButtonsScreen(MetRenderer *pRenderer, int nPriority);
54
60
72 static MetJukeboxTopButtonsScreen *New(MetRenderer *pRenderer, int nPriority);
73
86 virtual void EnterAndShow();
87
94 virtual void BeginExit();
95
107 virtual void HandleCommand(const MetScreenCommand *pCommand);
108
116 virtual void UpdateIdle(float flTime);
117
124 virtual void OnEnterFinished();
125
135 virtual void OnExitFinished();
136
146 virtual void ResolveContainerViews();
147
148private:
156 void ShowSelectedPanel();
157
158 HxStr mCommandTargetScreen; // +0x8c
159 MetButtonList *mButtons; // +0x94
160 // Zeroed by the constructor and never read or written again.
161 int mUnused; // +0x98
162};
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Ring of front-end buttons with one of them selected.
Definition metbuttonlist.h:34
virtual void OnEnterFinished()
Show the selected button's panel.
virtual void HandleCommand(const MetScreenCommand *pCommand)
Act on a command.
virtual void EnterAndShow()
Enter, wait for the five sub-screens to load, push them, and show the first button's panel.
virtual void BeginExit()
Begin the exit and exit all five sub-screens.
static MetJukeboxTopButtonsScreen * New(MetRenderer *pRenderer, int nPriority)
Build the screen on the heap.
MetJukeboxTopButtonsScreen(MetRenderer *pRenderer, int nPriority)
Construct the screen.
virtual ~MetJukeboxTopButtonsScreen()
virtual void ResolveContainerViews()
Resolve the container views and add the four buttons.
virtual void OnExitFinished()
Return to the remix type screen after a cancel.
virtual void UpdateIdle(float flTime)
Do nothing.
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.
One navigation command delivered to a screen.
Definition metscreen.h:46