wavelength 1.0.0
Loading...
Searching...
No Matches
keyboardscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/freqscreen.h"
4#include "script/dataarray.h"
5
13class KeyboardScreen : public FreqScreen {
14public:
22 explicit KeyboardScreen(DataArray *pData);
23
30 ~KeyboardScreen() override;
31
42 static UIScreen *New(DataArray *pData) {
43 return new KeyboardScreen(pData);
44 }
45
53 void PlayButtonSound([[maybe_unused]] int nButton) override {
54 }
55};
Reference-counted array of script data nodes.
Definition dataarray.h:20
FreqScreen(DataArray *pData)
Construct a screen from its script description.
~KeyboardScreen() override
Destroy the screen.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition keyboardscreen.h:42
void PlayButtonSound(int nButton) override
Play no sound for a controller button.
Definition keyboardscreen.h:53
KeyboardScreen(DataArray *pData)
Construct the screen from its script description.
UIScreen(DataArray *pData)
Construct a screen from its script description.