LLMenuItemToggleGL Class Reference

#include <llmenugl.h>

Inheritance diagram for LLMenuItemToggleGL:

Inheritance graph
[legend]
Collaboration diagram for LLMenuItemToggleGL:

Collaboration graph
[legend]
List of all members.

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

BOOLmToggle

Detailed Description

Definition at line 373 of file llmenugl.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

void LLMenuItemToggleGL::buildDrawLabel ( void   )  [virtual]

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().

void LLMenuItemToggleGL::doIt ( void   )  [virtual]

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]

Reimplemented from LLMenuItemGL.

Definition at line 387 of file llmenugl.h.


Member Data Documentation

BOOL* LLMenuItemToggleGL::mToggle [protected]

Definition at line 376 of file llmenugl.h.

Referenced by buildDrawLabel(), and doIt().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:31 2010 for Second Life Viewer by  doxygen 1.4.7