#include <GiftMoneyDialog.h>

Public Member Functions | |
| virtual void | buttonDown (unsigned int id) |
| virtual void | display () |
Static Public Member Functions | |
| static GiftMoneyDialog * | instance () |
Protected Attributes | |
| unsigned int | okId_ |
| unsigned int | cancelId_ |
| GLWDropDownText * | players_ |
| GLWDropDownText * | money_ |
Static Protected Attributes | |
| static GiftMoneyDialog * | instance_ = 0 |
Private Member Functions | |
| GiftMoneyDialog () | |
| virtual | ~GiftMoneyDialog () |
Definition at line 28 of file GiftMoneyDialog.h.
| GiftMoneyDialog::GiftMoneyDialog | ( | ) | [private] |
Definition at line 44 of file GiftMoneyDialog.cpp.
References GLWPanel::addWidget(), GLWButton::ButtonFlagCancel, GLWButton::ButtonFlagCenterX, GLWButton::ButtonFlagOk, cancelId_, GLWidget::getId(), GLWPanel::GLWPanel(), LANG_RESOURCE, GLWPanel::layout(), GLWPanel::LayoutHorizontal, GLWPanel::LayoutVerticle, money_, GLWWindow::needCentered_, okId_, players_, GLWPanel::setLayout(), GLWPanel::SpaceAll, GLWPanel::SpaceLeft, GLWPanel::SpaceRight, and GLWPanel::SpaceTop.
| GiftMoneyDialog::~GiftMoneyDialog | ( | ) | [private, virtual] |
Definition at line 81 of file GiftMoneyDialog.cpp.
| GiftMoneyDialog * GiftMoneyDialog::instance | ( | ) | [static] |
Definition at line 35 of file GiftMoneyDialog.cpp.
References instance_.
Referenced by BuyAccessoryDialog::buttonDown(), and ClientWindowSetup::setupGameWindows().
| void GiftMoneyDialog::buttonDown | ( | unsigned int | id | ) | [virtual] |
Implements GLWButtonI.
Definition at line 138 of file GiftMoneyDialog.cpp.
References GLWDropDown::getCurrentEntry(), TankContainer::getCurrentTank(), GLWidget::getId(), Target::getPlayerId(), ScorchedContext::getTankContainer(), GLWSelectorEntry::getUserData(), GLWWindowManager::hideWindow(), BuyAccessoryDialog::instance(), GLWWindowManager::instance(), ScorchedClient::instance(), int(), money_, okId_, players_, ComsMessageSender::sendToServer(), and GLWWindowManager::showWindow().
| void GiftMoneyDialog::display | ( | ) | [virtual] |
Reimplemented from GLWPanel.
Definition at line 85 of file GiftMoneyDialog.cpp.
References GLWDropDown::addEntry(), GLWDropDown::clear(), GLWPanel::display(), TankContainer::getCurrentTank(), GLWidget::getId(), TankScore::getMoney(), Target::getPlayerId(), TankContainer::getPlayingTanks(), Tank::getScore(), TankState::getSpectator(), TankState::getState(), Tank::getState(), ScorchedContext::getTankContainer(), Target::getTargetName(), Tank::getTeam(), GLWWindowManager::hideWindow(), GLWWindowManager::instance(), ScorchedClient::instance(), LANG_RESOURCE, money_, players_, TankState::sDead, and TankState::sNormal.
GiftMoneyDialog * GiftMoneyDialog::instance_ = 0 [static, protected] |
unsigned int GiftMoneyDialog::okId_ [protected] |
unsigned int GiftMoneyDialog::cancelId_ [protected] |
GLWDropDownText* GiftMoneyDialog::players_ [protected] |
Definition at line 44 of file GiftMoneyDialog.h.
Referenced by buttonDown(), display(), and GiftMoneyDialog().
GLWDropDownText* GiftMoneyDialog::money_ [protected] |
Definition at line 45 of file GiftMoneyDialog.h.
Referenced by buttonDown(), display(), and GiftMoneyDialog().
1.5.3