Advanced Strategic Command
Public Member Functions | List of all members
tgiveunitawaydlg Class Reference
Inheritance diagram for tgiveunitawaydlg:
Inheritance graph
[legend]

Public Member Functions

void init (MapField *fld)
 
void run (const Context &context)
 
void buttonpressed (int id)
 
- Public Member Functions inherited from tdialogbox
 tdialogbox ()
 
void init (void)
 
void buildgraphics (void)
 
virtual void changecoordinates (void)
 
virtual void run (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)
 
void clearkey (char id)
 
void addkey (int id, tkey key)
 
void addmarkedkey (int id, tkey key)
 
pbutton getbutton (int id)
 
virtual ~tdlgengine ()
 

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 ()
 
- 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
 
- Static Protected Attributes inherited from tdialogbox
static pdialogbox first = NULL
 

Detailed Description

Definition at line 504 of file gamedlg.cpp.

Member Function Documentation

void tgiveunitawaydlg::buttonpressed ( int  id)
virtual

Reimplemented from tdlgengine.

Definition at line 582 of file gamedlg.cpp.

References displaymessage().

void tgiveunitawaydlg::init ( MapField fld)
void tgiveunitawaydlg::run ( const Context context)

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