#include <GLWSelector.h>
Public Member Functions | |
| GLWSelectorEntry (const LangString &text=LangString(), ToolTip *tooltip=0, bool selected=false, GLTexture *icon=0, void *userData=0, const std::string &dataText="") | |
| LangString & | getText () |
| const char * | getDataText () |
| ToolTip * | getToolTip () |
| GLTexture * | getIcon () |
| bool | getSelected () |
| bool | getSeperator () |
| void | setSeperator () |
| void * | getUserData () |
| Vector & | getColor () |
| int & | getTextureWidth () |
| std::list < GLWSelectorEntry > & | getPopups () |
Protected Attributes | |
| LangString | text_ |
| std::string | dataText_ |
| GLTexture * | icon_ |
| int | textureWidth_ |
| ToolTip * | tip_ |
| Vector | color_ |
| bool | selected_ |
| bool | seperator_ |
| void * | userData_ |
| std::list < GLWSelectorEntry > | popups_ |
Definition at line 35 of file GLWSelector.h.
| GLWSelectorEntry::GLWSelectorEntry | ( | const LangString & | text = LangString(), |
|
| ToolTip * | tooltip = 0, |
|||
| bool | selected = false, |
|||
| GLTexture * | icon = 0, |
|||
| void * | userData = 0, |
|||
| const std::string & | dataText = "" | |||
| ) |
Definition at line 28 of file GLWSelector.cpp.
| LangString& GLWSelectorEntry::getText | ( | ) | [inline] |
Definition at line 45 of file GLWSelector.h.
References text_.
Referenced by GLWSelectorPart::calculateDimensions(), GLWSelectorPart::draw(), GLWDropDownText::getCurrentText(), GLWChannelText::itemSelected(), and GLWDropDownText::setCurrentText().
| const char* GLWSelectorEntry::getDataText | ( | ) | [inline] |
Definition at line 46 of file GLWSelector.h.
References dataText_.
Referenced by AdminDialog::buttonDown(), GLWDropDownText::getCurrentDataText(), GLWImageList::itemSelected(), GLWChannelText::itemSelected(), GLWTankViewer::select(), PlayerDialog::select(), InventoryDialog::select(), and BuyAccessoryDialog::select().
| ToolTip* GLWSelectorEntry::getToolTip | ( | ) | [inline] |
Definition at line 47 of file GLWSelector.h.
References tip_.
Referenced by GLWSelectorPart::draw().
| GLTexture* GLWSelectorEntry::getIcon | ( | ) | [inline] |
Definition at line 48 of file GLWSelector.h.
References icon_.
Referenced by GLWSelectorPart::calculateDimensions(), and GLWSelectorPart::draw().
| bool GLWSelectorEntry::getSelected | ( | ) | [inline] |
Definition at line 49 of file GLWSelector.h.
References selected_.
Referenced by GLWSelectorPart::calculateDimensions(), and GLWSelectorPart::draw().
| bool GLWSelectorEntry::getSeperator | ( | ) | [inline] |
Definition at line 50 of file GLWSelector.h.
References seperator_.
Referenced by GLWSelectorPart::calculateDimensions(), GLWSelectorPart::draw(), and GLWSelectorPart::mouseDown().
| void GLWSelectorEntry::setSeperator | ( | ) | [inline] |
Definition at line 51 of file GLWSelector.h.
References seperator_.
Referenced by GLWChannelText::buttonDown().
| void* GLWSelectorEntry::getUserData | ( | ) | [inline] |
Definition at line 52 of file GLWSelector.h.
References userData_.
Referenced by GiftMoneyDialog::buttonDown(), TankWeaponTip::itemSelected(), TankParachutesTip::itemSelected(), TankShieldTip::itemSelected(), TankBatteryTip::itemSelected(), TankFuelTip::itemSelected(), TankUndoMenu::itemSelected(), and GLWChannelText::itemSelected().
| Vector& GLWSelectorEntry::getColor | ( | ) | [inline] |
Definition at line 53 of file GLWSelector.h.
References color_.
Referenced by GLWDropDownColor::addColor(), GLWChannelText::buttonDown(), PlayerDialog::display(), GLWSelectorPart::draw(), GLWDropDownColor::getCurrentColor(), GLWChannelText::itemSelected(), and GLWDropDownColor::setCurrentColor().
| int& GLWSelectorEntry::getTextureWidth | ( | ) | [inline] |
Definition at line 54 of file GLWSelector.h.
References textureWidth_.
Referenced by GLWDropDownColor::addColor(), GLWChannelText::buttonDown(), GLWSelectorPart::calculateDimensions(), and GLWSelectorPart::draw().
| std::list<GLWSelectorEntry>& GLWSelectorEntry::getPopups | ( | ) | [inline] |
Definition at line 56 of file GLWSelector.h.
References popups_.
Referenced by GLWChannelText::buttonDown(), GLWSelectorPart::calculateDimensions(), and GLWSelectorPart::draw().
LangString GLWSelectorEntry::text_ [protected] |
std::string GLWSelectorEntry::dataText_ [protected] |
GLTexture* GLWSelectorEntry::icon_ [protected] |
int GLWSelectorEntry::textureWidth_ [protected] |
ToolTip* GLWSelectorEntry::tip_ [protected] |
Vector GLWSelectorEntry::color_ [protected] |
bool GLWSelectorEntry::selected_ [protected] |
bool GLWSelectorEntry::seperator_ [protected] |
void* GLWSelectorEntry::userData_ [protected] |
std::list<GLWSelectorEntry> GLWSelectorEntry::popups_ [protected] |
1.5.3