wavelength 1.0.0
Loading...
Searching...
No Matches
netmainpanel.h
Go to the documentation of this file.
1#pragma once
2
6#include "script/dataarray.h"
7#include "ui/uipanel.h"
8
18public:
27 NetMainPanel(DataArray *pData, const char *pszDir);
28
35 ~NetMainPanel() override {
36 }
37
46 bool DispatchPriv(Message *pMsg) override;
47
57 void Enter(bool bForce, float fTime) override;
58
67 void Exit(bool bForce, float fTime) override;
68
76 void Poll(float fTime) override;
77
84 void FinishLoad() override;
85
94 virtual void RequestUpdate() {
95 }
96
106 void RequestNow(bool bHilite);
107
108protected:
121
124};
Reference-counted array of script data nodes.
Definition dataarray.h:20
FocusChangePanel(DataArray *pData, const char *pszDir)
Construct the panel from its script description.
Message the controller poll sends when a button is pressed or released.
Definition joypadinputmsg.h:23
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
NetFlashUpdate()
Construct a notice that is not flashing.
bool HandleJoypad(JoypadInputMsg *pMsg)
Swallow a button during a transition, give the focus back to fn_main with the triangle or the left bu...
void RequestNow(bool bHilite)
Request the data on the next Poll() and start the flash.
void Poll(float fTime) override
Request the data once its time has passed, and advance the flash.
NetMainPanel(DataArray *pData, const char *pszDir)
Construct the panel from its script description.
float mRequestTime
Definition netmainpanel.h:122
~NetMainPanel() override
Destroy the panel.
Definition netmainpanel.h:35
void Enter(bool bForce, float fTime) override
Enter unfocused, show the titles instead of the refresh text, and request the data on the next Poll()...
bool DispatchPriv(Message *pMsg) override
Route the controller to HandleJoypad().
virtual void RequestUpdate()
Request the data of the panel from the lobby service.
Definition netmainpanel.h:94
void Exit(bool bForce, float fTime) override
Cancel the pending request and exit.
int mFlashPanel
Definition netmainpanel.h:123
void FinishLoad() override
Finish the load and find the objects of the flash.