wavelength 1.0.0
Loading...
Searching...
No Matches
netsortedlaunchpadslist.h
Go to the documentation of this file.
1#pragma once
2
4#include "script/dataarray.h"
5
14public:
23 NetSortedLaunchpadsList(DataArray *pData, const char *pszPanel)
24 : NetMainLaunchpadsList(pData, pszPanel) {
25 }
26
38 static UIComponent *New(DataArray *pData, const char *pszPanel) {
39 return new NetSortedLaunchpadsList(pData, pszPanel);
40 }
41
49 }
50
57 void UpdateCursor() override;
58
65 void ScrollUp() override;
66
73 void ScrollDown() override;
74};
Reference-counted array of script data nodes.
Definition dataarray.h:20
NetMainLaunchpadsList(DataArray *pData, const char *pszPanel)
Construct a list from its script description.
Definition netmainlaunchpadslist.h:27
NetSortedLaunchpadsList(DataArray *pData, const char *pszPanel)
Construct a list from its script description.
Definition netsortedlaunchpadslist.h:23
static UIComponent * New(DataArray *pData, const char *pszPanel)
Create a list from its script description.
Definition netsortedlaunchpadslist.h:38
void ScrollUp() override
Select the previous launchpad, or request the previous page from the first one.
void ScrollDown() override
Select the next launchpad, or request the next page from the last one.
void UpdateCursor() override
Move the cursor, show the selected launchpad on fn_sorted_pic, and request its players.
~NetSortedLaunchpadsList() override
Destroy the list.
Definition netsortedlaunchpadslist.h:48
One control of a front-end panel, such as a label, a button, or a list.
Definition uicomponent.h:21