Public Member Functions | |
LLMenuItemBranchDownGL (const LLString &name, const LLString &label, LLMenuGL *branch, KEY key=KEY_NONE, MASK mask=MASK_NONE) | |
virtual LLString | getType () const |
virtual U32 | getNominalWidth (void) const |
virtual void | buildDrawLabel (void) |
virtual void | openMenu (void) |
virtual void | setHighlight (BOOL highlight) |
virtual BOOL | isActive (void) const |
virtual BOOL | handleMouseDown (S32 x, S32 y, MASK mask) |
virtual BOOL | handleMouseUp (S32 x, S32 y, MASK mask) |
virtual void | draw (void) |
virtual BOOL | handleKeyHere (KEY key, MASK mask) |
virtual BOOL | handleAcceleratorKey (KEY key, MASK mask) |
Definition at line 1325 of file llmenugl.cpp.
LLMenuItemBranchDownGL::LLMenuItemBranchDownGL | ( | const LLString & | name, | |
const LLString & | label, | |||
LLMenuGL * | branch, | |||
KEY | key = KEY_NONE , |
|||
MASK | mask = MASK_NONE | |||
) |
Definition at line 1361 of file llmenugl.cpp.
virtual LLString LLMenuItemBranchDownGL::getType | ( | ) | const [inline, virtual] |
U32 LLMenuItemBranchDownGL::getNominalWidth | ( | void | ) | const [virtual] |
Reimplemented from LLMenuItemGL.
Definition at line 1372 of file llmenugl.cpp.
References LLMenuItemGL::getFont(), LLFontGL::getWidth(), LLUIString::getWString(), LEFT_PAD_PIXELS, LEFT_WIDTH_PIXELS, LLMenuItemGL::mLabel, and RIGHT_PAD_PIXELS.
void LLMenuItemBranchDownGL::buildDrawLabel | ( | void | ) | [virtual] |
Reimplemented from LLMenuItemBranchGL.
Definition at line 1380 of file llmenugl.cpp.
References LLMenuItemGL::appendAcceleratorString(), LLUIString::clear(), and LLMenuItemGL::mDrawAccelLabel.
void LLMenuItemBranchDownGL::openMenu | ( | void | ) | [virtual] |
Reimplemented from LLMenuItemBranchGL.
Definition at line 1388 of file llmenugl.cpp.
References LLMenuGL::arrange(), LLFloaterView::bringToFront(), FALSE, LLMenuItemBranchGL::getBranch(), LLRectBase< Type >::getHeight(), LLView::getParent(), LLView::getRect(), LLWindow::getSize(), LLMenuGL::getTornOff(), LLView::getVisible(), LLRectBase< Type >::getWidth(), LLView::getWindow(), gFloaterView, LLView::localPointToOtherView(), LLView::localPointToScreen(), LLRectBase< Type >::mBottom, LLCoord::mX, S32, setHighlight(), LLRectBase< Type >::setLeftTopAndSize(), LLView::setRect(), LLMenuGL::setVisible(), LLView::translate(), and TRUE.
void LLMenuItemBranchDownGL::setHighlight | ( | BOOL | highlight | ) | [virtual] |
Reimplemented from LLMenuItemBranchGL.
Definition at line 1437 of file llmenugl.cpp.
References LLMenuGL::clearHoverItem(), FALSE, LLMenuItemBranchGL::getBranch(), LLMenuItemGL::getHighlight(), LLView::getParent(), LLMenuItemGL::setHighlight(), and LLMenuGL::setVisible().
Referenced by draw(), and openMenu().
BOOL LLMenuItemBranchDownGL::isActive | ( | void | ) | const [virtual] |
Reimplemented from LLMenuItemBranchGL.
Definition at line 1457 of file llmenugl.cpp.
References LLMenuItemBranchGL::isOpen().
Referenced by handleKeyHere().
Reimplemented from LLMenuItemGL.
Definition at line 1465 of file llmenugl.cpp.
References LLMenuItemBranchGL::doIt(), FALSE, make_ui_sound(), LLMenuGL::setKeyboardMode(), and TRUE.
Reimplemented from LLMenuItemBranchGL.
Definition at line 1474 of file llmenugl.cpp.
References TRUE.
void LLMenuItemBranchDownGL::draw | ( | void | ) | [virtual] |
Reimplemented from LLMenuItemBranchGL.
Definition at line 1556 of file llmenugl.cpp.
References LLFontGL::BOTTOM, LLGLImmediate::color4fv(), LLFontGL::DROP_SHADOW_SOFT, FALSE, LLMenuItemBranchGL::getBranch(), LLMenuItemGL::getDisabledColor(), LLMenuItemGL::getDrawTextDisabled(), LLView::getEnabled(), LLMenuItemGL::getEnabledColor(), LLMenuItemGL::getFont(), LLMenuItemGL::getFontStyle(), LLMenuItemGL::getHighlight(), LLMenuItemGL::getHighlightBGColor(), LLMenuItemGL::getHighlightFGColor(), LLMenuItemGL::getJumpKey(), LLMenuGL::getKeyboardMode(), LLMenuItemGL::getMenu(), LLView::getRect(), LLUIString::getString(), LLView::getVisible(), LLFontGL::getWidth(), LLRectBase< Type >::getWidth(), LLUIString::getWString(), gGL, gl_line_2d(), gl_rect_2d(), LLFontGL::HCENTER, LLMenuGL::jumpKeysActive(), LABEL_BOTTOM_PAD_PIXELS, llround(), LLMenuItemGL::mLabel, LLFontGL::render(), S32, S32_MAX, setHighlight(), LLMenuItemGL::setHover(), LLStringBase< char >::toUpper(), and TRUE.
Reimplemented from LLMenuItemBranchGL.
Definition at line 1493 of file llmenugl.cpp.
References LLMenuItemBranchGL::doIt(), LLMenuItemGL::doIt(), FALSE, LLMenuItemBranchGL::getBranch(), LLView::getEnabled(), LLMenuItemGL::getHighlight(), LLMenuGL::getKeyboardMode(), LLMenuItemGL::getMenu(), LLView::getVisible(), LLMenuGL::highlightNextItem(), LLMenuGL::highlightPrevItem(), isActive(), KEY_DOWN, KEY_LEFT, KEY_RIGHT, KEY_UP, NULL, LLMenuGL::setKeyboardMode(), and TRUE.
Reimplemented from LLMenuItemBranchGL.
Definition at line 1480 of file llmenugl.cpp.
References LLMenuItemBranchGL::getBranch(), LLView::getVisible(), LLMenuGL::handleAcceleratorKey(), and LLMenuHolderGL::setActivatedItem().