#include <llmenugl.h>
Definition at line 396 of file llmenugl.h.
typedef std::list< LLMenuItemGL* > LLMenuGL::item_list_t [protected] |
Definition at line 522 of file llmenugl.h.
typedef std::map<KEY, LLMenuItemGL*> LLMenuGL::navigation_key_map_t [protected] |
Definition at line 524 of file llmenugl.h.
LLMenuGL::LLMenuGL | ( | const LLString & | name, | |
const LLString & | label, | |||
LLHandle< LLFloater > | parent_floater = LLHandle<LLFloater>() | |||
) |
Definition at line 1620 of file llmenugl.cpp.
References FALSE, mFadeTimer, setCanTearOff(), LLUICtrl::setTabStop(), LLFrameTimer::stop(), and TRUE.
Referenced by createSpilloverBranch(), and fromXML().
LLMenuGL::LLMenuGL | ( | const LLString & | label, | |
LLHandle< LLFloater > | parent_floater = LLHandle<LLFloater>() | |||
) |
Definition at line 1645 of file llmenugl.cpp.
References FALSE, mFadeTimer, setCanTearOff(), LLUICtrl::setTabStop(), LLFrameTimer::stop(), and TRUE.
LLMenuGL::~LLMenuGL | ( | void | ) | [virtual] |
LLXMLNodePtr LLMenuGL::getXML | ( | bool | save_children = true |
) | const [virtual] |
Reimplemented from LLUICtrl.
Reimplemented in LLMenuBarGL.
Definition at line 1699 of file llmenugl.cpp.
References LLMenuItemGL::getXML(), LLView::getXML(), mBackgroundColor, mBgVisible, mDropShadowed, mItems, mTearOffItem, LLColor4::mV, NULL, and TRUE.
Referenced by LLMenuBarGL::getXML(), and LLMenuItemBranchGL::getXML().
LLView * LLMenuGL::fromXML | ( | LLXMLNodePtr | node, | |
LLView * | parent, | |||
LLUICtrlFactory * | factory | |||
) | [static] |
Reimplemented from LLUICtrl.
Reimplemented in LLMenuBarGL.
Definition at line 2048 of file llmenugl.cpp.
References createJumpKeys(), FALSE, LLUICtrlFactory::getAttributeColor(), KEY_NONE, LLMenuGL(), LLPointer< Type >::notNull(), parseChildXML(), S32, setBackgroundColor(), setBackgroundVisible(), setCanTearOff(), setDropShadowed(), and setJumpKey().
Referenced by LLUICtrlFactory::buildMenu(), LLMenuBarGL::fromXML(), and parseChildXML().
void LLMenuGL::parseChildXML | ( | LLXMLNodePtr | child, | |
LLView * | parent, | |||
LLUICtrlFactory * | factory | |||
) |
Definition at line 1732 of file llmenugl.cpp.
References LLView::addBoolControl(), LLObservable::addListener(), append(), appendMenu(), appendSeparator(), FALSE, LLView::findControl(), fromXML(), LLView::getListenerByName(), KEY_NONE, LLKeyboard::keyFromString(), LL_MENU_GL_TAG, LL_MENU_ITEM_CALL_GL_TAG, LL_MENU_ITEM_CHECK_GL_TAG, LL_MENU_ITEM_SEPARATOR_GL_TAG, llformat(), MASK_ALT, MASK_CONTROL, MASK_MAC_CONTROL, MASK_SHIFT, LLPointer< Type >::notNull(), NULL, S32, LLMenuItemCallGL::setEnabledControl(), LLMenuItemGL::setJumpKey(), LLMenuItemGL::setLabel(), LLMenuItemCallGL::setVisibleControl(), and updateParent().
Referenced by fromXML(), and LLPieMenu::initXML().
Reimplemented from LLView.
Definition at line 2752 of file llmenugl.cpp.
References FALSE, handleJumpKey(), and jumpKeysActive().
Reimplemented from LLView.
Reimplemented in LLPieMenu, and LLMenuBarGL.
Definition at line 2761 of file llmenugl.cpp.
References FALSE, LLView::getChildList(), LLView::getRect(), LLView::getVisible(), LLView::getWindow(), LLView::handleHover(), lerp(), llabs(), llclamp(), llround(), MAX_MOUSE_SLOPE_SUB_MENU, LLRectBase< Type >::mBottom, mHasSelection, mLastMouseX, mLastMouseY, LLRectBase< Type >::mLeft, mMouseVelX, mMouseVelY, LLVector2::normVec(), LLView::pointInView(), S32, LLWindow::setCursor(), setKeyboardMode(), TRUE, and UI_CURSOR_ARROW.
void LLMenuGL::draw | ( | void | ) | [virtual] |
Reimplemented from LLView.
Reimplemented in LLPieMenu, and LLMenuBarGL.
Definition at line 2828 of file llmenugl.cpp.
References LLView::draw(), LLView::getRect(), gl_drop_shadow(), gl_rect_2d(), mBackgroundColor, mBgVisible, mDropShadowed, mTornOff, LLUI::sColorsGroup, and LLUI::sConfigGroup.
Referenced by LLMenuBarGL::draw().
void LLMenuGL::drawBackground | ( | LLMenuItemGL * | itemp, | |
LLColor4 & | color | |||
) | [virtual] |
Reimplemented in LLPieMenu.
Definition at line 2846 of file llmenugl.cpp.
References LLGLImmediate::color4fv(), LLRectBase< Type >::getHeight(), LLView::getRect(), LLRectBase< Type >::getWidth(), gGL, gl_rect_2d(), and LLColor4::mV.
Referenced by LLMenuHolderGL::draw().
void LLMenuGL::setVisible | ( | BOOL | visible | ) | [virtual] |
Reimplemented from LLView.
Reimplemented in LLPieMenu.
Definition at line 2853 of file llmenugl.cpp.
References clearHoverItem(), FALSE, LLView::getVisible(), mFadeTimer, mHasSelection, mLastMouseX, mLastMouseY, LLView::setVisible(), LLFrameTimer::start(), and LLFrameTimer::stop().
Referenced by LLAgent::endAnimationUpdateUI(), LLFolderView::handleRightMouseDown(), idle_startup(), init_menus(), LLFolderView::LLFolderView(), LLMenuItemBranchGL::LLMenuItemBranchGL(), LLNetMap::LLNetMap(), LLPieMenu::LLPieMenu(), LLTearOffMenu::LLTearOffMenu(), LLTearOffMenu::onClose(), LLMenuItemBranchGL::onVisibilityChange(), LLMenuItemBranchDownGL::openMenu(), LLMenuItemBranchGL::openMenu(), reset_login(), LLMenuItemBranchDownGL::setHighlight(), LLMenuItemBranchGL::setHighlight(), LLViewerWindow::setNormalControlsVisible(), and showPopup().
Reimplemented in LLMenuBarGL.
Definition at line 2730 of file llmenugl.cpp.
References FALSE, LLView::getEnabled(), LLMenuItemGL::handleAcceleratorKey(), mItems, and TRUE.
Referenced by LLMenuBarGL::handleAcceleratorKey(), LLMenuItemBranchDownGL::handleAcceleratorKey(), and LLMenuItemBranchGL::handleAcceleratorKey().
Definition at line 2876 of file llmenugl.cpp.
References FALSE, LLMenuItemBranchGL::getBranch(), LLView::getChildView(), LLView::getName(), llendl, llwarns, and NULL.
Referenced by LLObjectBridge::buildContextMenu(), and init_menus().
BOOL LLMenuGL::clearHoverItem | ( | ) |
Definition at line 2897 of file llmenugl.cpp.
References FALSE, LLView::getChildList(), LLMenuItemGL::getHighlight(), LLMenuItemGL::setHighlight(), and TRUE.
Referenced by LLMenuBarGL::checkMenuTrigger(), LLMenuBarGL::draw(), LLMenuBarGL::handleAcceleratorKey(), LLMenuItemBranchGL::handleKeyHere(), LLViewerMenuHolderGL::hideMenus(), LLTearOffMenu::onClose(), LLTearOffMenu::onFocusLost(), LLMenuItemBranchDownGL::setHighlight(), LLMenuItemBranchGL::setHighlight(), LLMenuItemGL::setHighlight(), setVisible(), and LLTearOffMenu::translate().
const LLString& LLMenuGL::getLabel | ( | void | ) | const [inline] |
Definition at line 427 of file llmenugl.h.
References LLUIString::getString(), and mLabel.
Referenced by LLMenuBarGL::appendMenu(), appendMenu(), and LLPieMenu::appendPieMenu().
void LLMenuGL::setLabel | ( | const LLStringExplicit & | label | ) | [inline] |
static void LLMenuGL::setDefaultBackgroundColor | ( | const LLColor4 & | color | ) | [inline, static] |
Definition at line 431 of file llmenugl.h.
References sDefaultBackgroundColor.
Referenced by pre_init_menus().
void LLMenuGL::setBackgroundColor | ( | const LLColor4 & | color | ) | [inline] |
Definition at line 432 of file llmenugl.h.
References mBackgroundColor.
Referenced by appendMenu(), createSpilloverBranch(), LLMenuBarGL::fromXML(), fromXML(), init_menus(), LLFolderView::LLFolderView(), LLPanelLogin::loadLoginPage(), and LLViewerWindow::setMenuBackgroundColor().
const LLColor4& LLMenuGL::getBackgroundColor | ( | ) | const [inline] |
Definition at line 433 of file llmenugl.h.
References mBackgroundColor.
Referenced by LLViewerWindow::initWorldUI(), and LLPanelLogin::loadLoginPage().
void LLMenuGL::setBackgroundVisible | ( | BOOL | b | ) | [inline] |
Definition at line 434 of file llmenugl.h.
References mBgVisible.
Referenced by LLTearOffMenu::draw(), LLMenuBarGL::fromXML(), fromXML(), and LLTearOffMenu::onClose().
void LLMenuGL::setCanTearOff | ( | BOOL | tear_off, | |
LLHandle< LLFloater > | parent_floater_handle = LLHandle<LLFloater>() | |||
) |
Definition at line 1679 of file llmenugl.cpp.
References LLView::addChildAtEnd(), arrange(), mItems, mTearOffItem, NULL, and LLView::removeChild().
Referenced by createSpilloverBranch(), LLMenuBarGL::fromXML(), fromXML(), LLMenuBarGL::LLMenuBarGL(), LLMenuGL(), LLNetMap::LLNetMap(), and LLPieMenu::LLPieMenu().
BOOL LLMenuGL::append | ( | LLMenuItemGL * | item | ) | [virtual] |
Reimplemented in LLPieMenu.
Definition at line 2435 of file llmenugl.cpp.
References LLView::addChild(), arrange(), mItems, and TRUE.
Referenced by LLPieMenu::append(), LLMenuBarGL::appendMenu(), appendMenu(), LLMenuBarGL::appendSeparator(), appendSeparator(), arrange(), LLVOAvatar::buildCharacter(), LLObjectBridge::buildContextMenu(), init_client_menu(), init_debug_avatar_menu(), init_debug_baked_texture_menu(), init_debug_rendering_menu(), init_debug_ui_menu(), init_debug_world_menu(), init_debug_xui_menu(), init_landmark_menu(), init_server_menu(), LLNetMap::LLNetMap(), and parseChildXML().
Reimplemented in LLPieMenu, and LLMenuBarGL.
Definition at line 2444 of file llmenugl.cpp.
References append().
Referenced by LLVOAvatar::buildCharacter(), init_client_menu(), init_debug_rendering_menu(), init_debug_ui_menu(), init_landmark_menu(), init_server_menu(), LLNetMap::LLNetMap(), and parseChildXML().
Reimplemented in LLMenuBarGL.
Definition at line 2451 of file llmenugl.cpp.
References append(), getJumpKey(), getLabel(), LLView::getName(), llendl, llerrs, LLMenuItemBranchGL, mBackgroundColor, NULL, setBackgroundColor(), LLMenuItemGL::setJumpKey(), and TRUE.
Referenced by init_client_menu(), init_debug_avatar_menu(), init_debug_rendering_menu(), init_server_menu(), and parseChildXML().
void LLMenuGL::updateParent | ( | LLView * | parentp | ) | [virtual] |
Definition at line 2716 of file llmenugl.cpp.
References LLView::addChild(), LLView::getParent(), mItems, and LLView::removeChild().
Referenced by createSpilloverBranch(), LLMenuBarGL::fromXML(), LLMenuBarGL::getXML(), LLNetMap::handleRightMouseDown(), LLFolderView::handleRightMouseDown(), init_menus(), parseChildXML(), and LLMenuItemBranchGL::updateBranchParent().
Definition at line 2483 of file llmenugl.cpp.
References mItems.
Referenced by LLSelectMgr::processObjectProperties(), and show_debug_menus().
void LLMenuGL::setEnabledSubMenus | ( | BOOL | enable | ) |
Definition at line 2471 of file llmenugl.cpp.
References mItems, and LLView::setEnabled().
Referenced by LLMenuItemBranchGL::setEnabledSubMenus().
Definition at line 2497 of file llmenugl.cpp.
References mItems.
Referenced by init_menus(), LLFloaterTools::onClose(), LLFloaterTools::onOpen(), and show_debug_menus().
Definition at line 2404 of file llmenugl.cpp.
References arrange(), LLView::getRect(), and LLView::setRect().
Reimplemented in LLMenuBarGL.
Definition at line 2410 of file llmenugl.cpp.
References mJumpKeys, setKeyboardMode(), and TRUE.
Referenced by handleUnicodeCharHere().
BOOL LLMenuGL::jumpKeysActive | ( | ) | [virtual] |
Reimplemented in LLMenuBarGL.
Definition at line 2005 of file llmenugl.cpp.
References LLView::getEnabled(), getHighlightedItem(), LLView::getParent(), getParentMenuItem(), getTornOff(), LLView::getVisible(), LLUICtrl::hasFocus(), and LLMenuItemGL::isActive().
Referenced by LLMenuItemBranchDownGL::draw(), LLMenuItemGL::draw(), handleUnicodeCharHere(), and LLMenuBarGL::jumpKeysActive().
BOOL LLMenuGL::isOpen | ( | void | ) | [virtual] |
Definition at line 2026 of file llmenugl.cpp.
References getHighlightedItem(), LLView::getParent(), getTornOff(), LLView::getVisible(), LLUICtrl::hasFocus(), LLMenuItemGL::isOpen(), and TRUE.
Referenced by LLFolderView::handleKeyHere(), LLMenuItemBranchGL::handleKeyHere(), LLFolderView::handleUnicodeCharHere(), and LLMenuItemBranchGL::isOpen().
void LLMenuGL::arrange | ( | void | ) | [virtual] |
Reimplemented in LLPieMenu, and LLMenuBarGL.
Definition at line 2119 of file llmenugl.cpp.
References LLView::addChild(), append(), cleanupSpilloverBranch(), createSpilloverBranch(), LLRectBase< Type >::getHeight(), LLMenuHolderGL::getMenuRect(), LLMenuItemGL::getNominalHeight(), LLMenuItemGL::getNominalWidth(), LLView::getRect(), getTornOff(), LLFontGL::getWidth(), LLRectBase< Type >::getWidth(), llmax(), llmin(), llround(), MENU_ITEM_PADDING, mHorizontalLayout, mItems, mKeepFixedSize, mSpilloverBranch, mSpilloverMenu, PLAIN_PAD_PIXELS, LLView::removeChild(), LLView::reshape(), S32, S32_MAX, LLRectBase< Type >::setLeftTopAndSize(), LLView::setRect(), LLFontGL::sSansSerif, and U32_MAX.
Referenced by append(), LLMenuItemTearOffGL::doIt(), LLTearOffMenu::draw(), LLFolderView::handleRightMouseDown(), LLTearOffMenu::LLTearOffMenu(), LLMenuItemBranchDownGL::openMenu(), LLMenuItemBranchGL::openMenu(), setCanTearOff(), and setLeftAndBottom().
void LLMenuGL::empty | ( | void | ) |
Definition at line 2393 of file llmenugl.cpp.
References cleanupSpilloverBranch(), LLView::deleteAllChildren(), and mItems.
Referenced by clear_landmark_menu().
void LLMenuGL::setItemLastSelected | ( | LLMenuItemGL * | item | ) |
Definition at line 2510 of file llmenugl.cpp.
References LLMenuItemGL::buildDrawLabel(), LLView::getVisible(), and LLMenuHolderGL::setActivatedItem().
Referenced by LLMenuItemToggleGL::doIt(), and LLMenuItemCallGL::doIt().
U32 LLMenuGL::getItemCount | ( | ) |
Definition at line 2532 of file llmenugl.cpp.
References mItems.
Referenced by LLMenuItemBranchGL::addToAcceleratorList(), LLPieMenuBranch::buildDrawLabel(), and cleanupSpilloverBranch().
LLMenuItemGL * LLMenuGL::getItem | ( | S32 | number | ) |
Definition at line 2537 of file llmenugl.cpp.
References mItems, NULL, and S32.
Referenced by LLMenuItemBranchGL::addToAcceleratorList(), LLPieMenuBranch::buildDrawLabel(), and cleanupSpilloverBranch().
LLMenuItemGL * LLMenuGL::getHighlightedItem | ( | ) |
Definition at line 2554 of file llmenugl.cpp.
Referenced by LLMenuBarGL::checkMenuTrigger(), LLMenuItemBranchGL::doIt(), LLMenuBarGL::draw(), LLMenuBarGL::handleAcceleratorKey(), LLMenuBarGL::handleHover(), LLViewerWindow::handleKey(), LLTearOffMenu::handleKeyHere(), LLMenuItemBranchGL::handleKeyHere(), LLMenuItemBranchGL::isActive(), isOpen(), LLMenuBarGL::jumpKeysActive(), jumpKeysActive(), and LLTearOffMenu::onFocusReceived().
LLMenuItemGL * LLMenuGL::highlightNextItem | ( | LLMenuItemGL * | cur_item, | |
BOOL | skip_disabled = TRUE | |||
) |
Definition at line 2567 of file llmenugl.cpp.
References FALSE, LLView::getParent(), getTornOff(), mItems, mTearOffItem, NULL, SEPARATOR_NAME, LLUICtrl::setFocus(), LLMenuItemGL::setHighlight(), and TRUE.
Referenced by LLMenuBarGL::checkMenuTrigger(), LLMenuItemBranchGL::doIt(), LLMenuItemTearOffGL::doIt(), LLMenuBarGL::handleAcceleratorKey(), LLMenuItemSeparatorGL::handleHover(), LLTearOffMenu::handleKeyHere(), LLMenuItemBranchDownGL::handleKeyHere(), LLMenuItemBranchGL::handleKeyHere(), LLMenuItemGL::handleKeyHere(), LLTearOffMenu::LLTearOffMenu(), LLTearOffMenu::onFocusReceived(), and LLMenuItemBranchGL::openMenu().
LLMenuItemGL * LLMenuGL::highlightPrevItem | ( | LLMenuItemGL * | cur_item, | |
BOOL | skip_disabled = TRUE | |||
) |
Definition at line 2645 of file llmenugl.cpp.
References LLView::getParent(), getTornOff(), mItems, NULL, SEPARATOR_NAME, LLUICtrl::setFocus(), and TRUE.
Referenced by LLMenuItemSeparatorGL::handleHover(), LLTearOffMenu::handleKeyHere(), LLMenuItemBranchDownGL::handleKeyHere(), and LLMenuItemGL::handleKeyHere().
void LLMenuGL::buildDrawLabels | ( | ) |
Definition at line 2707 of file llmenugl.cpp.
References mItems.
Referenced by LLWornItemFetchedObserver::done(), and LLNetMap::handleRightMouseDown().
void LLMenuGL::createJumpKeys | ( | ) |
Definition at line 2296 of file llmenugl.cpp.
References FALSE, i, LLStringOps::isDigit(), LLStringOps::isUpper(), KEY_NONE, mItems, mJumpKeys, S32, LLStringBase< char >::toUpper(), and TRUE.
Referenced by LLMenuBarGL::fromXML(), fromXML(), init_client_menu(), init_debug_avatar_menu(), init_debug_baked_texture_menu(), init_debug_rendering_menu(), init_debug_ui_menu(), init_debug_world_menu(), init_debug_xui_menu(), init_menus(), and init_server_menu().
static void LLMenuGL::showPopup | ( | LLMenuGL * | menu | ) | [static] |
Referenced by LLNetMap::handleRightMouseDown(), and LLFolderView::handleRightMouseDown().
Definition at line 2918 of file llmenugl.cpp.
References LLRectBase< Type >::getHeight(), LLMenuHolderGL::getMenuRect(), LLView::getParent(), LLView::getRect(), LLRectBase< Type >::getWidth(), HPAD, LLView::localPointToOtherView(), LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, S32, LLRectBase< Type >::setLeftTopAndSize(), LLView::setRect(), setVisible(), LLView::translate(), and TRUE.
void LLMenuGL::setDropShadowed | ( | const BOOL | shadowed | ) |
Definition at line 2522 of file llmenugl.cpp.
References mDropShadowed.
Referenced by LLMenuBarGL::fromXML(), fromXML(), LLTearOffMenu::LLTearOffMenu(), and LLTearOffMenu::onClose().
void LLMenuGL::setParentMenuItem | ( | LLMenuItemGL * | parent_menu_item | ) | [inline] |
Definition at line 501 of file llmenugl.h.
References mParentMenuItem.
Referenced by LLMenuItemBranchGL::LLMenuItemBranchGL(), and LLPieMenuBranch::LLPieMenuBranch().
LLMenuItemGL* LLMenuGL::getParentMenuItem | ( | ) | [inline] |
Definition at line 502 of file llmenugl.h.
References mParentMenuItem.
Referenced by jumpKeysActive(), and LLTearOffMenu::onFocusReceived().
void LLMenuGL::setTornOff | ( | BOOL | torn_off | ) |
Definition at line 2527 of file llmenugl.cpp.
References mTornOff.
Referenced by LLTearOffMenu::LLTearOffMenu(), and LLTearOffMenu::onClose().
BOOL LLMenuGL::getTornOff | ( | ) | [inline] |
Definition at line 505 of file llmenugl.h.
References mTornOff.
Referenced by arrange(), LLMenuItemBranchGL::draw(), LLMenuItemBranchGL::handleKeyHere(), highlightNextItem(), highlightPrevItem(), isOpen(), jumpKeysActive(), LLMenuItemBranchGL::onVisibilityChange(), LLMenuItemBranchDownGL::openMenu(), LLMenuItemBranchGL::openMenu(), and LLMenuItemBranchGL::setHighlight().
BOOL LLMenuGL::getCanTearOff | ( | ) | [inline] |
Definition at line 507 of file llmenugl.h.
References mTearOffItem, and NULL.
Referenced by LLMenuBarGL::fromXML(), and LLMenuItemBranchGL::openMenu().
KEY LLMenuGL::getJumpKey | ( | ) | const [inline] |
Definition at line 509 of file llmenugl.h.
References mJumpKey.
Referenced by appendMenu().
void LLMenuGL::setJumpKey | ( | KEY | key | ) | [inline] |
Definition at line 510 of file llmenugl.h.
References mJumpKey.
Referenced by fromXML().
static void LLMenuGL::setKeyboardMode | ( | BOOL | mode | ) | [inline, static] |
Definition at line 512 of file llmenugl.h.
References sKeyboardMode.
Referenced by LLMenuBarGL::checkMenuTrigger(), LLMenuBarGL::handleAcceleratorKey(), LLMenuBarGL::handleHover(), handleHover(), LLMenuBarGL::handleJumpKey(), handleJumpKey(), LLViewerWindow::handleKey(), LLMenuItemBranchDownGL::handleKeyHere(), LLMenuItemBranchGL::handleKeyHere(), LLMenuItemGL::handleKeyHere(), LLMenuItemBranchDownGL::handleMouseDown(), LLMenuItemGL::handleMouseDown(), LLMenuItemBranchGL::handleMouseUp(), LLMenuItemGL::handleMouseUp(), and LLMenuHolderGL::hideMenus().
static BOOL LLMenuGL::getKeyboardMode | ( | ) | [inline, static] |
Definition at line 513 of file llmenugl.h.
References sKeyboardMode.
Referenced by LLMenuItemBranchGL::doIt(), LLMenuBarGL::draw(), LLMenuItemBranchDownGL::draw(), LLMenuItemGL::draw(), LLMenuBarGL::handleHover(), LLViewerWindow::handleKey(), LLMenuItemBranchDownGL::handleKeyHere(), and LLMenuBarGL::jumpKeysActive().
void LLMenuGL::createSpilloverBranch | ( | ) | [protected] |
Definition at line 2246 of file llmenugl.cpp.
References FALSE, LLFontGL::ITALIC, LLMenuGL(), LLMenuItemBranchGL, mBackgroundColor, mParentFloaterHandle, mSpilloverBranch, mSpilloverMenu, setBackgroundColor(), setCanTearOff(), LLMenuItemGL::setFontStyle(), and updateParent().
Referenced by arrange().
void LLMenuGL::cleanupSpilloverBranch | ( | ) | [protected] |
Definition at line 2265 of file llmenugl.cpp.
References LLView::addChild(), cleanupSpilloverBranch(), getItem(), getItemCount(), LLView::getParent(), mItems, mSpilloverBranch, mSpilloverMenu, NULL, and LLView::removeChild().
Referenced by arrange(), cleanupSpilloverBranch(), and empty().
friend class LLMenuItemBranchGL [friend] |
LLMenuHolderGL * LLMenuGL::sMenuContainer = NULL [static] |
Definition at line 515 of file llmenugl.h.
Referenced by LLFolderView::handleKeyHere(), LLPieMenu::handleMouseUp(), LLNetMap::handleRightMouseDown(), LLFolderView::handleRightMouseDown(), LLPieMenu::handleRightMouseUp(), LLFolderView::handleUnicodeCharHere(), and init_menus().
item_list_t LLMenuGL::mItems [protected] |
Definition at line 523 of file llmenugl.h.
Referenced by append(), LLMenuBarGL::arrange(), LLPieMenu::arrange(), arrange(), buildDrawLabels(), cleanupSpilloverBranch(), createJumpKeys(), LLPieMenu::draw(), LLPieMenu::drawBackground(), empty(), getHighlightedItem(), getItem(), getItemCount(), LLMenuBarGL::getRightmostMenuEdge(), LLMenuBarGL::getXML(), getXML(), handleAcceleratorKey(), highlightNextItem(), highlightPrevItem(), LLPieMenu::pieItemFromXY(), setCanTearOff(), setEnabledSubMenus(), setItemEnabled(), setItemVisible(), and updateParent().
navigation_key_map_t LLMenuGL::mJumpKeys [protected] |
Definition at line 525 of file llmenugl.h.
Referenced by createJumpKeys(), LLMenuBarGL::handleJumpKey(), handleJumpKey(), and ~LLMenuGL().
S32 LLMenuGL::mLastMouseX [protected] |
Definition at line 526 of file llmenugl.h.
Referenced by LLMenuBarGL::handleHover(), handleHover(), and setVisible().
S32 LLMenuGL::mLastMouseY [protected] |
Definition at line 527 of file llmenugl.h.
Referenced by LLMenuBarGL::handleHover(), handleHover(), and setVisible().
S32 LLMenuGL::mMouseVelX [protected] |
Definition at line 528 of file llmenugl.h.
Referenced by LLMenuBarGL::handleHover(), and handleHover().
S32 LLMenuGL::mMouseVelY [protected] |
Definition at line 529 of file llmenugl.h.
Referenced by LLMenuBarGL::handleHover(), and handleHover().
BOOL LLMenuGL::mHorizontalLayout [protected] |
BOOL LLMenuGL::mKeepFixedSize [protected] |
LLColor4 LLMenuGL::sDefaultBackgroundColor [static, private] |
BOOL LLMenuGL::sKeyboardMode = FALSE [static, private] |
LLColor4 LLMenuGL::mBackgroundColor [private] |
Definition at line 537 of file llmenugl.h.
Referenced by appendMenu(), createSpilloverBranch(), draw(), getBackgroundColor(), getXML(), and setBackgroundColor().
BOOL LLMenuGL::mBgVisible [private] |
Definition at line 538 of file llmenugl.h.
Referenced by draw(), getXML(), and setBackgroundVisible().
LLMenuItemGL* LLMenuGL::mParentMenuItem [private] |
Definition at line 539 of file llmenugl.h.
Referenced by getParentMenuItem(), and setParentMenuItem().
LLUIString LLMenuGL::mLabel [private] |
BOOL LLMenuGL::mDropShadowed [private] |
BOOL LLMenuGL::mHasSelection [private] |
LLFrameTimer LLMenuGL::mFadeTimer [private] |
BOOL LLMenuGL::mTornOff [private] |
class LLMenuItemTearOffGL* LLMenuGL::mTearOffItem [private] |
Definition at line 545 of file llmenugl.h.
Referenced by getCanTearOff(), getXML(), highlightNextItem(), and setCanTearOff().
class LLMenuItemBranchGL* LLMenuGL::mSpilloverBranch [private] |
Definition at line 546 of file llmenugl.h.
Referenced by arrange(), cleanupSpilloverBranch(), createSpilloverBranch(), and ~LLMenuGL().
LLMenuGL* LLMenuGL::mSpilloverMenu [private] |
Definition at line 547 of file llmenugl.h.
Referenced by arrange(), cleanupSpilloverBranch(), and createSpilloverBranch().
LLHandle<LLFloater> LLMenuGL::mParentFloaterHandle [private] |
KEY LLMenuGL::mJumpKey [private] |