wavelength 1.0.0
Loading...
Searching...
No Matches
remixcopydelscreen.h
Go to the documentation of this file.
1#pragma once
2
5#include "script/dataarray.h"
7
16public:
23 ~RemixCopyDelScreen() override = default;
24
32 explicit RemixCopyDelScreen(DataArray *pData);
33
42 static UIScreen *New(DataArray *pData) {
43 return new RemixCopyDelScreen(pData);
44 }
45
54 bool DispatchPriv(Message *pMsg) override;
55
65
76
78 int GetSlot() const {
79 return mSlot;
80 }
81
83 void SetSlot(int nSlot) {
84 mSlot = nSlot;
85 }
86
87private:
88 int mSlot;
89};
Reference-counted array of script data nodes.
Definition dataarray.h:20
Message the controller poll sends when a button is pressed or released.
Definition joypadinputmsg.h:23
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
bool HandleJoypad(JoypadInputMsg *pMsg)
Copy the chosen remix on Circle or delete it on Square, unless the screen is between screens.
bool HandleSelect(UIComponentSelectMsg *pMsg)
Keep the cursor of the list selected after a choice.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition remixcopydelscreen.h:42
~RemixCopyDelScreen() override=default
Destroy the object.
RemixCopyDelScreen(DataArray *pData)
Construct the screen from its script description.
int GetSlot() const
Definition remixcopydelscreen.h:78
bool DispatchPriv(Message *pMsg) override
Route a controller button and a chosen component, and pass on every other message.
void SetSlot(int nSlot)
Definition remixcopydelscreen.h:83
RemixSelectScreen(DataArray *pData)
Construct the screen from its script description, with no remixes.
Message a component sends when the player chooses it.
Definition uicomponentselectmsg.h:28
UIScreen(DataArray *pData)
Construct a screen from its script description.