wavelength 1.0.0
Loading...
Searching...
No Matches
nethostlpadbuttonpanel.h
Go to the documentation of this file.
1#pragma once
2
3#include <list>
4
6#include "met/netlpadpanel.h"
8#include "script/dataarray.h"
9#include "ui/uipanel.h"
10
19public:
28 NetHostLPadButtonPanel(DataArray *pData, const char *pszDir) : NetButtonPanel(pData, pszDir) {
29 }
30
42 static UIPanel *New(DataArray *pData, const char *pszDir) {
43 return new NetHostLPadButtonPanel(pData, pszDir);
44 }
45
53 }
54
61 void Focus() override;
62
69 void Unfocus() override;
70
81 void Update(std::list<NetLaunchpadPlayer> *pPlayers) override;
82};
Reference-counted array of script data nodes.
Definition dataarray.h:20
NetButtonPanel(DataArray *pData, const char *pszDir)
Construct the panel from its script description.
Definition netbuttonpanel.h:22
~NetHostLPadButtonPanel() override
Destroy the panel.
Definition nethostlpadbuttonpanel.h:52
void Unfocus() override
Show the unfocused materials.
NetHostLPadButtonPanel(DataArray *pData, const char *pszDir)
Construct the panel from its script description.
Definition nethostlpadbuttonpanel.h:28
void Update(std::list< NetLaunchpadPlayer > *pPlayers) override
Enable launch and share for the players of the session, and move the focus off a button that becomes ...
static UIPanel * New(DataArray *pData, const char *pszDir)
Create a panel from its script description.
Definition nethostlpadbuttonpanel.h:42
void Focus() override
Take the focus, and show the focused materials once the panel has loaded.
Mix-in for a panel of the launchpad screens that shows the players of the online session.
Definition netlpadpanel.h:13
Group of components drawn from one .rnd file, which a screen shows.
Definition uipanel.h:35