#include <GLWTankTip.h>

Public Member Functions | |
| TankParachutesTip (Tank *tank) | |
| virtual | ~TankParachutesTip () |
| virtual void | populate () |
| void | showItems (float x, float y) |
| virtual void | itemSelected (GLWSelectorEntry *entry, int position) |
Protected Attributes | |
| Tank * | tank_ |
Definition at line 101 of file GLWTankTip.h.
| TankParachutesTip::TankParachutesTip | ( | Tank * | tank | ) |
Definition at line 363 of file GLWTankTip.cpp.
| TankParachutesTip::~TankParachutesTip | ( | ) | [virtual] |
Definition at line 368 of file GLWTankTip.cpp.
| void TankParachutesTip::populate | ( | ) | [virtual] |
Reimplemented from ToolTip.
Definition at line 372 of file GLWTankTip.cpp.
References Tank::getAccessories(), TankAccessories::getAccessoryAndCountString(), TargetParachute::getCurrentParachute(), Target::getParachute(), LANG_RESOURCE, ToolTip::setText(), tank_, and ToolTip::ToolTipHelp.
| void TankParachutesTip::showItems | ( | float | x, | |
| float | y | |||
| ) |
Definition at line 392 of file GLWTankTip.cpp.
References AccessoryPart::AccessoryParachute, TankAccessories::canUse(), Tank::getAccessories(), TankAccessories::getAccessoryAndCountString(), ScorchedContext::getAccessoryStore(), TankAccessories::getAllAccessoriesByType(), TargetParachute::getCurrentParachute(), Target::getParachute(), Accessory::getTexture(), Accessory::getToolTip(), GLWSelector::instance(), OptionsDisplay::instance(), ScorchedClient::instance(), LANG_RESOURCE, GLWSelector::showSelector(), AccessoryStore::sortList(), ClientState::StatePlaying, tank_, and ToolTip::ToolTipHelp.
Referenced by GLWScorchedInfo::mouseDown().
| void TankParachutesTip::itemSelected | ( | GLWSelectorEntry * | entry, | |
| int | position | |||
| ) | [virtual] |
Implements GLWSelectorI.
Definition at line 429 of file GLWTankTip.cpp.
References GLWSelectorEntry::getUserData(), TankKeyboardControlUtil::parachutesUpDown(), and tank_.
Tank* TankParachutesTip::tank_ [protected] |
Definition at line 111 of file GLWTankTip.h.
Referenced by itemSelected(), populate(), and showItems().
1.5.3