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

#include <dlg_box.h>

Inheritance diagram for tdlgengine:
Inheritance graph
[legend]

Classes

struct  tbutton
 
struct  ttaborder
 

Public Types

typedef tbuttonpbutton
 

Public Member Functions

void addbutton (const char *ltxt, int lx1, int ly1, int lx2, int ly2, int lart, int lstyle, int lid, bool enabled)
 
void addbutton (const char *ltxt, tmouserect rect1, int lart, int lstyle, int lid, bool enabled)
 
void addeingabe (int lid, void *data, int min, int max)
 
void addscrollbar (int lx1, int ly1, int lx2, int ly2, int *numberofitems, int itemsvisible, int *actitem, int lid, int keys)
 
void addscrollbar (tmouserect rec, int *numberofitems, int itemsvisible, int *actitem, int lid, int keys)
 
void addDropDown (int x1, int y1, int x2, int y2, int ID, const char **entries, int entrynum, int *pos)
 
virtual void buttonpressed (int id)
 
virtual void showbutton (int id)=0
 
void clearkey (char id)
 
void addkey (int id, tkey key)
 
void addmarkedkey (int id, tkey key)
 
pbutton getbutton (int id)
 
virtual ~tdlgengine ()
 

Public Attributes

pbutton firstbutton
 
tkey taste
 
int prntkey
 

Protected Attributes

int x1
 
int y1
 
int xsize
 
int ysize
 

Detailed Description

Definition at line 38 of file dlg_box.h.

Member Typedef Documentation

Definition at line 76 of file dlg_box.h.

Constructor & Destructor Documentation

virtual tdlgengine::~tdlgengine ( )
inlinevirtual

Definition at line 150 of file dlg_box.h.

Member Function Documentation

void tdlgengine::addbutton ( const char *  ltxt,
int  lx1,
int  ly1,
int  lx2,
int  ly2,
int  lart,
int  lstyle,
int  lid,
bool  enabled 
)
void tdlgengine::addbutton ( const char *  ltxt,
tmouserect  rect1,
int  lart,
int  lstyle,
int  lid,
bool  enabled 
)

Definition at line 459 of file dlg_box.cpp.

References addbutton(), tmouserect::x1, tmouserect::x2, tmouserect::y1, and tmouserect::y2.

void tdlgengine::addDropDown ( int  x1,
int  y1,
int  x2,
int  y2,
int  ID,
const char **  entries,
int  entrynum,
int *  pos 
)
void tdlgengine::addeingabe ( int  lid,
void *  data,
int  min,
int  max 
)
void tdlgengine::addkey ( int  id,
tkey  key 
)
void tdlgengine::addmarkedkey ( int  id,
tkey  key 
)
void tdlgengine::addscrollbar ( int  lx1,
int  ly1,
int  lx2,
int  ly2,
int *  numberofitems,
int  itemsvisible,
int *  actitem,
int  lid,
int  keys 
)
void tdlgengine::addscrollbar ( tmouserect  rec,
int *  numberofitems,
int  itemsvisible,
int *  actitem,
int  lid,
int  keys 
)

Definition at line 527 of file dlg_box.cpp.

References addscrollbar(), tmouserect::x1, tmouserect::x2, tmouserect::y1, and tmouserect::y2.

void tdlgengine::buttonpressed ( int  id)
virtual
void tdlgengine::clearkey ( char  id)
tdlgengine::pbutton tdlgengine::getbutton ( int  id)

Definition at line 361 of file dlg_box.cpp.

References firstbutton, tdlgengine::tbutton::id, and tdlgengine::tbutton::next.

virtual void tdlgengine::showbutton ( int  id)
pure virtual

Implemented in tdialogbox.

Referenced by buttonpressed().

Member Data Documentation

pbutton tdlgengine::firstbutton
int tdlgengine::prntkey

Definition at line 89 of file dlg_box.h.

Referenced by tviewanytext::run(), tdialogbox::run(), and tmessagedlg::run().

tkey tdlgengine::taste
int tdlgengine::x1
protected
int tdlgengine::xsize
protected
int tdlgengine::y1
protected
int tdlgengine::ysize
protected

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