LLMenuItemCheckGL Class Reference

#include <llmenugl.h>

Inheritance diagram for LLMenuItemCheckGL:

Inheritance graph
[legend]
Collaboration diagram for LLMenuItemCheckGL:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLMenuItemCheckGL (const LLString &name, const LLString &label, menu_callback callback, enabled_callback enabled_cb, check_callback check, void *user_data, KEY key=KEY_NONE, MASK mask=MASK_NONE)
 LLMenuItemCheckGL (const LLString &name, menu_callback callback, enabled_callback enabled_cb, check_callback check, void *user_data, KEY key=KEY_NONE, MASK mask=MASK_NONE)
 LLMenuItemCheckGL (const LLString &name, const LLString &label, menu_callback callback, enabled_callback enabled_cb, LLString control_name, LLView *context, void *user_data, KEY key=KEY_NONE, MASK mask=MASK_NONE)
virtual LLXMLNodePtr getXML (bool save_children=true) const
void setCheckedControl (LLString checked_control, LLView *context)
virtual void setValue (const LLSD &value)
virtual LLString getType () const
virtual void buildDrawLabel (void)

Private Attributes

check_callback mCheckCallback
BOOL mChecked


Detailed Description

Definition at line 309 of file llmenugl.h.


Constructor & Destructor Documentation

LLMenuItemCheckGL::LLMenuItemCheckGL ( const LLString name,
const LLString label,
menu_callback  clicked_cb,
enabled_callback  enabled_cb,
check_callback  check_cb,
void *  user_data,
KEY  key = KEY_NONE,
MASK  mask = MASK_NONE 
)

============================================================================ Class LLMenuItemCheckGL ============================================================================

Definition at line 899 of file llmenugl.cpp.

LLMenuItemCheckGL::LLMenuItemCheckGL ( const LLString name,
menu_callback  callback,
enabled_callback  enabled_cb,
check_callback  check,
void *  user_data,
KEY  key = KEY_NONE,
MASK  mask = MASK_NONE 
)

Definition at line 912 of file llmenugl.cpp.

LLMenuItemCheckGL::LLMenuItemCheckGL ( const LLString name,
const LLString label,
menu_callback  callback,
enabled_callback  enabled_cb,
LLString  control_name,
LLView context,
void *  user_data,
KEY  key = KEY_NONE,
MASK  mask = MASK_NONE 
)

Definition at line 924 of file llmenugl.cpp.

References LLView::setControlName().

Here is the call graph for this function:


Member Function Documentation

LLXMLNodePtr LLMenuItemCheckGL::getXML ( bool  save_children = true  )  const [virtual]

Reimplemented from LLMenuItemCallGL.

Definition at line 970 of file llmenugl.cpp.

References LLMenuItemCallGL::getXML().

Here is the call graph for this function:

void LLMenuItemCheckGL::setCheckedControl ( LLString  checked_control,
LLView context 
)

void LLMenuItemCheckGL::setValue ( const LLSD value  )  [virtual]

Reimplemented from LLMenuItemGL.

Definition at line 939 of file llmenugl.cpp.

References LLSD::asBoolean(), BOOLEAN_TRUE_PREFIX, LLUIString::clear(), mChecked, and LLMenuItemGL::mDrawBoolLabel.

Here is the call graph for this function:

virtual LLString LLMenuItemCheckGL::getType (  )  const [inline, virtual]

Reimplemented from LLMenuItemCallGL.

Definition at line 340 of file llmenugl.h.

void LLMenuItemCheckGL::buildDrawLabel ( void   )  [virtual]

Reimplemented from LLMenuItemCallGL.

Definition at line 977 of file llmenugl.cpp.

References BOOLEAN_TRUE_PREFIX, LLMenuItemCallGL::buildDrawLabel(), LLUIString::clear(), LLMenuItemCallGL::getUserData(), mCheckCallback, mChecked, and LLMenuItemGL::mDrawBoolLabel.

Here is the call graph for this function:


Member Data Documentation

Definition at line 346 of file llmenugl.h.

Referenced by buildDrawLabel().

Definition at line 347 of file llmenugl.h.

Referenced by buildDrawLabel(), setCheckedControl(), and setValue().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:52:52 2008 for SecondLife by  doxygen 1.5.5