#include <llmenugl.h>
Inheritance diagram for LLMenuItemCallGL:
Definition at line 230 of file llmenugl.h.
LLMenuItemCallGL::LLMenuItemCallGL | ( | const LLString & | name, | |
menu_callback | clicked_cb, | |||
enabled_callback | enabled_cb = NULL , |
|||
void * | user_data = NULL , |
|||
KEY | key = KEY_NONE , |
|||
MASK | mask = MASK_NONE , |
|||
BOOL | enabled = TRUE , |
|||
on_disabled_callback | on_disabled_cb = NULL | |||
) |
LLMenuItemCallGL::LLMenuItemCallGL | ( | const LLString & | name, | |
const LLString & | label, | |||
menu_callback | clicked_cb, | |||
enabled_callback | enabled_cb = NULL , |
|||
void * | user_data = NULL , |
|||
KEY | key = KEY_NONE , |
|||
MASK | mask = MASK_NONE , |
|||
BOOL | enabled = TRUE , |
|||
on_disabled_callback | on_disabled_cb = NULL | |||
) |
============================================================================ Class LLMenuItemCallGL ============================================================================
Definition at line 823 of file llmenugl.cpp.
References FALSE, and LLView::setEnabled().
LLMenuItemCallGL::LLMenuItemCallGL | ( | const LLString & | name, | |
const LLString & | label, | |||
menu_callback | clicked_cb, | |||
enabled_callback | enabled_cb, | |||
label_callback | label_cb, | |||
void * | user_data, | |||
KEY | key = KEY_NONE , |
|||
MASK | mask = MASK_NONE , |
|||
BOOL | enabled = TRUE , |
|||
on_disabled_callback | on_disabled_c = NULL | |||
) |
LLMenuItemCallGL::LLMenuItemCallGL | ( | const LLString & | name, | |
menu_callback | clicked_cb, | |||
enabled_callback | enabled_cb, | |||
label_callback | label_cb, | |||
void * | user_data, | |||
KEY | key = KEY_NONE , |
|||
MASK | mask = MASK_NONE , |
|||
BOOL | enabled = TRUE , |
|||
on_disabled_callback | on_disabled_c = NULL | |||
) |
Reimplemented from LLMenuItemGL.
Reimplemented in LLMenuItemCheckGL.
Definition at line 1002 of file llmenugl.cpp.
References LLMenuItemGL::buildDrawLabel(), LLObservable::fireEvent(), mEnabledCallback, LLMenuItemGL::mLabel, mLabelCallback, mUserData, and LLView::setEnabled().
Referenced by LLMenuItemCheckGL::buildDrawLabel().
Reimplemented from LLMenuItemGL.
Definition at line 978 of file llmenugl.cpp.
References LLMenuItemGL::doIt(), LLObservable::fireEvent(), LLMenuItemGL::getMenu(), mCallback, mUserData, and LLMenuGL::setItemLastSelected().
menu_callback LLMenuItemCallGL::getMenuCallback | ( | ) | const [inline] |
virtual LLString LLMenuItemCallGL::getType | ( | ) | const [inline, virtual] |
Reimplemented from LLMenuItemGL.
Reimplemented in LLMenuItemCheckGL.
Definition at line 278 of file llmenugl.h.
void* LLMenuItemCallGL::getUserData | ( | ) | const [inline] |
LLString LLMenuItemCallGL::getWidgetTag | ( | ) | const [virtual] |
Reimplemented from LLMenuItemGL.
Reimplemented in LLMenuItemCheckGL.
Definition at line 997 of file llmenugl.cpp.
References LL_MENU_ITEM_CALL_GL_TAG.
EWidgetType LLMenuItemCallGL::getWidgetType | ( | ) | const [virtual] |
Reimplemented from LLMenuItemGL.
Reimplemented in LLMenuItemCheckGL.
Definition at line 992 of file llmenugl.cpp.
References WIDGET_TYPE_MENU_ITEM_CALL.
LLXMLNodePtr LLMenuItemCallGL::getXML | ( | bool | save_children = true |
) | const [virtual] |
Reimplemented from LLMenuItemGL.
Reimplemented in LLMenuItemCheckGL.
Definition at line 954 of file llmenugl.cpp.
References FALSE, LLView::findEventListener(), LLMenuItemGL::getXML(), LLObservable::mDispatcher, and TRUE.
Referenced by LLMenuItemCheckGL::getXML().
Reimplemented from LLMenuItemGL.
Definition at line 1019 of file llmenugl.cpp.
References LLObservable::fireEvent(), LLKeyboard::getKeyRepeated(), gKeyboard, LLMenuItemGL::handleAcceleratorKey(), LLMenuItemGL::mAcceleratorKey, LLMenuItemGL::mAcceleratorMask, LLMenuItemGL::mAllowKeyRepeat, MASK_NORMALKEYS, LLView::mEnabled, mEnabledCallback, mOnDisabledCallback, mUserData, and LLView::setEnabled().
Reimplemented from LLView.
Reimplemented in LLMenuItemCheckGL.
Definition at line 936 of file llmenugl.cpp.
References LLSD::asString(), LLView::handleEvent(), LLView::setEnabled(), LLView::setVisible(), and TRUE.
Referenced by LLMenuItemCheckGL::handleEvent().
void LLMenuItemCallGL::setEnabledCallback | ( | enabled_callback | callback | ) | [inline] |
Definition at line 289 of file llmenugl.h.
References mEnabledCallback.
Referenced by LLScriptEdCore::initMenu().
Definition at line 895 of file llmenugl.cpp.
References LLView::addBoolControl(), LLView::findControl(), LLView::mEnabled, LLControlBase::registerListener(), and LLView::setEnabled().
Referenced by LLMenuGL::parseChildXML().
void LLMenuItemCallGL::setMenuCallback | ( | menu_callback | callback, | |
void * | data | |||
) | [inline] |
Definition at line 286 of file llmenugl.h.
References mCallback, and mUserData.
Referenced by LLScriptEdCore::initMenu().
Definition at line 915 of file llmenugl.cpp.
References LLView::addBoolControl(), LLView::findControl(), LLView::mEnabled, LLControlBase::registerListener(), and LLView::setVisible().
Referenced by LLMenuGL::parseChildXML().
menu_callback LLMenuItemCallGL::mCallback [protected] |
Definition at line 233 of file llmenugl.h.
Referenced by doIt(), getMenuCallback(), and setMenuCallback().
enabled_callback LLMenuItemCallGL::mEnabledCallback [protected] |
Definition at line 235 of file llmenugl.h.
Referenced by buildDrawLabel(), handleAcceleratorKey(), and setEnabledCallback().
label_callback LLMenuItemCallGL::mLabelCallback [protected] |
void* LLMenuItemCallGL::mUserData [protected] |
Definition at line 237 of file llmenugl.h.
Referenced by LLMenuItemCheckGL::buildDrawLabel(), buildDrawLabel(), doIt(), getUserData(), handleAcceleratorKey(), setMenuCallback(), and setUserData().