Advanced Strategic Command
Classes | Public Member Functions | Public Attributes | Protected Types | Protected Attributes | List of all members
tviewtext Class Reference

#include <dlg_box.h>

Inheritance diagram for tviewtext:
Inheritance graph
[legend]

Classes

struct  tstartpoint
 

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
 

Detailed Description

Definition at line 327 of file dlg_box.h.

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 2965 of file dlg_box.cpp.

References tvt_startpoint.

tviewtext::~tviewtext ( )
virtual

Definition at line 2971 of file dlg_box.cpp.

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

Member Function Documentation

void tviewtext::displaysingleline ( char *  t)
void tviewtext::displaytext ( void  )
void tviewtext::evalcommand ( const char **  s)
void tviewtext::fillline ( int  x1,
int  x2 
)
void tviewtext::nextline ( int  einzug,
const char *  txtptr 
)
void tviewtext::setnewlineheight ( int  h)
void tviewtext::setparams ( int  xx1,
int  yy1,
int  xx2,
int  yy2,
const char *  ttxt,
char  clr,
char  bkgr 
)
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().

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
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
const char* tviewtext::tvt_text

Definition at line 362 of file dlg_box.h.

Referenced by displaytext(), and setparams().

int tviewtext::tvt_x1
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

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