wavelength 1.0.0
Loading...
Searching...
No Matches
freqmakererrorscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/freqscreen.h"
4#include "script/dataarray.h"
6
18public:
25 ~FreqMakerErrorScreen() override = default;
26
35
46 static UIScreen *New(DataArray *pData) {
47 return new FreqMakerErrorScreen(pData);
48 }
49
58 bool DispatchPriv(Message *pMsg) override;
59
69 void SetScreens(const char *pszContinue, const char *pszCancel);
70
80
81private:
82 UIScreen *mContinueScreen;
83 UIScreen *mCancelScreen;
84};
Reference-counted array of script data nodes.
Definition dataarray.h:20
FreqMakerErrorScreen(DataArray *pData)
Construct the screen from its script description.
void SetScreens(const char *pszContinue, const char *pszCancel)
Find the screens the buttons lead to.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition freqmakererrorscreen.h:46
~FreqMakerErrorScreen() override=default
Destroy the object.
bool DispatchPriv(Message *pMsg) override
Route a button about to be chosen, and pass on every other message.
bool HandleSelectStart(UIComponentSelectStartMsg *pMsg)
Abandon the changes and continue on continue, or return on cancel.
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
Message a component sends when the player presses the button that chooses it.
Definition uicomponentselectstartmsg.h:27
UIScreen(DataArray *pData)
Construct a screen from its script description.