#include <dialog.h>
Inheritance diagram for tmessagedlg:

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 |
Definition at line 161 of file dialog.h.
| 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.
| 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().
int tmessagedlg::to[8] [protected] |
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] |
int tmessagedlg::blinkspeed [protected] |
1.5.1