resonance 1.0.1
Loading...
Searching...
No Matches
metjukeboxeditplaylistscreendone.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/metbuttonlist.h"
4#include "met/metscreen.h"
5
33public:
43
49
61 static MetJukeboxEditPlaylistScreenDone *New(MetRenderer *pRenderer, int nPriority);
62
74 virtual void EnterAndShow();
75
85 virtual void SetShowing(int nShowing);
86
98 virtual void HandleCommand(const MetScreenCommand *pCommand);
99
105 virtual void PlaySlideSound(int nSelector);
106
112 virtual void PlayLeaveSound(int nSelector);
113
119 virtual void PlayHighSound(int nSelector);
120
126 virtual void PlayCycleLeftSound(int nSelector);
127
133 virtual void PlayCycleRightSound(int nSelector);
134
147 virtual void OnRepeatingSoundFinished(Rnd::Button *pButton);
148
157 virtual void OnEnterFinished();
158
170 virtual void OnExitFinished();
171
180 virtual void ResolveContainerViews();
181
182private:
193 void UpdateHelpText();
194
195 MetButtonList *mButtons; // +0x8c
196 int mSaveChosen; // +0x90, set when the save button was chosen
197 int mShuffle; // +0x94, set when the playlist plays in random order
198 int mPlayChosen; // +0x98, set when a play button was chosen
199};
Ring of front-end buttons with one of them selected.
Definition metbuttonlist.h:34
virtual void SetShowing(int nShowing)
Show or hide the screen, posting the help text when it shows.
virtual void PlayHighSound(int nSelector)
virtual void EnterAndShow()
Select the first button and enable the save button only when MetFrontEndState::mUsingMemcard is set.
virtual void PlaySlideSound(int nSelector)
virtual void ResolveContainerViews()
Resolve the container views and add the three buttons.
virtual void OnEnterFinished()
Select the first button and forget the recorded choice.
virtual void OnRepeatingSoundFinished(Rnd::Button *pButton)
Record the chosen button once it has finished flashing.
MetJukeboxEditPlaylistScreenDone(MetRenderer *pRenderer, int nPriority)
Construct the screen.
virtual void PlayCycleLeftSound(int nSelector)
virtual void PlayLeaveSound(int nSelector)
virtual void PlayCycleRightSound(int nSelector)
virtual void OnExitFinished()
Act on the recorded choice once the screen has exited.
virtual void HandleCommand(const MetScreenCommand *pCommand)
Act on a command.
static MetJukeboxEditPlaylistScreenDone * New(MetRenderer *pRenderer, int nPriority)
Build the screen on the heap.
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