Advanced Strategic Command
Public Member Functions | Protected Attributes | List of all members
tmessagedlg Class Reference

#include <dialog.h>

Inheritance diagram for tmessagedlg:
Inheritance graph
[legend]

Public Member Functions

 tmessagedlg (void)
 
virtual void setup (void)
 
void inserttext (const ASCString &txt)
 
void run (void)
 
ASCString extracttext ()
 
 ~tmessagedlg ()
 
- Public Member Functions inherited from tdialogbox
 tdialogbox ()
 
void init (void)
 
void buildgraphics (void)
 
virtual void changecoordinates (void)
 
void done (void)
 
virtual Uint8 checkvalue (int id, void *p)
 
void editfield (pbutton pb)
 
void editfield (int id)
 
void toggleswitch (pbutton pb)
 
virtual void enablebutton (int id)
 
virtual void disablebutton (int id)
 
virtual void execbutton (pbutton pb, char mouse)
 
void showbutton (int id)
 
void hidebutton (int id)
 
void setscrollspeed (char id, int speed)
 
void rebuildtaborder (void)
 
void showtabmark (int b)
 
virtual void setclipping (void)
 
virtual void paint (void)
 
virtual void redrawall (void)
 
virtual void redrawall2 (int xx1, int yy1, int xx2, int yy2)
 
virtual int getcapabilities (void)
 
void repaintdisplay (void)
 
- Public Member Functions inherited from tdlgengine
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)
 
void clearkey (char id)
 
void addkey (int id, tkey key)
 
void addmarkedkey (int id, tkey key)
 
pbutton getbutton (int id)
 
virtual ~tdlgengine ()
 

Protected Attributes

int to [8]
 
pparagraph firstparagraph
 
pparagraph actparagraph
 
int tx1
 
int ty1
 
int tx2
 
int ty2
 
int ok
 
int lastcursortick
 
int blinkspeed
 
- Protected Attributes inherited from tdialogbox
int virtualbufoffset
 
pdialogbox next
 
pdialogbox prev
 
int dlg_mode
 
int knopfsuccessful
 
- Protected Attributes inherited from tdlgengine
int x1
 
int y1
 
int xsize
 
int ysize
 

Additional Inherited Members

- Public Types inherited from tdlgengine
typedef tbuttonpbutton
 
- Public Attributes inherited from tdialogbox
int textcolor
 
int starty
 
int ms
 
void * tp
 
int imagesaved
 
const char * title
 
int windowstyle
 
ttaborder taborder [100]
 
int tabcount
 
int markedtab
 
int disablecolor
 
int boxstatus
 
- Public Attributes inherited from tdlgengine
pbutton firstbutton
 
tkey taste
 
int prntkey
 
- Static Public Attributes inherited from tdialogbox
static collategraphicoperationspcgo = NULL
 
- Protected Member Functions inherited from tdialogbox
virtual void redraw (void)
 
virtual void setvirtualframebuf (void)
 
virtual void copyvirtualframebuf (void)
 
void newknopf (int xx1, int yy1, int xx2, int yy2)
 
void knopfdruck (int xx1, int yy1, int xx2, int yy2)
 
void knopf (int xx1, int yy1, int xx2, int yy2)
 
void newknopfdruck4 (int xx1, int yy1, int xx2, int yy2)
 
void newknopfdruck3 (int xx1, int yy1, int xx2, int yy2)
 
void newknopfdruck2 (int xx1, int yy1, int xx2, int yy2)
 
void newknopfdruck (int xx1, int yy1, int xx2, int yy2)
 
void rahmen (bool invers, int x1, int y1, int x2, int y2)
 
void rahmen (bool invers, tmouserect rect)
 
void rahmen3 (const char *txt, int x1, int y1, int x2, int y2, int style)
 
void bar (tmouserect rect, int color)
 
void bar (int x1, int y1, int x2, int y2, int color)
 
virtual void dispeditstring (char *st, int x1, int y1)
 
void stredit (char *s, int x1, int y1, int wdth, int max)
 
virtual int gettextwdth_stredit (char *txt, pfont font)
 
virtual void lne (int x1, int y1, char *s, int position, int einfuegen)
 
void intedit (int *st, int x1, int y1, int wdth, int min, int max)
 
void paintsurface2 (int xx1, int yy1, int xx2, int yy2)
 
void paintsurface (int xx1, int yy1, int xx2, int yy2)
 
virtual ~tdialogbox ()
 
- Static Protected Attributes inherited from tdialogbox
static pdialogbox first = NULL
 

Detailed Description

Definition at line 161 of file dialog.h.

Constructor & Destructor Documentation

tmessagedlg::tmessagedlg ( void  )

Definition at line 1918 of file dialog.cpp.

References blinkspeed, firstparagraph, and lastcursortick.

tmessagedlg::~tmessagedlg ( )

Definition at line 2022 of file dialog.cpp.

References actparagraph, and firstparagraph.

Member Function Documentation

ASCString tmessagedlg::extracttext ( )

Definition at line 2008 of file dialog.cpp.

References actparagraph, tparagraph::addtext(), firstparagraph, and tparagraph::text.

Referenced by MultilineEdit::run().

void tmessagedlg::inserttext ( const ASCString txt)

Definition at line 1925 of file dialog.cpp.

References actparagraph, firstparagraph, and strnicmp.

Referenced by MultilineEdit::init().

void tmessagedlg::run ( void  )
virtual
void tmessagedlg::setup ( void  )
virtual

Member Data Documentation

pparagraph tmessagedlg::actparagraph
protected

Definition at line 166 of file dialog.h.

Referenced by extracttext(), MultilineEdit::init(), inserttext(), run(), and ~tmessagedlg().

int tmessagedlg::blinkspeed
protected

Definition at line 170 of file dialog.h.

Referenced by run(), and tmessagedlg().

pparagraph tmessagedlg::firstparagraph
protected

Definition at line 165 of file dialog.h.

Referenced by extracttext(), MultilineEdit::init(), inserttext(), tmessagedlg(), and ~tmessagedlg().

int tmessagedlg::lastcursortick
protected

Definition at line 169 of file dialog.h.

Referenced by run(), and tmessagedlg().

int tmessagedlg::ok
protected
int tmessagedlg::to[8]
protected

Definition at line 163 of file dialog.h.

Referenced by setup().

int tmessagedlg::tx1
protected

Definition at line 168 of file dialog.h.

Referenced by MultilineEdit::init(), setup(), and MultilineEdit::setup().

int tmessagedlg::tx2
protected

Definition at line 168 of file dialog.h.

Referenced by MultilineEdit::init(), setup(), and MultilineEdit::setup().

int tmessagedlg::ty1
protected

Definition at line 168 of file dialog.h.

Referenced by MultilineEdit::init(), setup(), and MultilineEdit::setup().

int tmessagedlg::ty2
protected

Definition at line 168 of file dialog.h.

Referenced by MultilineEdit::init(), setup(), and MultilineEdit::setup().


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