wavelength 1.0.0
Loading...
Searching...
No Matches
freqconfirmscreen.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 ~FreqConfirmScreen() override = default;
26
34 explicit FreqConfirmScreen(DataArray *pData);
35
46 static UIScreen *New(DataArray *pData) {
47 return new FreqConfirmScreen(pData);
48 }
49
58 bool DispatchPriv(Message *pMsg) override;
59
72 void Enter(UIScreen *pPrevScreen, float fTime) override;
73
87};
Reference-counted array of script data nodes.
Definition dataarray.h:20
FreqConfirmScreen(DataArray *pData)
Construct the screen from its script description.
void Enter(UIScreen *pPrevScreen, float fTime) override
Start the entry and label the buttons with the name of the player's Freq.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition freqconfirmscreen.h:46
bool DispatchPriv(Message *pMsg) override
Route a chosen button, and pass on every other message.
~FreqConfirmScreen() override=default
Destroy the object.
bool HandleSelect(UIComponentSelectMsg *pMsg)
Prepare the Freq maker or the load screen for the button chosen with the cross button.
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 chooses it.
Definition uicomponentselectmsg.h:28
UIScreen(DataArray *pData)
Construct a screen from its script description.