Advanced Strategic Command
Public Member Functions | Protected Member Functions | List of all members
SavegameSelectionWindow Class Reference

#include <fileselector.h>

Inheritance diagram for SavegameSelectionWindow:
Inheritance graph

Public Member Functions

 SavegameSelectionWindow (PG_Widget *parent, const PG_Rect &r, const ASCString &fileWildcard, bool save, bool overwriteMessage)
ASCString getFilename ()
- 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

void fileNameSelected (const ASCString &filename)
void fileNameEntered (ASCString filename)
- 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)

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 Attributes inherited from ASC_PG_Dialog
PG_MessageObject * caller

Detailed Description

Definition at line 111 of file fileselector.h.

Constructor & Destructor Documentation

SavegameSelectionWindow::SavegameSelectionWindow ( PG_Widget *  parent,
const PG_Rect &  r,
const ASCString fileWildcard,
bool  save,
bool  overwriteMessage 

Member Function Documentation

void SavegameSelectionWindow::fileNameEntered ( ASCString  filename)

Definition at line 382 of file fileselector.cpp.

References fileNameSelected(), and patimat().

Referenced by SavegameSelectionWindow().

void SavegameSelectionWindow::fileNameSelected ( const ASCString filename)
ASCString SavegameSelectionWindow::getFilename ( )

Definition at line 124 of file fileselector.h.

Referenced by selectSavegame().

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