#include <HUDDialog.h>

Public Member Functions | |
| virtual void | buttonDown (unsigned int id) |
| virtual void | display () |
Static Public Member Functions | |
| static HUDDialog * | instance () |
Protected Attributes | |
| unsigned int | okId_ |
| unsigned int | cancelId_ |
| GLWCheckBoxText * | nameBox_ |
| GLWCheckBoxText * | sightBox_ |
| GLWCheckBoxText * | oldSightBox_ |
| GLWCheckBoxText * | colorBox_ |
| GLWCheckBoxText * | healthBox_ |
| GLWCheckBoxText * | iconBox_ |
Static Protected Attributes | |
| static HUDDialog * | instance_ = 0 |
Private Member Functions | |
| HUDDialog () | |
| virtual | ~HUDDialog () |
Definition at line 28 of file HUDDialog.h.
| 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.
| 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_.
HUDDialog * HUDDialog::instance_ = 0 [static, protected] |
unsigned int HUDDialog::okId_ [protected] |
unsigned int HUDDialog::cancelId_ [protected] |
GLWCheckBoxText* HUDDialog::nameBox_ [protected] |
GLWCheckBoxText* HUDDialog::sightBox_ [protected] |
GLWCheckBoxText* HUDDialog::oldSightBox_ [protected] |
GLWCheckBoxText* HUDDialog::colorBox_ [protected] |
GLWCheckBoxText* HUDDialog::healthBox_ [protected] |
GLWCheckBoxText* HUDDialog::iconBox_ [protected] |
1.5.3