AdminAuthDialog Class Reference

#include <AdminAuthDialog.h>

Inheritance diagram for AdminAuthDialog:

GLWWindow GLWButtonI GLWPanel GLWidget MetaClass

List of all members.

Public Member Functions

virtual void buttonDown (unsigned int id)
virtual void display ()

Static Public Member Functions

static AdminAuthDialoginstance ()

Protected Attributes

unsigned int okId_
unsigned int cancelId_
GLWTextBoxusername_
GLWTextBoxpassword_

Static Protected Attributes

static AdminAuthDialoginstance_ = 0

Private Member Functions

 AdminAuthDialog ()
virtual ~AdminAuthDialog ()


Detailed Description

Definition at line 28 of file AdminAuthDialog.h.


Constructor & Destructor Documentation

AdminAuthDialog::AdminAuthDialog (  )  [private]

Definition at line 40 of file AdminAuthDialog.cpp.

References GLWWindow::needCentered_.

AdminAuthDialog::~AdminAuthDialog (  )  [private, virtual]

Definition at line 46 of file AdminAuthDialog.cpp.


Member Function Documentation

AdminAuthDialog * AdminAuthDialog::instance (  )  [static]

Definition at line 31 of file AdminAuthDialog.cpp.

References instance_.

Referenced by ClientWindowSetup::addCommonComponents(), AdminCheckDialog::adminResult(), and ClientWindowSetup::setupGameWindows().

void AdminAuthDialog::buttonDown ( unsigned int  id  )  [virtual]

Implements GLWButtonI.

Definition at line 96 of file AdminAuthDialog.cpp.

References ComsAdminMessage::AdminLogin, GLWidget::getId(), ClientAdminResultHandler::getSid(), GLWTextBox::getText(), GLWWindowManager::hideWindow(), ClientAdminResultHandler::instance(), GLWWindowManager::instance(), okId_, password_, ComsMessageSender::sendToServer(), and username_.

void AdminAuthDialog::display (  )  [virtual]

Reimplemented from GLWPanel.

Definition at line 50 of file AdminAuthDialog.cpp.

References GLWPanel::addWidget(), GLWButton::ButtonFlagCancel, GLWButton::ButtonFlagCenterX, GLWButton::ButtonFlagOk, cancelId_, GLWPanel::clear(), GLWPanel::display(), GLWTextBox::eFlagPassword, GLWidget::getId(), GLWPanel::GLWPanel(), LANG_RESOURCE, GLWPanel::layout(), GLWPanel::LayoutGrid, GLWPanel::LayoutHorizontal, GLWPanel::LayoutVerticle, okId_, password_, GLWTextBox::setCurrent(), GLWPanel::setGridWidth(), GLWPanel::setLayout(), GLWPanel::SpaceAll, GLWPanel::SpaceLeft, GLWPanel::SpaceRight, GLWPanel::SpaceTop, and username_.


Member Data Documentation

AdminAuthDialog * AdminAuthDialog::instance_ = 0 [static, protected]

Definition at line 41 of file AdminAuthDialog.h.

Referenced by instance().

unsigned int AdminAuthDialog::okId_ [protected]

Definition at line 42 of file AdminAuthDialog.h.

Referenced by buttonDown(), and display().

unsigned int AdminAuthDialog::cancelId_ [protected]

Definition at line 42 of file AdminAuthDialog.h.

Referenced by display().

GLWTextBox* AdminAuthDialog::username_ [protected]

Definition at line 44 of file AdminAuthDialog.h.

Referenced by buttonDown(), and display().

GLWTextBox* AdminAuthDialog::password_ [protected]

Definition at line 45 of file AdminAuthDialog.h.

Referenced by buttonDown(), and display().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:00 2009 for Scorched3D by  doxygen 1.5.3