#include <AuthDialog.h>

Public Types | |
| enum | AuthRequired { eNameRequired = 1, ePasswordRequired = 2 } |
Public Member Functions | |
| virtual void | buttonDown (unsigned int id) |
| virtual void | display () |
| void | setRequiredAuth (unsigned int auth) |
Static Public Member Functions | |
| static AuthDialog * | instance () |
Protected Attributes | |
| unsigned int | okId_ |
| unsigned int | cancelId_ |
| unsigned int | auth_ |
| GLWTextBox * | username_ |
| GLWTextBox * | password_ |
Static Protected Attributes | |
| static AuthDialog * | instance_ = 0 |
Private Member Functions | |
| AuthDialog () | |
| virtual | ~AuthDialog () |
Definition at line 28 of file AuthDialog.h.
| AuthDialog::AuthDialog | ( | ) | [private] |
| AuthDialog::~AuthDialog | ( | ) | [private, virtual] |
Definition at line 46 of file AuthDialog.cpp.
| AuthDialog * AuthDialog::instance | ( | ) | [static] |
Definition at line 30 of file AuthDialog.cpp.
References instance_.
Referenced by ClientConnectionAuthHandler::processMessage(), and ClientWindowSetup::setupStartWindows().
| void AuthDialog::buttonDown | ( | unsigned int | id | ) | [virtual] |
Implements GLWButtonI.
Definition at line 99 of file AuthDialog.cpp.
References ClientConnectionAuthHandler::cancelAuth(), GLWidget::getId(), GLWTextBox::getText(), GLWWindowManager::hideWindow(), ClientConnectionAuthHandler::instance(), ClientParams::instance(), GLWWindowManager::instance(), okId_, password_, ClientConnectionAuthHandler::sendAuth(), ClientParams::setPassword(), ClientParams::setUserName(), and username_.
| void AuthDialog::display | ( | ) | [virtual] |
Reimplemented from GLWPanel.
Definition at line 50 of file AuthDialog.cpp.
References GLWPanel::addWidget(), auth_, GLWButton::ButtonFlagCancel, GLWButton::ButtonFlagCenterX, GLWButton::ButtonFlagOk, cancelId_, GLWPanel::clear(), GLWPanel::display(), GLWTextBox::eFlagPassword, eNameRequired, ePasswordRequired, GLWidget::getId(), GLWPanel::GLWPanel(), ClientParams::instance(), LANG_RESOURCE, LANG_STRING, GLWPanel::layout(), GLWPanel::LayoutGrid, GLWPanel::LayoutHorizontal, GLWPanel::LayoutVerticle, okId_, password_, GLWPanel::setGridWidth(), GLWPanel::setLayout(), GLWPanel::SpaceAll, GLWPanel::SpaceLeft, GLWPanel::SpaceRight, GLWPanel::SpaceTop, and username_.
| void AuthDialog::setRequiredAuth | ( | unsigned int | auth | ) | [inline] |
Definition at line 46 of file AuthDialog.h.
References auth_.
Referenced by ClientConnectionAuthHandler::processMessage().
AuthDialog * AuthDialog::instance_ = 0 [static, protected] |
unsigned int AuthDialog::okId_ [protected] |
unsigned int AuthDialog::cancelId_ [protected] |
unsigned int AuthDialog::auth_ [protected] |
GLWTextBox* AuthDialog::username_ [protected] |
GLWTextBox* AuthDialog::password_ [protected] |
1.5.3