wavelength 1.0.0
Loading...
Searching...
No Matches
netpasswordscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/freqscreen.h"
4#include "script/dataarray.h"
6#include "ui/uiscreen.h"
7
16public:
24 explicit NetPasswordScreen(DataArray *pData);
25
32 ~NetPasswordScreen() override {
33 }
34
43 bool DispatchPriv(Message *pMsg) override;
44
53 void Enter(UIScreen *pPrevScreen, float fTime) override;
54
55protected:
67
75 void LabelSaveChoice(UIComponent *pComponent);
76
79};
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 DispatchPriv(Message *pMsg) override
Route a select start to HandleSelectStart().
NetPasswordScreen(DataArray *pData)
Construct a screen that saves the password.
void Enter(UIScreen *pPrevScreen, float fTime) override
Take the choice from whether the profile has a saved password, and label the save button.
int mSavePassword
Definition netpasswordscreen.h:77
int mSavePasswordInitial
Definition netpasswordscreen.h:78
~NetPasswordScreen() override
Release the screen.
Definition netpasswordscreen.h:32
void LabelSaveChoice(UIComponent *pComponent)
Label a component with the localised text of the choice.
bool HandleSaveToggle(UIComponentSelectStartMsg *pMsg)
Toggle the choice when a directional button moves on the save button.
Message a component sends when the player presses the button that chooses it.
Definition uicomponentselectstartmsg.h:27
One control of a front-end panel, such as a label, a button, or a list.
Definition uicomponent.h:21
UIScreen(DataArray *pData)
Construct a screen from its script description.