MercuryTextPrompt Class Reference

Text prompt for ScreenMapEditor. More...

#include <ScreenMapEditor.h>

Inheritance diagram for MercuryTextPrompt:

Inheritance graph
Collaboration diagram for MercuryTextPrompt:

Collaboration graph
List of all members.

Public Member Functions

virtual void Init ()
virtual void Update (const float dTime)
 [internal] Update (call this update last when abstracting because Update can destroy the object)
virtual void Message (int Message, PStack &data, const MString &name)
 Receive message (When subscribing to messages, you receive them via this command).
void PromptForText (int iMessageWhenDone, MercuryScreen *Notifier, const MString &sPrompt, const MString &sDefaultText, bool bAllowCancel=false, bool bSingleChar=false)
 CLASS_RTTI (MercuryTextPrompt, MercuryObject)

Public Attributes

MercurySprite m_sTextInOverlay
MercuryText m_tTextInOverlayPrompt
MercuryText m_tTextInOverlayText
bool m_bPromptingForText
bool m_bSingleChar
bool m_bAllowCancel
int m_iMessageWhenDone
MString m_sPromptedText

Detailed Description

Text prompt for ScreenMapEditor.

Definition at line 47 of file ScreenMapEditor.h.

Member Function Documentation

void MercuryTextPrompt::Init (  )  [virtual]

Reimplemented from MercuryObject.

Definition at line 1143 of file ScreenMapEditor.cpp.

void MercuryTextPrompt::Update ( const float  dTime  )  [virtual]

[internal] Update (call this update last when abstracting because Update can destroy the object)

Reimplemented from MercuryObject.

Definition at line 1173 of file ScreenMapEditor.cpp.

void MercuryTextPrompt::Message ( int  Message,
PStack data,
const MString name 
) [virtual]

Receive message (When subscribing to messages, you receive them via this command).

Reimplemented from MercuryMessageHandler.

Definition at line 1179 of file ScreenMapEditor.cpp.

void MercuryTextPrompt::PromptForText ( int  iMessageWhenDone,
MercuryScreen Notifier,
const MString sPrompt,
const MString sDefaultText,
bool  bAllowCancel = false,
bool  bSingleChar = false 

Definition at line 1237 of file ScreenMapEditor.cpp.

MercuryTextPrompt::CLASS_RTTI ( MercuryTextPrompt  ,

Member Data Documentation

MercurySprite MercuryTextPrompt::m_sTextInOverlay

Definition at line 57 of file ScreenMapEditor.h.

MercuryText MercuryTextPrompt::m_tTextInOverlayPrompt

Definition at line 58 of file ScreenMapEditor.h.

MercuryText MercuryTextPrompt::m_tTextInOverlayText

Definition at line 59 of file ScreenMapEditor.h.

bool MercuryTextPrompt::m_bPromptingForText

Definition at line 60 of file ScreenMapEditor.h.

bool MercuryTextPrompt::m_bSingleChar

Definition at line 61 of file ScreenMapEditor.h.

bool MercuryTextPrompt::m_bAllowCancel

Definition at line 62 of file ScreenMapEditor.h.

int MercuryTextPrompt::m_iMessageWhenDone

Definition at line 63 of file ScreenMapEditor.h.

MString MercuryTextPrompt::m_sPromptedText

Definition at line 64 of file ScreenMapEditor.h.

MercuryScreen* MercuryTextPrompt::m_objNotify

Definition at line 65 of file ScreenMapEditor.h.

The documentation for this class was generated from the following files:
Hosted by Logo