Advanced Strategic Command
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
ChanceSettingsDialog Class Referenceabstract

#include <weatherdialog.h>

Inheritance diagram for ChanceSettingsDialog:
Inheritance graph
[legend]

Public Member Functions

 ChanceSettingsDialog (std::string title)
 
virtual ~ChanceSettingsDialog ()
 
virtual bool closeWindow ()
 
- 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 ()
 

Protected Member Functions

virtual void buildUpForm (const vector< string > &labelVec)
 
- Protected Member Functions inherited from ASC_PG_Dialog
bool quitModalLoopW (PG_Button *button, int value)
 
bool quitModalLoop (int value)
 
virtual bool eventKeyDown (const SDL_KeyboardEvent *key)
 

Protected Attributes

vector< PG_LineEdit * > chances
 
vector< PG_Label * > labels
 
PG_Label * note
 
- Protected Attributes inherited from ASC_PG_Dialog
PG_MessageObject * caller
 

Static Protected Attributes

static const int xsize = 400
 
static const int ysize = 512
 

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)
 

Detailed Description

Author
Kevin Hirschmann

Definition at line 27 of file weatherdialog.h.

Constructor & Destructor Documentation

ChanceSettingsDialog::ChanceSettingsDialog ( std::string  title)

Definition at line 610 of file weatherdialog.cpp.

ChanceSettingsDialog::~ChanceSettingsDialog ( )
virtual

Definition at line 612 of file weatherdialog.cpp.

Member Function Documentation

void ChanceSettingsDialog::buildUpForm ( const vector< string > &  labelVec)
protectedvirtual
virtual bool ChanceSettingsDialog::closeWindow ( )
inlinevirtual

Reimplemented from ASC_PG_Dialog.

Definition at line 33 of file weatherdialog.h.

References ASC_PG_Dialog::quitModalLoop().

Referenced by buildUpForm().

Member Data Documentation

vector<PG_LineEdit*> ChanceSettingsDialog::chances
protected

Definition at line 46 of file weatherdialog.h.

Referenced by buildUpForm().

vector<PG_Label*> ChanceSettingsDialog::labels
protected
PG_Label* ChanceSettingsDialog::note
protected

Definition at line 48 of file weatherdialog.h.

Referenced by buildUpForm().

const int ChanceSettingsDialog::xsize = 400
staticprotected

Definition at line 49 of file weatherdialog.h.

Referenced by buildUpForm().

const int ChanceSettingsDialog::ysize = 512
staticprotected

Definition at line 50 of file weatherdialog.h.


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