#include <llmenugl.h>
Inheritance diagram for LLMenuItemToggleGL:
Public Member Functions | |
LLMenuItemToggleGL (const LLString &name, const LLString &label, BOOL *toggle, KEY key=KEY_NONE, MASK mask=MASK_NONE) | |
LLMenuItemToggleGL (const LLString &name, BOOL *toggle, KEY key=KEY_NONE, MASK mask=MASK_NONE) | |
virtual LLString | getType () const |
virtual void | buildDrawLabel (void) |
virtual void | doIt (void) |
Protected Attributes | |
BOOL * | mToggle |
Definition at line 373 of file llmenugl.h.
LLMenuItemToggleGL::LLMenuItemToggleGL | ( | const LLString & | name, | |
const LLString & | label, | |||
BOOL * | toggle, | |||
KEY | key = KEY_NONE , |
|||
MASK | mask = MASK_NONE | |||
) |
============================================================================ Class LLMenuItemToggleGL ============================================================================
Definition at line 1159 of file llmenugl.cpp.
LLMenuItemToggleGL::LLMenuItemToggleGL | ( | const LLString & | name, | |
BOOL * | toggle, | |||
KEY | key = KEY_NONE , |
|||
MASK | mask = MASK_NONE | |||
) |
Definition at line 1166 of file llmenugl.cpp.
Reimplemented from LLMenuItemGL.
Definition at line 1175 of file llmenugl.cpp.
References LLMenuItemGL::appendAcceleratorString(), BOOLEAN_TRUE_PREFIX, LLUIString::clear(), LLMenuItemGL::mDrawAccelLabel, LLMenuItemGL::mDrawBoolLabel, and mToggle.
Referenced by doIt().
Reimplemented from LLMenuItemGL.
Definition at line 1192 of file llmenugl.cpp.
References buildDrawLabel(), LLMenuItemGL::doIt(), LLMenuItemGL::getMenu(), mToggle, and LLMenuGL::setItemLastSelected().
virtual LLString LLMenuItemToggleGL::getType | ( | ) | const [inline, virtual] |
BOOL* LLMenuItemToggleGL::mToggle [protected] |