#include <GLMenuI.h>
Public Member Functions | |
| GLMenuItem (const LangString &text, ToolTip *tooltip=0, bool selected=false, GLTexture *texture=0, void *userData=0) | |
| const LangString & | getText () |
| ToolTip * | getToolTip () |
| GLTexture * | getTexture () |
| bool | getSelected () |
| void * | getUserData () |
| bool | getSeperator () |
| void | setSeperator () |
Protected Attributes | |
| LangString | menuText_ |
| ToolTip * | tip_ |
| GLTexture * | texture_ |
| bool | selected_ |
| bool | seperator_ |
| void * | userData_ |
Definition at line 35 of file GLMenuI.h.
| GLMenuItem::GLMenuItem | ( | const LangString & | text, | |
| ToolTip * | tooltip = 0, |
|||
| bool | selected = false, |
|||
| GLTexture * | texture = 0, |
|||
| void * | userData = 0 | |||
| ) |
Definition at line 23 of file GLMenuI.cpp.
| const LangString& GLMenuItem::getText | ( | ) | [inline] |
| ToolTip* GLMenuItem::getToolTip | ( | ) | [inline] |
| GLTexture* GLMenuItem::getTexture | ( | ) | [inline] |
| bool GLMenuItem::getSelected | ( | ) | [inline] |
| void* GLMenuItem::getUserData | ( | ) | [inline] |
Definition at line 47 of file GLMenuI.h.
References userData_.
Referenced by GLMenuEntry::click(), and TankMenus::AccessoryMenu::menuSelection().
| bool GLMenuItem::getSeperator | ( | ) | [inline] |
| void GLMenuItem::setSeperator | ( | ) | [inline] |
Definition at line 49 of file GLMenuI.h.
References seperator_.
Referenced by TankMenus::AccessoryMenu::getMenuItems().
LangString GLMenuItem::menuText_ [protected] |
ToolTip* GLMenuItem::tip_ [protected] |
GLTexture* GLMenuItem::texture_ [protected] |
bool GLMenuItem::selected_ [protected] |
bool GLMenuItem::seperator_ [protected] |
void* GLMenuItem::userData_ [protected] |
1.5.3