resonance 1.0.1
Loading...
Searching...
No Matches
metmemcardtypescreen.h
Go to the documentation of this file.
1#pragma once
2
4#include "met/metscreen.h"
5
6class MetButtonList;
7
29public:
41 MetMemCardTypeScreen(MetRenderer *pRenderer, int nPriority);
42
50
60 static MetMemCardTypeScreen *New(MetRenderer *pRenderer, int nPriority);
61
71 virtual void EnterAndShow();
72
82 virtual void HandleCommand(const MetScreenCommand *pCommand);
83
92 virtual void PlayCycleLeftSound(int) {
93 }
94
103 virtual void PlayCycleRightSound(int) {
104 }
105
115 virtual void OnRepeatingSoundFinished(Rnd::Button *pButton);
116
128 virtual void OnExitFinished();
129
138 virtual void ResolveContainerViews();
139
150
151private:
152 MetButtonList *mButtonList; // +0x8c
153 MemcardConnectState mCardSlot; // +0x90
154};
Ring of front-end buttons with one of them selected.
Definition metbuttonlist.h:34
MetMemCardTypeScreen(MetRenderer *pRenderer, int nPriority)
Construct the screen.
virtual void OnRepeatingSoundFinished(Rnd::Button *pButton)
Exit forwards once the chosen button's alternation has finished.
void SetCardSlot(MemcardConnectState slot)
Record the card the screen works on.
virtual void HandleCommand(const MetScreenCommand *pCommand)
Step the selection, start the chosen button's alternation, or back out.
virtual void PlayCycleRightSound(int)
Play nothing.
Definition metmemcardtypescreen.h:103
virtual void OnExitFinished()
Bring up the next screen once this one has exited.
virtual void EnterAndShow()
Select the first button when nothing is selected, title the screen with the card's name through the m...
virtual void ResolveContainerViews()
Resolve the base views, allocate the button list, and add the two buttons.
static MetMemCardTypeScreen * New(MetRenderer *pRenderer, int nPriority)
Build the screen on the heap.
virtual void PlayCycleLeftSound(int)
Play nothing.
Definition metmemcardtypescreen.h:92
virtual ~MetMemCardTypeScreen()
Delete the button list.
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
What one card slot reports about itself, and the memory-card location the front end stores.
Definition memcardconnectstate.h:21
One navigation command delivered to a screen.
Definition metscreen.h:46