wavelength 1.0.0
Loading...
Searching...
No Matches
readonlycheckscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/freqscreen.h"
4#include "os/string.h"
5#include "script/dataarray.h"
7
18public:
25 ~ReadOnlyCheckScreen() override = default;
26
35
46 static UIScreen *New(DataArray *pData) {
47 return new ReadOnlyCheckScreen(pData);
48 }
49
58 bool DispatchPriv(Message *pMsg) override;
59
67 const char *Title() override {
68 return "";
69 }
70
83
84private:
85 String mNextScreen;
86 int mNeedsShareWarning;
87};
Reference-counted array of script data nodes.
Definition dataarray.h:20
FreqScreen(DataArray *pData)
Construct a screen from its script description.
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
bool HandleSelect(UIComponentSelectMsg *pMsg)
Record the answer chosen with the cross button in the remix and the game database,...
bool DispatchPriv(Message *pMsg) override
Route a chosen button, and pass on every other message.
const char * Title() override
Report the empty title of the screen.
Definition readonlycheckscreen.h:67
ReadOnlyCheckScreen(DataArray *pData)
Construct the screen from its script description.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition readonlycheckscreen.h:46
~ReadOnlyCheckScreen() override=default
Destroy the object.
Growable text buffer that is also a PrnStream.
Definition string.h:19
Message a component sends when the player chooses it.
Definition uicomponentselectmsg.h:28
UIScreen(DataArray *pData)
Construct a screen from its script description.