#include <llmenugl.h>
Inheritance diagram for LLMenuItemCheckGL:
Definition at line 317 of file llmenugl.h.
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 1044 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 1057 of file llmenugl.cpp.
Reimplemented from LLMenuItemCallGL.
Definition at line 1141 of file llmenugl.cpp.
References BOOLEAN_TRUE_PREFIX, LLMenuItemCallGL::buildDrawLabel(), LLUIString::clear(), mCheckCallback, mChecked, LLMenuItemGL::mDrawBoolLabel, and LLMenuItemCallGL::mUserData.
virtual LLString LLMenuItemCheckGL::getType | ( | ) | const [inline, virtual] |
LLString LLMenuItemCheckGL::getWidgetTag | ( | ) | const [virtual] |
Reimplemented from LLMenuItemCallGL.
Definition at line 1135 of file llmenugl.cpp.
References LL_MENU_ITEM_CHECK_GL_TAG.
EWidgetType LLMenuItemCheckGL::getWidgetType | ( | ) | const [virtual] |
Reimplemented from LLMenuItemCallGL.
Definition at line 1130 of file llmenugl.cpp.
References WIDGET_TYPE_MENU_ITEM_CHECK.
LLXMLNodePtr LLMenuItemCheckGL::getXML | ( | bool | save_children = true |
) | const [virtual] |
Reimplemented from LLMenuItemCallGL.
Definition at line 1124 of file llmenugl.cpp.
References LLMenuItemCallGL::getXML().
Reimplemented from LLMenuItemCallGL.
Definition at line 1104 of file llmenugl.cpp.
References LLSD::asString(), BOOLEAN_TRUE_PREFIX, LLUIString::clear(), LLMenuItemCallGL::handleEvent(), mChecked, LLMenuItemGL::mDrawBoolLabel, and TRUE.
Definition at line 1083 of file llmenugl.cpp.
References LLView::addBoolControl(), LLView::findControl(), mChecked, and LLControlBase::registerListener().
Reimplemented from LLMenuItemGL.
Definition at line 350 of file llmenugl.h.
References LLSD::asBoolean(), and mChecked.
check_callback LLMenuItemCheckGL::mCheckCallback [protected] |
BOOL LLMenuItemCheckGL::mChecked [protected] |
Definition at line 322 of file llmenugl.h.
Referenced by buildDrawLabel(), handleEvent(), setCheckedControl(), and setValue().