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

#include <dlg_box.h>

Inheritance diagram for tstringselect:
Inheritance graph
[legend]

Public Member Functions

void init (void)
 
 tstringselect ()
 
virtual void setup (void)
 
virtual void run (void)
 
virtual void buttonpressed (int id)
 
void scrollbar_on (void)
 
void viewtext (void)
 
virtual void resettextfield (void)
 
virtual void get_text (int nr)
 
void done (void)
 
- 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

char txt [2000]
 
int ok
 
int sy
 
int ey
 
int sx
 
int ex
 
int action
 
int dx
 
int dk
 
int msel
 
int mouseselect
 
int redline
 
int lnshown
 
int numberoflines
 
int firstvisibleline
 
int startpos
 
int scrollbarvisible
 
- 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

- Public Types inherited from tdlgengine
typedef tbuttonpbutton
 
- 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 414 of file dlg_box.h.

Constructor & Destructor Documentation

tstringselect::tstringselect ( )

Definition at line 3415 of file dlg_box.cpp.

References firstvisibleline, numberoflines, redline, and startpos.

Member Function Documentation

void tstringselect::buttonpressed ( int  id)
virtual
void tstringselect::done ( void  )
void tstringselect::get_text ( int  nr)
virtual

Reimplemented in ChooseString, StringSelector, and PlayListSelector.

Definition at line 3574 of file dlg_box.cpp.

References txt.

Referenced by viewtext().

void tstringselect::init ( void  )
void tstringselect::resettextfield ( void  )
virtual
void tstringselect::run ( void  )
virtual
void tstringselect::scrollbar_on ( void  )
void tstringselect::setup ( void  )
virtual

Reimplemented in ChooseString, StringSelector, and PlayListSelector.

Definition at line 3471 of file dlg_box.cpp.

Referenced by init().

void tstringselect::viewtext ( void  )

Member Data Documentation

int tstringselect::action
int tstringselect::dk

Definition at line 419 of file dlg_box.h.

Referenced by init(), and run().

int tstringselect::dx

Definition at line 418 of file dlg_box.h.

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

int tstringselect::ex

Definition at line 418 of file dlg_box.h.

Referenced by init(), resettextfield(), scrollbar_on(), and viewtext().

int tstringselect::ey
int tstringselect::firstvisibleline

Definition at line 420 of file dlg_box.h.

Referenced by buttonpressed(), init(), run(), scrollbar_on(), tstringselect(), and viewtext().

int tstringselect::lnshown

Definition at line 420 of file dlg_box.h.

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

int tstringselect::mouseselect

Definition at line 420 of file dlg_box.h.

Referenced by run().

int tstringselect::msel

Definition at line 420 of file dlg_box.h.

Referenced by run().

int tstringselect::numberoflines
int tstringselect::ok

Definition at line 417 of file dlg_box.h.

int tstringselect::redline
int tstringselect::scrollbarvisible

Definition at line 421 of file dlg_box.h.

Referenced by init(), and scrollbar_on().

int tstringselect::startpos
int tstringselect::sx

Definition at line 418 of file dlg_box.h.

Referenced by init(), resettextfield(), and viewtext().

int tstringselect::sy

Definition at line 418 of file dlg_box.h.

Referenced by init(), resettextfield(), run(), scrollbar_on(), and viewtext().

char tstringselect::txt[2000]

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