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

Public Member Functions

 NewStringChooser (const ASCString &_title, const vector< ASCString > &_strings, const vector< ASCString > &_buttons, int defaultEntry)
 
int getButton ()
 
int getItem ()
 
- Public Member Functions inherited from ASC_PG_Dialog
 ASC_PG_Dialog (PG_Widget *parent, const PG_Rect &r, const ASCString &windowtext, WindowFlags flags=DEFAULT, const ASCString &style="Window", int heightTitlebar=25)
 
PG_Button * AddStandardButton (const ASCString &name)
 
void StandardButtonDirection (StandardButtonDirectonType dir)
 
int RunModal ()
 

Additional Inherited Members

- Public Types inherited from ASC_PG_Dialog
enum  StandardButtonDirectonType { Vertical, Horizontal }
 
- Static Public Member Functions inherited from ASC_PG_Dialog
static PG_Rect centerRectangle (const PG_Rect &rect)
 
- Protected Member Functions inherited from ASC_PG_Dialog
virtual bool closeWindow ()
 
bool quitModalLoopW (PG_Button *button, int value)
 
bool quitModalLoop (int value)
 
virtual bool eventKeyDown (const SDL_KeyboardEvent *key)
 
- Protected Attributes inherited from ASC_PG_Dialog
PG_MessageObject * caller
 

Detailed Description

Definition at line 656 of file paradialog.cpp.

Constructor & Destructor Documentation

NewStringChooser::NewStringChooser ( const ASCString _title,
const vector< ASCString > &  _strings,
const vector< ASCString > &  _buttons,
int  defaultEntry 
)
inline

Definition at line 679 of file paradialog.cpp.

References ASC_PG_Dialog::AddStandardButton().

Member Function Documentation

int NewStringChooser::getButton ( )
inline

Definition at line 700 of file paradialog.cpp.

Referenced by new_chooseString().

int NewStringChooser::getItem ( )
inline

Definition at line 704 of file paradialog.cpp.

Referenced by new_chooseString().


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