tmessagedlg Class Reference

#include <dialog.h>

Inheritance diagram for tmessagedlg:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 tmessagedlg (void)
virtual void setup (void)
void inserttext (const ASCString &txt)
void run (void)
ASCString extracttext ()
 ~tmessagedlg ()

Protected Attributes

int to [8]
pparagraph firstparagraph
pparagraph actparagraph
int tx1
int ty1
int tx2
int ty2
int ok
int lastcursortick
int blinkspeed

Detailed Description

Definition at line 161 of file dialog.h.


Constructor & Destructor Documentation

tmessagedlg::tmessagedlg ( void   ) 

Definition at line 1920 of file dialog.cpp.

References blinkspeed, firstparagraph, and lastcursortick.

tmessagedlg::~tmessagedlg (  ) 

Definition at line 2024 of file dialog.cpp.

References actparagraph, firstparagraph, and tparagraph::next.


Member Function Documentation

void tmessagedlg::setup ( void   )  [virtual]

Reimplemented in MultilineEdit.

Definition at line 2034 of file dialog.cpp.

References actmap, GameMap::actplayer, tdlgengine::addbutton(), tdlgengine::addeingabe(), tdlgengine::addkey(), tdlgengine::clearkey(), cto_c, cto_s, cto_stp, dblue, Player::exist(), Player::getName(), ok, GameMap::player, tdialogbox::starty, to, tx1, tx2, ty1, ty2, tdlgengine::xsize, and tdlgengine::ysize.

void tmessagedlg::inserttext ( const ASCString txt  ) 

Definition at line 1927 of file dialog.cpp.

References actparagraph, tparagraph::addtext(), firstparagraph, and strnicmp.

Referenced by MultilineEdit::init().

void tmessagedlg::run ( void   )  [virtual]

Reimplemented from tdialogbox.

Reimplemented in MultilineEdit.

Definition at line 1973 of file dialog.cpp.

References actparagraph, tparagraph::addchar(), blinkspeed, cto_bspace, cto_down, cto_enter, cto_entf, cto_esc, cto_invvalue, cto_left, cto_right, cto_up, tparagraph::cut(), tparagraph::displaycursor(), tparagraph::erasechar(), lastcursortick, tparagraph::movecursor(), tdlgengine::prntkey, tdialogbox::run(), tdlgengine::taste, and ticker.

Referenced by MultilineEdit::run().

ASCString tmessagedlg::extracttext (  ) 

Definition at line 2010 of file dialog.cpp.

References actparagraph, tparagraph::addtext(), firstparagraph, tparagraph::next, and tparagraph::text.

Referenced by MultilineEdit::run().


Member Data Documentation

int tmessagedlg::to[8] [protected]

Definition at line 163 of file dialog.h.

Referenced by setup().

pparagraph tmessagedlg::firstparagraph [protected]

Definition at line 165 of file dialog.h.

Referenced by extracttext(), MultilineEdit::init(), inserttext(), tmessagedlg(), and ~tmessagedlg().

pparagraph tmessagedlg::actparagraph [protected]

Definition at line 166 of file dialog.h.

Referenced by extracttext(), MultilineEdit::init(), inserttext(), run(), and ~tmessagedlg().

int tmessagedlg::tx1 [protected]

Definition at line 168 of file dialog.h.

Referenced by MultilineEdit::init(), MultilineEdit::setup(), and setup().

int tmessagedlg::ty1 [protected]

Definition at line 168 of file dialog.h.

Referenced by MultilineEdit::init(), MultilineEdit::setup(), and setup().

int tmessagedlg::tx2 [protected]

Definition at line 168 of file dialog.h.

Referenced by MultilineEdit::init(), MultilineEdit::setup(), and setup().

int tmessagedlg::ty2 [protected]

Definition at line 168 of file dialog.h.

Referenced by MultilineEdit::init(), MultilineEdit::setup(), and setup().

int tmessagedlg::ok [protected]

Definition at line 168 of file dialog.h.

Referenced by MultilineEdit::buttonpressed(), MultilineEdit::run(), MultilineEdit::setup(), and setup().

int tmessagedlg::lastcursortick [protected]

Definition at line 169 of file dialog.h.

Referenced by run(), and tmessagedlg().

int tmessagedlg::blinkspeed [protected]

Definition at line 170 of file dialog.h.

Referenced by run(), and tmessagedlg().


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:47:51 2012 for Advanced Strategic Command by  doxygen 1.5.1