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

Public Types

enum  { ReturnZero, ReturnOriginal }
 
- Public Types inherited from tdlgengine
typedef tbuttonpbutton
 

Public Member Functions

 StringEdit ()
 
void init (void)
 
virtual void run (void)
 
virtual void buttonpressed (int id)
 
- 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)
 
void clearkey (char id)
 
void addkey (int id, tkey key)
 
void addmarkedkey (int id, tkey key)
 
pbutton getbutton (int id)
 
virtual ~tdlgengine ()
 

Public Attributes

ASCString org
 
char nt [200]
 
enum StringEdit:: { ... }  onCancel
 
int action
 
int mid
 
char text [200]
 
int max
 
int min
 
- 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
 

Additional Inherited Members

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

Member Enumeration Documentation

anonymous enum
Enumerator
ReturnZero 
ReturnOriginal 

Definition at line 3824 of file dlg_box.cpp.

Constructor & Destructor Documentation

StringEdit::StringEdit ( )
inline

Definition at line 3823 of file dlg_box.cpp.

References onCancel, and ReturnZero.

Member Function Documentation

void StringEdit::buttonpressed ( int  id)
virtual

Reimplemented from tdlgengine.

Definition at line 3883 of file dlg_box.cpp.

References action, and tdlgengine::buttonpressed().

void StringEdit::init ( void  )
void StringEdit::run ( void  )
virtual

Member Data Documentation

int StringEdit::action

Definition at line 3825 of file dlg_box.cpp.

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

int StringEdit::max

Definition at line 3829 of file dlg_box.cpp.

int StringEdit::mid

Definition at line 3826 of file dlg_box.cpp.

int StringEdit::min

Definition at line 3829 of file dlg_box.cpp.

char StringEdit::nt[200]

Definition at line 3822 of file dlg_box.cpp.

Referenced by editString(), and init().

enum { ... } StringEdit::onCancel

Referenced by editString(), run(), and StringEdit().

ASCString StringEdit::org

Definition at line 3821 of file dlg_box.cpp.

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

char StringEdit::text[200]

Definition at line 3827 of file dlg_box.cpp.

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


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