wavelength 1.0.0
Loading...
Searching...
No Matches
mcdialogpanel.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/dialogpanel.h"
4#include "script/dataarray.h"
5
14class MCDialogPanel : public DialogPanel {
15public:
24 MCDialogPanel(DataArray *pData, const char *pszDir);
25
32 ~MCDialogPanel() override;
33
45 static UIPanel *New(DataArray *pData, const char *pszDir) {
46 return new MCDialogPanel(pData, pszDir);
47 }
48
58 void Enter(bool bForce, float fTime) override;
59
70 virtual void ShowSlotText();
71
72private:
73#ifdef VIDEO_STANDARD_PAL
74 int mErrorMsg;
75#endif
76};
Reference-counted array of script data nodes.
Definition dataarray.h:20
DialogPanel(DataArray *pData, const char *pszDir)
Construct the panel from its script description.
~MCDialogPanel() override
Destroy the panel.
virtual void ShowSlotText()
Show the text of the panel's name, formatted with the name of the memory card slot of the current scr...
MCDialogPanel(DataArray *pData, const char *pszDir)
Construct the panel from its script description.
static UIPanel * New(DataArray *pData, const char *pszDir)
Create a panel from its script description.
Definition mcdialogpanel.h:45
void Enter(bool bForce, float fTime) override
Start the entry as a DialogPanel, then show the text of the panel's name with the name of the memory ...
UIPanel(DataArray *pData, const char *pszDir)
Construct a hidden panel from its script description.