wavelength 1.0.0
Loading...
Searching...
No Matches
savefreqscreen.h
Go to the documentation of this file.
1#pragma once
2
5#include "os/string.h"
6#include "script/dataarray.h"
8
21public:
29 explicit SaveFreqScreen(DataArray *pData);
30
37 ~SaveFreqScreen() override;
38
49 static UIScreen *New(DataArray *pData) {
50 return new SaveFreqScreen(pData);
51 }
52
61 bool DispatchPriv(Message *pMsg) override;
62
72 void Enter(UIScreen *pPrevScreen, float fTime) override;
73
81 const char *Title() override {
82 return "";
83 }
84
94
107 void OnFreqSaved(int nStatus, int nSpace) override;
108
109private:
110 int mReservedB4[3]; // +0xb4, not yet recovered.
111 int mIsCancel;
112#ifdef VIDEO_STANDARD_PAL
117 String mOverwriteSaveScreen;
118#endif
119};
Reference-counted array of script data nodes.
Definition dataarray.h:20
Receiver of the outcome of the memory card work MCManager runs.
Definition memcarduser.h:19
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
OverwriteSaveScreen(DataArray *pData)
Construct the screen from its script description.
Definition overwritesavescreen.h:19
SaveFreqScreen(DataArray *pData)
Construct the screen from its script description.
void OnFreqSaved(int nStatus, int nSpace) override
Move on when the save ends.
bool HandleTransitionComplete(UITransitionCompleteMsg *pMsg)
Start the save once this screen has entered.
~SaveFreqScreen() override
Destroy the screen.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition savefreqscreen.h:49
const char * Title() override
Report the empty title of the screen.
Definition savefreqscreen.h:81
void Enter(UIScreen *pPrevScreen, float fTime) override
Start the entry.
bool DispatchPriv(Message *pMsg) override
Route the end of the entry, and pass on every other message.
Growable text buffer that is also a PrnStream.
Definition string.h:19
One front-end screen, a set of panels shown together with one panel holding the focus.
Definition uiscreen.h:35
Message a screen sends itself once its panels have finished their entry animations.
Definition uitransitioncompletemsg.h:23