wavelength 1.0.0
Loading...
Searching...
No Matches
netsongpanel.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/freqpanel.h"
4#include "script/dataarray.h"
5#include "ui/uipanel.h"
6
12class NetSongPanel : public FreqPanel {
13public:
22 NetSongPanel(DataArray *pData, const char *pszDir) : FreqPanel(pData, pszDir) {
23 }
24
31 ~NetSongPanel() override {
32 }
33
43 static UIPanel *New(DataArray *pData, const char *pszDir) {
44 return new NetSongPanel(pData, pszDir);
45 }
46
55 void Focus() override;
56
65 void Unfocus() override;
66};
Reference-counted array of script data nodes.
Definition dataarray.h:20
FreqPanel(DataArray *pData, const char *pszDir)
Construct a panel from its script description.
NetSongPanel(DataArray *pData, const char *pszDir)
Construct the panel from its script description.
Definition netsongpanel.h:22
void Unfocus() override
Dim the cursor of the list, the tab, and the background.
~NetSongPanel() override
Destroy the panel.
Definition netsongpanel.h:31
void Focus() override
Take the focus, show the cursor of the list, and light the tab and the background.
static UIPanel * New(DataArray *pData, const char *pszDir)
Create a panel from its script description.
Definition netsongpanel.h:43
UIPanel(DataArray *pData, const char *pszDir)
Construct a hidden panel from its script description.