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

Public Member Functions

 PasswordDialog (Password &crc, bool _firstTime, bool _cancelAllowed, bool _defaultAllowed, const ASCString &username)
 
bool getSuccess ()
 
int RunModal ()
 
- 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 Attributes

bool firstTime
 
bool cancelAllowed
 
bool defaultAllowed
 
- Protected Attributes inherited from ASC_PG_Dialog
PG_MessageObject * caller
 

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)
 

Detailed Description

Definition at line 28 of file pwd_dlg.cpp.

Constructor & Destructor Documentation

PasswordDialog::PasswordDialog ( Password crc,
bool  _firstTime,
bool  _cancelAllowed,
bool  _defaultAllowed,
const ASCString username 
)
inline

Definition at line 103 of file pwd_dlg.cpp.

References cancelAllowed, defaultAllowed, and firstTime.

Member Function Documentation

bool PasswordDialog::getSuccess ( )
inline

Definition at line 145 of file pwd_dlg.cpp.

Referenced by enterpassword().

int PasswordDialog::RunModal ( )
inline

Definition at line 150 of file pwd_dlg.cpp.

References ASC_PG_Dialog::RunModal().

Referenced by enterpassword().

Member Data Documentation

bool PasswordDialog::cancelAllowed
protected

Definition at line 100 of file pwd_dlg.cpp.

Referenced by PasswordDialog().

bool PasswordDialog::defaultAllowed
protected

Definition at line 101 of file pwd_dlg.cpp.

Referenced by PasswordDialog().

bool PasswordDialog::firstTime
protected

Definition at line 99 of file pwd_dlg.cpp.

Referenced by PasswordDialog().


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