wavelength 1.0.0
Loading...
Searching...
No Matches
netbuttonpanel.h
Go to the documentation of this file.
1#pragma once
2
4#include "script/dataarray.h"
5#include "ui/uipanel.h"
6
13public:
22 NetButtonPanel(DataArray *pData, const char *pszDir) : FocusChangePanel(pData, pszDir) {
23 }
24
37 static UIPanel *New(DataArray *pData, const char *pszDir) {
38 return new NetButtonPanel(pData, pszDir);
39 }
40
47 ~NetButtonPanel() override {
48 }
49
56 void FinishLoad() override;
57};
Reference-counted array of script data nodes.
Definition dataarray.h:20
FocusChangePanel(DataArray *pData, const char *pszDir)
Construct the panel from its script description.
static UIPanel * New(DataArray *pData, const char *pszDir)
Create a panel from its script description.
Definition netbuttonpanel.h:37
void FinishLoad() override
Finish the load and take the focus.
NetButtonPanel(DataArray *pData, const char *pszDir)
Construct the panel from its script description.
Definition netbuttonpanel.h:22
~NetButtonPanel() override
Destroy the panel.
Definition netbuttonpanel.h:47
UIPanel(DataArray *pData, const char *pszDir)
Construct a hidden panel from its script description.