GLMenuItem Class Reference

#include <GLMenuI.h>

List of all members.

Public Member Functions

 GLMenuItem (const LangString &text, ToolTip *tooltip=0, bool selected=false, GLTexture *texture=0, void *userData=0)
const LangStringgetText ()
ToolTipgetToolTip ()
GLTexturegetTexture ()
bool getSelected ()
void * getUserData ()
bool getSeperator ()
void setSeperator ()

Protected Attributes

LangString menuText_
ToolTiptip_
GLTexturetexture_
bool selected_
bool seperator_
void * userData_


Detailed Description

Definition at line 35 of file GLMenuI.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

const LangString& GLMenuItem::getText (  )  [inline]

Definition at line 43 of file GLMenuI.h.

References menuText_.

Referenced by GLMenuEntry::click().

ToolTip* GLMenuItem::getToolTip (  )  [inline]

Definition at line 44 of file GLMenuI.h.

References tip_.

Referenced by GLMenuEntry::click().

GLTexture* GLMenuItem::getTexture (  )  [inline]

Definition at line 45 of file GLMenuI.h.

References texture_.

Referenced by GLMenuEntry::click().

bool GLMenuItem::getSelected (  )  [inline]

Definition at line 46 of file GLMenuI.h.

References selected_.

Referenced by GLMenuEntry::click().

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]

Definition at line 48 of file GLMenuI.h.

References seperator_.

Referenced by GLMenuEntry::click().

void GLMenuItem::setSeperator (  )  [inline]

Definition at line 49 of file GLMenuI.h.

References seperator_.

Referenced by TankMenus::AccessoryMenu::getMenuItems().


Member Data Documentation

LangString GLMenuItem::menuText_ [protected]

Definition at line 52 of file GLMenuI.h.

Referenced by getText().

ToolTip* GLMenuItem::tip_ [protected]

Definition at line 53 of file GLMenuI.h.

Referenced by getToolTip().

GLTexture* GLMenuItem::texture_ [protected]

Definition at line 54 of file GLMenuI.h.

Referenced by getTexture().

bool GLMenuItem::selected_ [protected]

Definition at line 55 of file GLMenuI.h.

Referenced by getSelected().

bool GLMenuItem::seperator_ [protected]

Definition at line 55 of file GLMenuI.h.

Referenced by getSeperator(), and setSeperator().

void* GLMenuItem::userData_ [protected]

Definition at line 56 of file GLMenuI.h.

Referenced by getUserData().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:02 2009 for Scorched3D by  doxygen 1.5.3