Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

tviewtext Class Reference

#include <dlg_box.h>

Inheritance diagram for tviewtext:

Inheritance graph
[legend]
List of all members.

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 tstartpointpstartpoint

Protected Attributes

pstartpoint tvt_startpoint
int defaulttextcolor

Classes

struct  tstartpoint

Member Typedef Documentation

typedef tstartpoint* tviewtext::pstartpoint [protected]
 

Definition at line 342 of file dlg_box.h.


Constructor & Destructor Documentation

tviewtext::tviewtext  ) 
 

Definition at line 2969 of file dlg_box.cpp.

References tvt_startpoint.

tviewtext::~tviewtext  )  [virtual]
 

Definition at line 2975 of file dlg_box.cpp.

References tviewtext::tstartpoint::next, and tvt_startpoint.


Member Function Documentation

void tviewtext::displaysingleline char *  t  ) 
 

Definition at line 2620 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::displaytext void   ) 
 

Definition at line 2691 of file dlg_box.cpp.

References activefontsettings, actline, aeinzug, bar(), defaulttextcolor, displaysingleline(), eeinzug, evalcommand(), tfontsettings::font, gettextwdth(), tfont::height, lefttext, tgraphmodeparameters::linearaddress, tviewtext::tstartpoint::next, nextline(), npop, npush, s1, s5, schriften, Schriften::smallarial, 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, 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 2824 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::fillline int  x1,
int  x2
 

Definition at line 2572 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::nextline int  einzug,
const char *  txtptr
 

Definition at line 2590 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::setnewlineheight int  h  ) 
 

Definition at line 2545 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().

void tviewtext::setparams int  xx1,
int  yy1,
int  xx2,
int  yy2,
const char *  ttxt,
char  clr,
char  bkgr
 

Definition at line 2663 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 2655 of file dlg_box.cpp.

References tvt_x1, tvt_x2, tvt_y1, and tvt_y2.

Referenced by thelpsystem::buildgraphics(), and tviewanytext::redraw().


Member Data Documentation

char* tviewtext::actline
 

Definition at line 363 of file dlg_box.h.

Referenced by displaytext(), and nextline().

int tviewtext::aeinzug
 

Definition at line 360 of file dlg_box.h.

Referenced by displaytext(), evalcommand(), nextline(), and setparams().

int tviewtext::defaulttextcolor [protected]
 

Definition at line 371 of file dlg_box.h.

Referenced by displaytext(), and setparams().

int tviewtext::eeinzug
 

Definition at line 360 of file dlg_box.h.

Referenced by displaytext(), evalcommand(), nextline(), and setparams().

int tviewtext::tvt_background
 

Definition at line 358 of file dlg_box.h.

Referenced by displaytext(), evalcommand(), fillline(), nextline(), setnewlineheight(), and setparams().

int tviewtext::tvt_color
 

Definition at line 358 of file dlg_box.h.

Referenced by displaytext(), evalcommand(), nextline(), and setparams().

int tviewtext::tvt_dispactive
 

Definition at line 359 of file dlg_box.h.

Referenced by displaysingleline(), displaytext(), fillline(), thelpsystem::init(), tviewanytext::init(), nextline(), setnewlineheight(), and setparams().

char* tviewtext::tvt_firstlinebuf
 

Definition at line 364 of file dlg_box.h.

Referenced by displaysingleline(), and displaytext().

int tviewtext::tvt_firstlinebufheight
 

Definition at line 366 of file dlg_box.h.

Referenced by displaysingleline(), displaytext(), and setparams().

tgraphmodeparameters tviewtext::tvt_firstlinebufparm
 

Definition at line 365 of file dlg_box.h.

Referenced by displaysingleline(), displaytext(), and setparams().

int tviewtext::tvt_maxlineheight
 

Definition at line 361 of file dlg_box.h.

Referenced by displaytext(), fillline(), nextline(), setnewlineheight(), 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::tvt_starty
 

Definition at line 357 of file dlg_box.h.

Referenced by tviewtextwithscrolling::checkscrolling(), displaysingleline(), displaytext(), fillline(), thelpsystem::init(), tviewanytext::init(), setnewlineheight(), and setparams().

const char* tviewtext::tvt_text
 

Definition at line 362 of file dlg_box.h.

Referenced by displaytext(), and setparams().

int tviewtext::tvt_x1
 

Definition at line 357 of file dlg_box.h.

Referenced by displaysingleline(), displaytext(), evalcommand(), nextline(), setnewlineheight(), setparams(), and setpos().

int tviewtext::tvt_x2
 

Definition at line 357 of file dlg_box.h.

Referenced by displaysingleline(), displaytext(), nextline(), setparams(), and setpos().

int tviewtext::tvt_xp
 

Definition at line 357 of file dlg_box.h.

Referenced by displaysingleline(), displaytext(), evalcommand(), nextline(), and setnewlineheight().

int tviewtext::tvt_y1
 

Definition at line 357 of file dlg_box.h.

Referenced by displaysingleline(), displaytext(), fillline(), setnewlineheight(), setparams(), and setpos().

int tviewtext::tvt_y2
 

Definition at line 357 of file dlg_box.h.

Referenced by displaysingleline(), displaytext(), fillline(), setnewlineheight(), setparams(), and setpos().

int tviewtext::tvt_yp
 

Definition at line 357 of file dlg_box.h.

Referenced by displaysingleline(), displaytext(), fillline(), thelpsystem::init(), tviewanytext::init(), nextline(), and setnewlineheight().


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:21:59 2008 for Advanced Strategic Command by  doxygen 1.4.2