#include <llmenugl.h>
Inheritance diagram for LLMenuItemBranchGL:


| Public Member Functions | |
| LLMenuItemBranchGL (const LLString &name, const LLString &label, LLMenuGL *branch, KEY key=KEY_NONE, MASK mask=MASK_NONE) | |
| virtual LLXMLNodePtr | getXML (bool save_children=true) const | 
| virtual LLView * | getChildByName (const LLString &name, BOOL recurse) const | 
| virtual LLString | getType () const | 
| virtual EWidgetType | getWidgetType () const | 
| virtual LLString | getWidgetTag () const | 
| virtual BOOL | handleMouseUp (S32 x, S32 y, MASK mask) | 
| virtual BOOL | handleAcceleratorKey (KEY key, MASK mask) | 
| virtual BOOL | addToAcceleratorList (std::list< LLKeyBinding * > *listp) | 
| virtual void | buildDrawLabel (void) | 
| virtual void | doIt (void) | 
| virtual BOOL | handleKey (KEY key, MASK mask, BOOL called_from_parent) | 
| virtual BOOL | handleUnicodeChar (llwchar uni_char, BOOL called_from_parent) | 
| virtual void | setHighlight (BOOL highlight) | 
| virtual BOOL | handleKeyHere (KEY key, MASK mask, BOOL called_from_parent) | 
| virtual BOOL | isActive () const | 
| virtual BOOL | isOpen () const | 
| LLMenuGL * | getBranch () const | 
| virtual void | updateBranchParent (LLView *parentp) | 
| virtual void | onVisibilityChange (BOOL curVisibilityIn) | 
| virtual void | draw () | 
| virtual void | setEnabledSubMenus (BOOL enabled) | 
| virtual void | openMenu () | 
| Protected Attributes | |
| LLMenuGL * | mBranch | 
Definition at line 579 of file llmenugl.h.
| LLMenuItemBranchGL::LLMenuItemBranchGL | ( | const LLString & | name, | |
| const LLString & | label, | |||
| LLMenuGL * | branch, | |||
| KEY | key = KEY_NONE, | |||
| MASK | mask = MASK_NONE | |||
| ) | 
Definition at line 1202 of file llmenugl.cpp.
References FALSE, mBranch, LLMenuGL::setParentMenuItem(), and LLMenuGL::setVisible().
| BOOL LLMenuItemBranchGL::addToAcceleratorList | ( | std::list< LLKeyBinding * > * | listp | ) |  [virtual] | 
Reimplemented from LLMenuItemGL.
Definition at line 1266 of file llmenugl.cpp.
References LLMenuItemGL::addToAcceleratorList(), FALSE, LLMenuGL::getItem(), LLMenuGL::getItemCount(), and mBranch.
Referenced by LLMenuBarGL::appendMenu().
Reimplemented from LLMenuItemGL.
Reimplemented in LLMenuItemBranchDownGL.
Definition at line 1283 of file llmenugl.cpp.
References LLMenuItemGL::appendAcceleratorString(), BRANCH_SUFFIX, LLUIString::clear(), LLMenuItemGL::mDrawAccelLabel, and LLMenuItemGL::mDrawBranchLabel.
Reimplemented from LLMenuItemGL.
Definition at line 1293 of file llmenugl.cpp.
References LLMenuGL::getHighlightedItem(), LLMenuGL::getKeyboardMode(), LLMenuGL::highlightNextItem(), mBranch, NULL, and openMenu().
Referenced by LLMenuItemBranchDownGL::handleKeyHere(), LLMenuItemBranchDownGL::handleMouseDown(), and handleMouseUp().
| void LLMenuItemBranchGL::draw | ( | ) |  [virtual] | 
Reimplemented from LLMenuItemGL.
Reimplemented in LLMenuItemBranchDownGL.
Definition at line 1388 of file llmenugl.cpp.
References LLMenuItemGL::draw(), LLMenuGL::getTornOff(), LLView::getVisible(), mBranch, setHighlight(), and TRUE.
| LLMenuGL* LLMenuItemBranchGL::getBranch | ( | ) | const  [inline] | 
Reimplemented from LLView.
Definition at line 1212 of file llmenugl.cpp.
References LLView::getChildByName(), LLView::getName(), and mBranch.
| virtual LLString LLMenuItemBranchGL::getType | ( | ) | const  [inline, virtual] | 
Reimplemented from LLMenuItemGL.
Reimplemented in LLMenuItemBranchDownGL.
Definition at line 591 of file llmenugl.h.
| LLString LLMenuItemBranchGL::getWidgetTag | ( | ) | const  [virtual] | 
Reimplemented from LLMenuItemGL.
Reimplemented in LLMenuItemBranchDownGL.
Definition at line 1227 of file llmenugl.cpp.
References LL_MENU_ITEM_BRANCH_GL_TAG.
| EWidgetType LLMenuItemBranchGL::getWidgetType | ( | ) | const  [virtual] | 
Reimplemented from LLMenuItemGL.
Reimplemented in LLMenuItemBranchDownGL.
Definition at line 1222 of file llmenugl.cpp.
References WIDGET_TYPE_MENU_ITEM_BRANCH.
| LLXMLNodePtr LLMenuItemBranchGL::getXML | ( | bool | save_children = true | ) | const  [virtual] | 
Reimplemented from LLMenuItemGL.
Definition at line 1253 of file llmenugl.cpp.
References LLMenuItemGL::getXML(), LLMenuGL::getXML(), and mBranch.
Reimplemented from LLMenuItemGL.
Reimplemented in LLMenuItemBranchDownGL.
Definition at line 1247 of file llmenugl.cpp.
References LLMenuGL::handleAcceleratorKey(), and mBranch.
Reimplemented from LLMenuItemGL.
Definition at line 1305 of file llmenugl.cpp.
References FALSE, LLMenuItemGL::handleKey(), LLMenuGL::handleKey(), and mBranch.
Reimplemented from LLMenuItemGL.
Reimplemented in LLMenuItemBranchDownGL.
Definition at line 1427 of file llmenugl.cpp.
References LLMenuGL::clearHoverItem(), FALSE, LLView::getEnabled(), LLMenuItemGL::getHighlight(), LLMenuGL::getHighlightedItem(), LLMenuItemGL::getMenu(), LLView::getParent(), LLMenuGL::getTornOff(), LLView::getVisible(), LLMenuItemGL::handleKeyHere(), LLMenuGL::highlightNextItem(), isOpen(), KEY_LEFT, KEY_RIGHT, mBranch, NULL, LLMenuGL::setKeyboardMode(), and TRUE.
Reimplemented from LLMenuItemGL.
Reimplemented in LLMenuItemBranchDownGL.
Definition at line 1233 of file llmenugl.cpp.
References doIt(), FALSE, make_ui_sound(), LLView::mEnabled, LLMenuGL::setKeyboardMode(), and TRUE.
Reimplemented from LLView.
Definition at line 1321 of file llmenugl.cpp.
References FALSE, LLView::handleUnicodeChar(), mBranch, and TRUE.
| BOOL LLMenuItemBranchGL::isActive | ( | ) | const  [virtual] | 
Reimplemented from LLMenuItemGL.
Reimplemented in LLMenuItemBranchDownGL.
Definition at line 1399 of file llmenugl.cpp.
References LLMenuGL::getHighlightedItem(), isOpen(), and mBranch.
| BOOL LLMenuItemBranchGL::isOpen | ( | ) | const  [virtual] | 
Reimplemented from LLMenuItemGL.
Definition at line 1404 of file llmenugl.cpp.
References LLMenuGL::isOpen(), and mBranch.
Referenced by handleKeyHere(), LLMenuItemBranchDownGL::isActive(), and isActive().
Reimplemented from LLView.
Definition at line 1418 of file llmenugl.cpp.
References FALSE, LLMenuGL::getTornOff(), mBranch, LLView::onVisibilityChange(), and LLMenuGL::setVisible().
| void LLMenuItemBranchGL::openMenu | ( | ) |  [virtual] | 
Reimplemented in LLMenuItemBranchDownGL.
Definition at line 1464 of file llmenugl.cpp.
References LLMenuGL::arrange(), LLFloaterView::bringToFront(), LLMenuGL::getCanTearOff(), LLRectBase< Type >::getHeight(), LLView::getParent(), LLView::getRect(), LLMenuGL::getTornOff(), LLView::getVisible(), LLRectBase< Type >::getWidth(), gFloaterView, LLMenuGL::highlightNextItem(), left, llmax(), LLView::localPointToOtherView(), LLRectBase< Type >::mBottom, mBranch, LLView::mRect, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, NULL, S32, LLRectBase< Type >::setLeftTopAndSize(), LLView::setRect(), LLMenuGL::setVisible(), LLMenuGL::sMenuContainer, TEAROFF_SEPARATOR_HEIGHT_PIXELS, top, LLView::translate(), LLRectBase< Type >::translate(), TRUE, x, and y.
Referenced by doIt(), and setHighlight().
Reimplemented from LLMenuItemGL.
Definition at line 1383 of file llmenugl.cpp.
References mBranch, and LLMenuGL::setEnabledSubMenus().
Reimplemented from LLMenuItemGL.
Reimplemented in LLMenuItemBranchDownGL.
Definition at line 1339 of file llmenugl.cpp.
References LLMenuGL::clearHoverItem(), FALSE, LLMenuItemGL::getHighlight(), LLMenuItemGL::getMenu(), LLView::getParent(), LLMenuGL::getTornOff(), LLView::getVisible(), mBranch, LLView::mEnabled, LLMenuItemGL::mHighlight, openMenu(), and LLMenuGL::setVisible().
Referenced by draw().
Reimplemented from LLMenuItemGL.
Definition at line 1409 of file llmenugl.cpp.
References LLView::getParent(), mBranch, NULL, and LLMenuGL::updateParent().
| LLMenuGL* LLMenuItemBranchGL::mBranch  [protected] | 
Definition at line 582 of file llmenugl.h.
Referenced by addToAcceleratorList(), doIt(), LLMenuItemBranchDownGL::draw(), draw(), getBranch(), getChildByName(), getXML(), LLMenuItemBranchDownGL::handleAcceleratorKey(), handleAcceleratorKey(), handleKey(), LLMenuItemBranchDownGL::handleKeyHere(), handleKeyHere(), handleUnicodeChar(), isActive(), isOpen(), LLMenuItemBranchGL(), onVisibilityChange(), LLMenuItemBranchDownGL::openMenu(), openMenu(), setEnabledSubMenus(), LLMenuItemBranchDownGL::setHighlight(), setHighlight(), and updateBranchParent().
 1.4.7
 1.4.7