#include <MsgBoxDialog.h>

Public Member Functions | |
| void | show (const LangString &message) |
| virtual void | mouseDown (int button, float x, float y, bool &skipRest) |
| virtual void | mouseUp (int button, float x, float y, bool &skipRest) |
| virtual void | keyDown (char *buffer, unsigned int keyState, KeyboardHistory::HistoryElement *history, int hisCount, bool &skipRest) |
| virtual void | mouseWheel (float x, float y, float z, bool &skipRest) |
| virtual void | buttonDown (unsigned int id) |
Static Public Member Functions | |
| static MsgBoxDialog * | instance () |
Protected Attributes | |
| GLWTextButton * | okButton_ |
| GLWIcon * | icon_ |
| GLWLabel * | message_ |
Static Protected Attributes | |
| static MsgBoxDialog * | instance_ = 0 |
Private Member Functions | |
| MsgBoxDialog () | |
| virtual | ~MsgBoxDialog () |
Definition at line 28 of file MsgBoxDialog.h.
| MsgBoxDialog::MsgBoxDialog | ( | ) | [private] |
Definition at line 36 of file MsgBoxDialog.cpp.
References GLWPanel::addWidget(), GLWPanel::AlignCenterLeftRight, GLWPanel::AlignRight, GLWPanel::AlignTop, GLWButton::ButtonFlagCancel, GLWButton::ButtonFlagCenterX, GLWButton::ButtonFlagOk, GLWLabel::eMultiLine, S3D::getDataFile(), GLWPanel::GLWPanel(), icon_, TextureStore::instance(), LANG_RESOURCE, LANG_STRING, GLWPanel::layout(), GLWPanel::LayoutHorizontal, GLWPanel::LayoutVerticle, TextureStore::loadTexture(), message_, okButton_, GLWPanel::setLayout(), GLWidget::setToolTip(), GLWPanel::SpaceAll, GLWPanel::SpaceLeft, GLWPanel::SpaceRight, GLWPanel::SpaceTop, ToolTip::ToolTipHelp, and GLWWindow::windowLevel_.
| MsgBoxDialog::~MsgBoxDialog | ( | ) | [private, virtual] |
Definition at line 67 of file MsgBoxDialog.cpp.
| MsgBoxDialog * MsgBoxDialog::instance | ( | ) | [static] |
Definition at line 27 of file MsgBoxDialog.cpp.
References instance_.
Referenced by ClientWindowSetup::addCommonComponents(), ConnectDialog::connected(), SettingsSelectDialog::display(), NetworkSelectDialog::rowSelectedGames(), ClientConnectionAuthHandler::sendAuth(), ClientWindowSetup::setupGameWindows(), ClientWindowSetup::setupStartWindows(), and ConnectDialog::simulate().
| void MsgBoxDialog::show | ( | const LangString & | message | ) |
Definition at line 72 of file MsgBoxDialog.cpp.
References GLWLabel::calcWidth(), GLWidget::id_, GLWWindowManager::instance(), GLWPanel::layout(), message_, GLWLabel::setText(), and GLWWindowManager::showWindow().
Referenced by ConnectDialog::connected(), SettingsSelectDialog::display(), NetworkSelectDialog::rowSelectedGames(), ClientConnectionAuthHandler::sendAuth(), and ConnectDialog::simulate().
| void MsgBoxDialog::mouseDown | ( | int | button, | |
| float | x, | |||
| float | y, | |||
| bool & | skipRest | |||
| ) | [virtual] |
Reimplemented from GLWWindow.
Definition at line 89 of file MsgBoxDialog.cpp.
References GLWWindow::mouseDown().
| void MsgBoxDialog::mouseUp | ( | int | button, | |
| float | x, | |||
| float | y, | |||
| bool & | skipRest | |||
| ) | [virtual] |
Reimplemented from GLWWindow.
Definition at line 95 of file MsgBoxDialog.cpp.
References GLWWindow::mouseUp().
| void MsgBoxDialog::keyDown | ( | char * | buffer, | |
| unsigned int | keyState, | |||
| KeyboardHistory::HistoryElement * | history, | |||
| int | hisCount, | |||
| bool & | skipRest | |||
| ) | [virtual] |
Reimplemented from GLWWindow.
Definition at line 101 of file MsgBoxDialog.cpp.
References GLWWindow::keyDown().
| void MsgBoxDialog::mouseWheel | ( | float | x, | |
| float | y, | |||
| float | z, | |||
| bool & | skipRest | |||
| ) | [virtual] |
Reimplemented from GLWWindow.
Definition at line 109 of file MsgBoxDialog.cpp.
References GLWWindow::mouseWheel().
| void MsgBoxDialog::buttonDown | ( | unsigned int | id | ) | [virtual] |
Implements GLWButtonI.
Definition at line 81 of file MsgBoxDialog.cpp.
References GLWidget::getId(), GLWWindowManager::hideWindow(), GLWidget::id_, GLWWindowManager::instance(), and okButton_.
MsgBoxDialog * MsgBoxDialog::instance_ = 0 [static, protected] |
GLWTextButton* MsgBoxDialog::okButton_ [protected] |
GLWIcon* MsgBoxDialog::icon_ [protected] |
GLWLabel* MsgBoxDialog::message_ [protected] |
1.5.3