wavelength 1.0.0
Loading...
Searching...
No Matches
metaskillscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/freqscreen.h"
4#include "script/dataarray.h"
8
19public:
26 ~MetaSkillScreen() override = default;
27
35 explicit MetaSkillScreen(DataArray *pData);
36
47 static UIScreen *New(DataArray *pData) {
48 return new MetaSkillScreen(pData);
49 }
50
60 bool DispatchPriv(Message *pMsg) override;
61
70 void Enter(UIScreen *pPrevScreen, float fTime) override;
71
85
96
106};
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
MetaSkillScreen(DataArray *pData)
Construct the screen from its script description.
bool HandleSelect(UIComponentSelectMsg *pMsg)
Set the skill level of the button chosen with the cross button and go to the next screen.
void Enter(UIScreen *pPrevScreen, float fTime) override
Focus the button of the current skill level, then start the entry.
bool DispatchPriv(Message *pMsg) override
Route a chosen button, a focus change, and the end of the entry, and pass on every other message.
~MetaSkillScreen() override=default
Destroy the object.
bool HandleTransitionComplete(UITransitionCompleteMsg *pMsg)
Focus the focused button of the panel with the focus again once this screen has entered.
bool HandleFocusChange(UIComponentFocusChangeMsg *pMsg)
Show the help text <panel>_<button>_HELP of the button that receives the focus in the panel with the ...
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition metaskillscreen.h:47
Message a panel sends before it moves its focus to another component.
Definition uicomponentfocuschangemsg.h:26
Message a component sends when the player chooses it.
Definition uicomponentselectmsg.h:28
UIScreen(DataArray *pData)
Construct a screen from its script description.
Message a screen sends itself once its panels have finished their entry animations.
Definition uitransitioncompletemsg.h:23