HUDDialog Class Reference

#include <HUDDialog.h>

Inheritance diagram for HUDDialog:

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 HUDDialoginstance ()

Protected Attributes

unsigned int okId_
unsigned int cancelId_
GLWCheckBoxTextnameBox_
GLWCheckBoxTextsightBox_
GLWCheckBoxTextoldSightBox_
GLWCheckBoxTextcolorBox_
GLWCheckBoxTexthealthBox_
GLWCheckBoxTexticonBox_

Static Protected Attributes

static HUDDialoginstance_ = 0

Private Member Functions

 HUDDialog ()
virtual ~HUDDialog ()


Detailed Description

Definition at line 28 of file HUDDialog.h.


Constructor & Destructor Documentation

HUDDialog::HUDDialog (  )  [private]

Definition at line 37 of file HUDDialog.cpp.

References GLWPanel::addWidget(), GLWButton::ButtonFlagCancel, GLWButton::ButtonFlagCenterX, GLWButton::ButtonFlagOk, cancelId_, colorBox_, GLWidget::getId(), GLWPanel::GLWPanel(), healthBox_, iconBox_, LANG_RESOURCE, GLWPanel::layout(), GLWPanel::LayoutHorizontal, GLWPanel::LayoutVerticle, nameBox_, GLWWindow::needCentered_, okId_, oldSightBox_, GLWPanel::setLayout(), sightBox_, GLWPanel::SpaceAll, GLWPanel::SpaceLeft, GLWPanel::SpaceRight, and GLWPanel::SpaceTop.

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

Definition at line 72 of file HUDDialog.cpp.


Member Function Documentation

HUDDialog * HUDDialog::instance (  )  [static]

Definition at line 28 of file HUDDialog.cpp.

References instance_.

Referenced by ClientWindowSetup::addCommonComponents().

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

Implements GLWButtonI.

Definition at line 94 of file HUDDialog.cpp.

References colorBox_, GLWCheckBoxText::getCheckBox(), OptionsDisplay::getDrawPlayerColorEntry(), OptionsDisplay::getDrawPlayerHealthEntry(), OptionsDisplay::getDrawPlayerIconsEntry(), OptionsDisplay::getDrawPlayerNamesEntry(), OptionsDisplay::getDrawPlayerSightEntry(), GLWidget::getId(), OptionsDisplay::getOldSightPositionEntry(), GLWCheckBox::getState(), healthBox_, GLWWindowManager::hideWindow(), iconBox_, GLWWindowManager::instance(), OptionsDisplay::instance(), nameBox_, okId_, oldSightBox_, OptionEntryBool::setValue(), and sightBox_.

void HUDDialog::display (  )  [virtual]

Reimplemented from GLWPanel.

Definition at line 76 of file HUDDialog.cpp.

References colorBox_, GLWPanel::display(), GLWCheckBoxText::getCheckBox(), healthBox_, iconBox_, OptionsDisplay::instance(), nameBox_, oldSightBox_, GLWCheckBox::setState(), and sightBox_.


Member Data Documentation

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

Definition at line 41 of file HUDDialog.h.

Referenced by instance().

unsigned int HUDDialog::okId_ [protected]

Definition at line 42 of file HUDDialog.h.

Referenced by buttonDown(), and HUDDialog().

unsigned int HUDDialog::cancelId_ [protected]

Definition at line 42 of file HUDDialog.h.

Referenced by HUDDialog().

GLWCheckBoxText* HUDDialog::nameBox_ [protected]

Definition at line 43 of file HUDDialog.h.

Referenced by buttonDown(), display(), and HUDDialog().

GLWCheckBoxText* HUDDialog::sightBox_ [protected]

Definition at line 44 of file HUDDialog.h.

Referenced by buttonDown(), display(), and HUDDialog().

GLWCheckBoxText* HUDDialog::oldSightBox_ [protected]

Definition at line 45 of file HUDDialog.h.

Referenced by buttonDown(), display(), and HUDDialog().

GLWCheckBoxText* HUDDialog::colorBox_ [protected]

Definition at line 46 of file HUDDialog.h.

Referenced by buttonDown(), display(), and HUDDialog().

GLWCheckBoxText* HUDDialog::healthBox_ [protected]

Definition at line 47 of file HUDDialog.h.

Referenced by buttonDown(), display(), and HUDDialog().

GLWCheckBoxText* HUDDialog::iconBox_ [protected]

Definition at line 48 of file HUDDialog.h.

Referenced by buttonDown(), display(), and HUDDialog().


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