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

#include <fileselector.h>

Inheritance diagram for FileSelectionWindow:
Inheritance graph
[legend]

Public Member Functions

 FileSelectionWindow (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 62 of file fileselector.h.

Constructor & Destructor Documentation

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

Member Function Documentation

void FileSelectionWindow::fileNameEntered ( ASCString  filename)
protected

Definition at line 243 of file fileselector.cpp.

References fileNameSelected(), and patimat().

Referenced by FileSelectionWindow().

void FileSelectionWindow::fileNameSelected ( const ASCString filename)
protected
ASCString FileSelectionWindow::getFilename ( )
inline

Definition at line 75 of file fileselector.h.

Referenced by selectFile().


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