#include <dlg_box.h>
Inheritance diagram for tviewtext:

Public Member Functions | |
| tviewtext () | |
| void | setparams (int xx1, int yy1, int xx2, int yy2, const char *ttxt, char clr, char bkgr) |
| void | setpos (int xx1, int yy1, int xx2, int yy2) |
| void | displaytext (void) |
| void | evalcommand (const char **s) |
| void | nextline (int einzug, const char *txtptr) |
| void | displaysingleline (char *t) |
| void | fillline (int x1, int x2) |
| void | setnewlineheight (int h) |
| virtual | ~tviewtext () |
Public Attributes | |
| int | tvt_x1 |
| int | tvt_y1 |
| int | tvt_x2 |
| int | tvt_y2 |
| int | tvt_xp |
| int | tvt_yp |
| int | tvt_starty |
| int | tvt_color |
| int | tvt_background |
| int | tvt_dispactive |
| int | eeinzug |
| int | aeinzug |
| int | tvt_maxlineheight |
| const char * | tvt_text |
| char * | actline |
| char * | tvt_firstlinebuf |
| tgraphmodeparameters | tvt_firstlinebufparm |
| int | tvt_firstlinebufheight |
Protected Types | |
| typedef tstartpoint * | pstartpoint |
Protected Attributes | |
| pstartpoint | tvt_startpoint |
| int | defaulttextcolor |
Classes | |
| struct | tstartpoint |
Definition at line 327 of file dlg_box.h.
typedef tstartpoint* tviewtext::pstartpoint [protected] |
| tviewtext::tviewtext | ( | ) |
| tviewtext::~tviewtext | ( | ) | [virtual] |
Definition at line 2977 of file dlg_box.cpp.
References tviewtext::tstartpoint::next, and tvt_startpoint.
| void tviewtext::setparams | ( | int | xx1, | |
| int | yy1, | |||
| int | xx2, | |||
| int | yy2, | |||
| const char * | ttxt, | |||
| char | clr, | |||
| char | bkgr | |||
| ) |
Definition at line 2665 of file dlg_box.cpp.
References activefontsettings, aeinzug, tgraphmodeparameters::byteperpix, tgraphmodeparameters::bytesperscanline, defaulttextcolor, eeinzug, tfontsettings::font, tfont::height, tgraphmodeparameters::resolutionx, tgraphmodeparameters::resolutiony, tgraphmodeparameters::scanlinelength, tgraphmodeparameters::scanlinenumber, tvt_background, tvt_color, tvt_dispactive, tvt_firstlinebufheight, tvt_firstlinebufparm, tvt_maxlineheight, tvt_startpoint, tvt_starty, tvt_text, tvt_x1, tvt_x2, tvt_y1, tvt_y2, and tgraphmodeparameters::windowstatus.
Referenced by thelpsystem::init(), and tviewanytext::init().
| void tviewtext::setpos | ( | int | xx1, | |
| int | yy1, | |||
| int | xx2, | |||
| int | yy2 | |||
| ) |
Definition at line 2657 of file dlg_box.cpp.
References tvt_x1, tvt_x2, tvt_y1, and tvt_y2.
Referenced by thelpsystem::buildgraphics(), and tviewanytext::redraw().
| void tviewtext::displaytext | ( | void | ) |
Definition at line 2693 of file dlg_box.cpp.
References activefontsettings, actline, tviewtext::tstartpoint::aeinzug, aeinzug, tviewtext::tstartpoint::background, tfontsettings::background, bar(), tfontsettings::color, defaulttextcolor, displaysingleline(), tviewtext::tstartpoint::eeinzug, eeinzug, evalcommand(), tviewtext::tstartpoint::font, tfontsettings::font, gettextwdth(), tviewtext::tstartpoint::height, tfontsettings::height, tfont::height, tfontsettings::justify, lefttext, tfontsettings::length, tgraphmodeparameters::linearaddress, tviewtext::tstartpoint::maxlineheight, tviewtext::tstartpoint::next, nextline(), npop, npush, s1, s5, schriften, Schriften::smallarial, tviewtext::tstartpoint::textcolor, tviewtext::tstartpoint::textpointer, tvt_background, tvt_color, tvt_dispactive, tvt_firstlinebuf, tvt_firstlinebufheight, tvt_firstlinebufparm, tvt_maxlineheight, tvt_startpoint, tvt_starty, tvt_text, tvt_x1, tvt_x2, tvt_xp, tvt_y1, tvt_y2, tvt_yp, tviewtext::tstartpoint::xpos, and tviewtext::tstartpoint::ypos.
Referenced by thelpsystem::buttonpressed(), tviewanytext::buttonpressed(), tviewtextwithscrolling::checkscrolling(), thelpsystem::init(), tviewanytext::init(), tviewanytext::redraw(), and thelpsystem::run().
| void tviewtext::evalcommand | ( | const char ** | s | ) |
Definition at line 2826 of file dlg_box.cpp.
References activefontsettings, aeinzug, Schriften::arial8, atoi(), tfontsettings::background, tfontsettings::color, eeinzug, fillline(), tfontsettings::font, tfontsettings::height, tfont::height, nextline(), s3, s4, schriften, setnewlineheight(), Schriften::smallarial, strnicmp, tvt_background, tvt_color, tvt_x1, and tvt_xp.
Referenced by displaytext().
| void tviewtext::nextline | ( | int | einzug, | |
| const char * | txtptr | |||
| ) |
Definition at line 2592 of file dlg_box.cpp.
References activefontsettings, actline, aeinzug, tviewtext::tstartpoint::aeinzug, tviewtext::tstartpoint::background, eeinzug, tviewtext::tstartpoint::eeinzug, fillline(), tfontsettings::font, tviewtext::tstartpoint::font, tfont::height, tfontsettings::height, tviewtext::tstartpoint::height, tviewtext::tstartpoint::maxlineheight, tviewtext::tstartpoint::next, tviewtext::tstartpoint::textcolor, tviewtext::tstartpoint::textpointer, tvt_background, tvt_color, tvt_dispactive, tvt_maxlineheight, tvt_startpoint, tvt_x1, tvt_x2, tvt_xp, tvt_yp, tviewtext::tstartpoint::xpos, and tviewtext::tstartpoint::ypos.
Referenced by displaytext(), and evalcommand().
| void tviewtext::displaysingleline | ( | char * | t | ) |
Definition at line 2622 of file dlg_box.cpp.
References activefontsettings, agmp, gettextwdth(), tfontsettings::height, tfontsettings::length, npop, npush, putimageprt(), showtext2(), tvt_dispactive, tvt_firstlinebuf, tvt_firstlinebufheight, tvt_firstlinebufparm, tvt_starty, tvt_x1, tvt_x2, tvt_xp, tvt_y1, tvt_y2, and tvt_yp.
Referenced by displaytext().
| void tviewtext::fillline | ( | int | x1, | |
| int | x2 | |||
| ) |
Definition at line 2574 of file dlg_box.cpp.
References activefontsettings, bar(), tfontsettings::height, tvt_background, tvt_dispactive, tvt_maxlineheight, tvt_starty, tvt_y1, tvt_y2, and tvt_yp.
Referenced by evalcommand(), and nextline().
| void tviewtext::setnewlineheight | ( | int | h | ) |
Definition at line 2547 of file dlg_box.cpp.
References activefontsettings, bar(), tfontsettings::font, tfont::height, tfontsettings::height, tvt_background, tvt_dispactive, tvt_maxlineheight, tvt_starty, tvt_x1, tvt_xp, tvt_y1, tvt_y2, and tvt_yp.
Referenced by evalcommand().
Definition at line 357 of file dlg_box.h.
Referenced by displaysingleline(), displaytext(), evalcommand(), nextline(), setnewlineheight(), setparams(), and setpos().
Definition at line 357 of file dlg_box.h.
Referenced by displaysingleline(), displaytext(), fillline(), setnewlineheight(), setparams(), and setpos().
Definition at line 357 of file dlg_box.h.
Referenced by displaysingleline(), displaytext(), nextline(), setparams(), and setpos().
Definition at line 357 of file dlg_box.h.
Referenced by displaysingleline(), displaytext(), fillline(), setnewlineheight(), setparams(), and setpos().
Definition at line 357 of file dlg_box.h.
Referenced by displaysingleline(), displaytext(), evalcommand(), nextline(), and setnewlineheight().
Definition at line 357 of file dlg_box.h.
Referenced by displaysingleline(), displaytext(), fillline(), thelpsystem::init(), tviewanytext::init(), nextline(), and setnewlineheight().
Definition at line 357 of file dlg_box.h.
Referenced by tviewtextwithscrolling::checkscrolling(), displaysingleline(), displaytext(), fillline(), thelpsystem::init(), tviewanytext::init(), setnewlineheight(), and setparams().
Definition at line 358 of file dlg_box.h.
Referenced by displaytext(), evalcommand(), nextline(), and setparams().
Definition at line 358 of file dlg_box.h.
Referenced by displaytext(), evalcommand(), fillline(), nextline(), setnewlineheight(), and setparams().
Definition at line 359 of file dlg_box.h.
Referenced by displaysingleline(), displaytext(), fillline(), thelpsystem::init(), tviewanytext::init(), nextline(), setnewlineheight(), and setparams().
Definition at line 360 of file dlg_box.h.
Referenced by displaytext(), evalcommand(), nextline(), and setparams().
Definition at line 360 of file dlg_box.h.
Referenced by displaytext(), evalcommand(), nextline(), and setparams().
Definition at line 361 of file dlg_box.h.
Referenced by displaytext(), fillline(), nextline(), setnewlineheight(), and setparams().
| const char* tviewtext::tvt_text |
| char* tviewtext::actline |
Definition at line 365 of file dlg_box.h.
Referenced by displaysingleline(), displaytext(), and setparams().
Definition at line 366 of file dlg_box.h.
Referenced by displaysingleline(), displaytext(), and setparams().
pstartpoint tviewtext::tvt_startpoint [protected] |
Definition at line 370 of file dlg_box.h.
Referenced by displaytext(), nextline(), setparams(), tviewtext(), and ~tviewtext().
int tviewtext::defaulttextcolor [protected] |
1.5.1