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

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

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 ( )

Definition at line 612 of file weatherdialog.cpp.

Member Function Documentation

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

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

Definition at line 46 of file weatherdialog.h.

Referenced by buildUpForm().

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

Definition at line 48 of file weatherdialog.h.

Referenced by buildUpForm().

const int ChanceSettingsDialog::xsize = 400

Definition at line 49 of file weatherdialog.h.

Referenced by buildUpForm().

const int ChanceSettingsDialog::ysize = 512

Definition at line 50 of file weatherdialog.h.

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