wavelength 1.0.0
Loading...
Searching...
No Matches
readonlysavescreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/errorscreen.h"
4#include "script/dataarray.h"
6
14public:
21 ~ReadOnlySaveScreen() override = default;
22
30 explicit ReadOnlySaveScreen(DataArray *pData);
31
42 static UIScreen *New(DataArray *pData) {
43 return new ReadOnlySaveScreen(pData);
44 }
45
54 bool DispatchPriv(Message *pMsg) override;
55
63 const char *Title() override {
64 return "";
65 }
66
80};
Reference-counted array of script data nodes.
Definition dataarray.h:20
ErrorScreen(DataArray *pData)
Construct the screen from its script description.
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
const char * Title() override
Report the empty title of the screen.
Definition readonlysavescreen.h:63
~ReadOnlySaveScreen() override=default
Destroy the object.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition readonlysavescreen.h:42
bool HandleSelect(UIComponentSelectMsg *pMsg)
Go back to the launchpad for no, and to the save screen for every other button chosen with the cross ...
bool DispatchPriv(Message *pMsg) override
Route a chosen button, and pass on every other message.
ReadOnlySaveScreen(DataArray *pData)
Construct the screen from its script description.
Message a component sends when the player chooses it.
Definition uicomponentselectmsg.h:28
UIScreen(DataArray *pData)
Construct a screen from its script description.