#include <SkipAllDialog.h>

Public Member Functions | |
| virtual void | buttonDown (unsigned int id) |
| virtual void | windowInit (const unsigned state) |
| virtual void | simulate (float frameTime) |
| virtual void | display () |
Static Public Member Functions | |
| static SkipAllDialog * | instance () |
Protected Attributes | |
| unsigned int | cancelId_ |
| unsigned int | nowId_ |
| GLWLabel * | label_ |
| unsigned int | startTime_ |
| bool | skipAll_ |
Static Protected Attributes | |
| static SkipAllDialog * | instance_ = 0 |
Private Member Functions | |
| SkipAllDialog () | |
| virtual | ~SkipAllDialog () |
Definition at line 28 of file SkipAllDialog.h.
| SkipAllDialog::SkipAllDialog | ( | ) | [private] |
Definition at line 43 of file SkipAllDialog.cpp.
References GLWPanel::addWidget(), GLWButton::ButtonFlagCancel, GLWButton::ButtonFlagCenterX, cancelId_, GLWidget::getId(), label_, LANG_RESOURCE, and nowId_.
| SkipAllDialog::~SkipAllDialog | ( | ) | [private, virtual] |
Definition at line 54 of file SkipAllDialog.cpp.
| SkipAllDialog * SkipAllDialog::instance | ( | ) | [static] |
Definition at line 34 of file SkipAllDialog.cpp.
References instance_.
Referenced by ClientWindowSetup::setupGameWindows().
| void SkipAllDialog::buttonDown | ( | unsigned int | id | ) | [virtual] |
Implements GLWButtonI.
Definition at line 113 of file SkipAllDialog.cpp.
References cancelId_, TankContainer::getCurrentTank(), Tank::getState(), ScorchedContext::getTankContainer(), GLWWindowManager::hideWindow(), GLWidget::id_, GLWWindowManager::instance(), ScorchedClient::instance(), nowId_, TankState::setSkipShots(), and startTime_.
| void SkipAllDialog::windowInit | ( | const unsigned | state | ) | [virtual] |
Reimplemented from GLWWindow.
Definition at line 90 of file SkipAllDialog.cpp.
References TankContainer::getCurrentTank(), TankState::getSkipShots(), Tank::getState(), ScorchedContext::getTankContainer(), GLWWindowManager::hideWindow(), GLWidget::id_, GLWWindowManager::instance(), ScorchedClient::instance(), GLWWindowManager::showWindow(), and skipAll_.
| void SkipAllDialog::simulate | ( | float | frameTime | ) | [virtual] |
Reimplemented from GLWPanel.
Definition at line 59 of file SkipAllDialog.cpp.
References S3D::formatStringBuffer(), TankContainer::getCurrentTank(), ScorchedContext::getTankContainer(), GLWWindowManager::hideWindow(), GLWidget::id_, GLWWindowManager::instance(), ScorchedClient::instance(), int(), label_, LANG_RESOURCE_1, GLWLabel::setText(), GLWPanel::simulate(), skipAll_, TankKeyboardControlUtil::skipShot(), and startTime_.
| void SkipAllDialog::display | ( | ) | [virtual] |
Reimplemented from GLWPanel.
Definition at line 85 of file SkipAllDialog.cpp.
References int(), and startTime_.
unsigned int SkipAllDialog::cancelId_ [protected] |
unsigned int SkipAllDialog::nowId_ [protected] |
GLWLabel* SkipAllDialog::label_ [protected] |
unsigned int SkipAllDialog::startTime_ [protected] |
Definition at line 42 of file SkipAllDialog.h.
Referenced by buttonDown(), display(), and simulate().
bool SkipAllDialog::skipAll_ [protected] |
SkipAllDialog * SkipAllDialog::instance_ = 0 [static, protected] |
1.5.3