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

tviewanytext Class Reference

#include <dialog.h>

Inheritance diagram for tviewanytext:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void init (const char *title, const char *text, int xx1=50, int yy1=50, int xxsize=360, int yysize=360)
virtual void run (void)
virtual void buttonpressed (int id)
void redraw (void)
int getcapabilities (void)
void repaintscrollbar (void)

Public Attributes

const char * txt
char ok
char scrollbarvisible
char action
int textstart
int rightspace

Member Function Documentation

void tviewanytext::buttonpressed int  id  )  [virtual]
 

Reimplemented from tdlgengine.

Definition at line 1813 of file dialog.cpp.

References action, tdlgengine::buttonpressed(), and tviewtext::displaytext().

int tviewanytext::getcapabilities void   )  [inline, virtual]
 

Reimplemented from tdialogbox.

Definition at line 74 of file dialog.h.

void tviewanytext::init const char *  title,
const char *  text,
int  xx1 = 50,
int  yy1 = 50,
int  xxsize = 360,
int  yysize = 360
 

Definition at line 1734 of file dialog.cpp.

References action, tdlgengine::addbutton(), tdlgengine::addkey(), tdlgengine::addscrollbar(), black, tdialogbox::buildgraphics(), ct_enter, ct_esc, ct_space, dblue, tviewtext::displaytext(), dlg_in3d, tdialogbox::init(), rightspace, scrollbarvisible, tviewtext::setparams(), tdialogbox::setscrollspeed(), tdialogbox::starty, tviewtextwithscrolling::textsizey, tviewtextwithscrolling::textsizeycomplete, textstart, tdialogbox::title, tviewtext::tvt_dispactive, tviewtext::tvt_starty, tviewtext::tvt_yp, tdialogbox::windowstyle, tdlgengine::x1, tdlgengine::xsize, tdlgengine::y1, and tdlgengine::ysize.

Referenced by execuseraction(), tloadBImap::LoadFromFile(), UnitTypeTransformation::run(), viewjournal(), and viewVisibilityStatistics().

void tviewanytext::redraw void   )  [virtual]
 

Reimplemented from tdialogbox.

Definition at line 1789 of file dialog.cpp.

References activefontsettings, tfontsettings::background, black, tfontsettings::color, dblue, tviewtext::displaytext(), tfontsettings::font, tfontsettings::height, tfontsettings::justify, lefttext, tfontsettings::length, linesshown, tdialogbox::rahmen(), tdialogbox::redraw(), rightspace, schriften, tviewtext::setpos(), Schriften::smallarial, tviewtextwithscrolling::textsizey, textstart, tdlgengine::x1, tdlgengine::xsize, tdlgengine::y1, and tdlgengine::ysize.

void tviewanytext::repaintscrollbar void   )  [virtual]
 

Implements tviewtextwithscrolling.

Definition at line 1783 of file dialog.cpp.

References tdialogbox::enablebutton().

void tviewanytext::run void   )  [virtual]
 

Reimplemented from tdialogbox.

Definition at line 1823 of file dialog.cpp.

References action, tviewtextwithscrolling::checkscrolling(), mousevisible(), tdlgengine::prntkey, and tdialogbox::run().

Referenced by execuseraction(), tloadBImap::LoadFromFile(), UnitTypeTransformation::run(), viewjournal(), and viewVisibilityStatistics().


Member Data Documentation

char tviewanytext::action
 

Definition at line 64 of file dialog.h.

Referenced by buttonpressed(), init(), and run().

char tviewanytext::ok
 

Definition at line 61 of file dialog.h.

int tviewanytext::rightspace
 

Definition at line 68 of file dialog.h.

Referenced by init(), and redraw().

char tviewanytext::scrollbarvisible
 

Definition at line 63 of file dialog.h.

Referenced by init().

int tviewanytext::textstart
 

Definition at line 67 of file dialog.h.

Referenced by init(), and redraw().

const char* tviewanytext::txt
 

Definition at line 60 of file dialog.h.


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