42 : mComponent(pComponent), mPanel(pPanel), mScreen(pScreen), mButton(nButton), mPad(nPad) {
51 void *
operator new(
size_t nSize) {
52 return PoolMemAlloc(
static_cast<int>(nSize),
"UIComponentSelectStartMsg", 0);
60 void operator delete(
void *pBlock) {
94 return "UIComponentSelectStartMsg";
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
Text output stream.
Definition prnstream.h:16
const char * GetName() const override
Report this message's class name.
Definition uicomponentselectstartmsg.h:93
int Type() override
Report this message's registered identity.
Definition uicomponentselectstartmsg.h:82
int GetPad() const
Definition uicomponentselectstartmsg.h:127
int GetButton() const
Definition uicomponentselectstartmsg.h:122
UIScreen * GetScreen() const
Definition uicomponentselectstartmsg.h:117
UIComponent * GetComponent() const
Definition uicomponentselectstartmsg.h:107
UIComponentSelectStartMsg(UIComponent *pComponent, UIPanel *pPanel, UIScreen *pScreen, int nButton, int nPad)
Construct the message.
Definition uicomponentselectstartmsg.h:40
UIPanel * GetPanel() const
Definition uicomponentselectstartmsg.h:112
void PrintExtra(PrnStream &stream) const override
Write the names of the component, the panel, and the screen.
Message * Clone() override
Produce a heap copy of this message.
Definition uicomponentselectstartmsg.h:71
One control of a front-end panel, such as a label, a button, or a list.
Definition uicomponent.h:21
Group of components drawn from one .rnd file, which a screen shows.
Definition uipanel.h:35
One front-end screen, a set of panels shown together with one panel holding the focus.
Definition uiscreen.h:35
void * PoolMemAlloc(int nSize, const char *pszTag, int nAlign)
Allocate a block from the pool heaps and bill it to a tag.
void PoolMemFree(void *pBlock)
Return a block PoolMemAlloc() handed out to the pool heap that owns it.
int g_nUIComponentSelectStartMsgType
Identity that UIComponentSelectStartMsg::Type() reports.