LLMenuItemBranchGL Class Reference

#include <llmenugl.h>

Inheritance diagram for LLMenuItemBranchGL:

Inheritance graph
[legend]
Collaboration diagram for LLMenuItemBranchGL:

Collaboration graph
[legend]

List of all members.

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 LLString getType () 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)
virtual BOOL isActive () const
virtual BOOL isOpen () const
LLMenuGLgetBranch () const
virtual void updateBranchParent (LLView *parentp)
virtual void onVisibilityChange (BOOL curVisibilityIn)
virtual void draw ()
virtual void setEnabledSubMenus (BOOL enabled)
virtual void openMenu ()
virtual LLViewgetChildView (const LLString &name, BOOL recurse=TRUE, BOOL create_if_missing=TRUE) const

Private Attributes

LLMenuGLmBranch


Detailed Description

Definition at line 561 of file llmenugl.h.


Constructor & Destructor Documentation

LLMenuItemBranchGL::LLMenuItemBranchGL ( const LLString name,
const LLString label,
LLMenuGL branch,
KEY  key = KEY_NONE,
MASK  mask = MASK_NONE 
)

Definition at line 1038 of file llmenugl.cpp.

References FALSE, mBranch, LLMenuGL::setParentMenuItem(), and LLMenuGL::setVisible().

Here is the call graph for this function:


Member Function Documentation

LLXMLNodePtr LLMenuItemBranchGL::getXML ( bool  save_children = true  )  const [virtual]

Reimplemented from LLMenuItemGL.

Definition at line 1081 of file llmenugl.cpp.

References LLMenuItemGL::getXML(), LLMenuGL::getXML(), and mBranch.

Here is the call graph for this function:

virtual LLString LLMenuItemBranchGL::getType (  )  const [inline, virtual]

Reimplemented from LLMenuItemGL.

Reimplemented in LLMenuItemBranchDownGL.

Definition at line 568 of file llmenugl.h.

BOOL LLMenuItemBranchGL::handleMouseUp ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLMenuItemGL.

Reimplemented in LLMenuItemBranchDownGL.

Definition at line 1065 of file llmenugl.cpp.

References doIt(), FALSE, make_ui_sound(), LLMenuGL::setKeyboardMode(), and TRUE.

Here is the call graph for this function:

BOOL LLMenuItemBranchGL::handleAcceleratorKey ( KEY  key,
MASK  mask 
) [virtual]

Reimplemented from LLMenuItemGL.

Reimplemented in LLMenuItemBranchDownGL.

Definition at line 1075 of file llmenugl.cpp.

References LLMenuGL::handleAcceleratorKey(), and mBranch.

Here is the call graph for this function:

BOOL LLMenuItemBranchGL::addToAcceleratorList ( std::list< LLKeyBinding * > *  listp  )  [virtual]

Reimplemented from LLMenuItemGL.

Definition at line 1094 of file llmenugl.cpp.

References LLMenuItemGL::addToAcceleratorList(), FALSE, LLMenuGL::getItem(), LLMenuGL::getItemCount(), and mBranch.

Referenced by LLMenuBarGL::appendMenu().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLMenuItemBranchGL::buildDrawLabel ( void   )  [virtual]

Reimplemented from LLMenuItemGL.

Reimplemented in LLMenuItemBranchDownGL.

Definition at line 1111 of file llmenugl.cpp.

References LLMenuItemGL::appendAcceleratorString(), BRANCH_SUFFIX, LLUIString::clear(), LLMenuItemGL::mDrawAccelLabel, and LLMenuItemGL::mDrawBranchLabel.

Here is the call graph for this function:

void LLMenuItemBranchGL::doIt ( void   )  [virtual]

Reimplemented from LLMenuItemGL.

Definition at line 1121 of file llmenugl.cpp.

References LLMenuGL::getHighlightedItem(), LLMenuGL::getKeyboardMode(), LLMenuGL::highlightNextItem(), mBranch, NULL, and openMenu().

Referenced by LLMenuItemBranchDownGL::handleKeyHere(), LLMenuItemBranchDownGL::handleMouseDown(), and handleMouseUp().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLMenuItemBranchGL::handleKey ( KEY  key,
MASK  mask,
BOOL  called_from_parent 
) [virtual]

Reimplemented from LLView.

Definition at line 1133 of file llmenugl.cpp.

References FALSE, LLView::handleKey(), and mBranch.

Here is the call graph for this function:

BOOL LLMenuItemBranchGL::handleUnicodeChar ( llwchar  uni_char,
BOOL  called_from_parent 
) [virtual]

Reimplemented from LLView.

Definition at line 1149 of file llmenugl.cpp.

References FALSE, LLView::handleUnicodeChar(), mBranch, and TRUE.

Here is the call graph for this function:

void LLMenuItemBranchGL::setHighlight ( BOOL  highlight  )  [virtual]

Reimplemented from LLMenuItemGL.

Reimplemented in LLMenuItemBranchDownGL.

Definition at line 1166 of file llmenugl.cpp.

References LLMenuGL::clearHoverItem(), FALSE, LLView::getEnabled(), LLMenuItemGL::getHighlight(), LLMenuItemGL::getMenu(), LLView::getParent(), LLMenuGL::getTornOff(), LLView::getVisible(), mBranch, openMenu(), LLMenuItemGL::setHighlight(), and LLMenuGL::setVisible().

Referenced by draw().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLMenuItemBranchGL::handleKeyHere ( KEY  key,
MASK  mask 
) [virtual]

virtual BOOL LLMenuItemBranchGL::isActive ( void   )  const [inline, virtual]

Reimplemented from LLMenuItemGL.

Reimplemented in LLMenuItemBranchDownGL.

Definition at line 592 of file llmenugl.h.

References LLMenuGL::getHighlightedItem(), isOpen(), and mBranch.

Here is the call graph for this function:

virtual BOOL LLMenuItemBranchGL::isOpen ( void   )  const [inline, virtual]

Reimplemented from LLMenuItemGL.

Definition at line 594 of file llmenugl.h.

References LLMenuGL::isOpen(), and mBranch.

Referenced by isActive(), and LLMenuItemBranchDownGL::isActive().

Here is the call graph for this function:

Here is the caller graph for this function:

LLMenuGL* LLMenuItemBranchGL::getBranch (  )  const [inline]

void LLMenuItemBranchGL::updateBranchParent ( LLView parentp  )  [virtual]

Reimplemented from LLMenuItemGL.

Definition at line 1212 of file llmenugl.cpp.

References LLView::getParent(), mBranch, NULL, and LLMenuGL::updateParent().

Here is the call graph for this function:

void LLMenuItemBranchGL::onVisibilityChange ( BOOL  curVisibilityIn  )  [virtual]

Reimplemented from LLView.

Definition at line 1221 of file llmenugl.cpp.

References FALSE, LLMenuGL::getTornOff(), mBranch, LLView::onVisibilityChange(), and LLMenuGL::setVisible().

Here is the call graph for this function:

void LLMenuItemBranchGL::draw ( void   )  [virtual]

Reimplemented from LLMenuItemGL.

Reimplemented in LLMenuItemBranchDownGL.

Definition at line 1203 of file llmenugl.cpp.

References LLMenuItemGL::draw(), LLMenuGL::getTornOff(), LLView::getVisible(), mBranch, setHighlight(), and TRUE.

Here is the call graph for this function:

virtual void LLMenuItemBranchGL::setEnabledSubMenus ( BOOL  enabled  )  [inline, virtual]

Reimplemented from LLMenuItemGL.

Definition at line 605 of file llmenugl.h.

References mBranch, and LLMenuGL::setEnabledSubMenus().

Here is the call graph for this function:

void LLMenuItemBranchGL::openMenu ( void   )  [virtual]

LLView * LLMenuItemBranchGL::getChildView ( const LLString name,
BOOL  recurse = TRUE,
BOOL  create_if_missing = TRUE 
) const [virtual]

Reimplemented from LLView.

Definition at line 1048 of file llmenugl.cpp.

References FALSE, LLView::getChildView(), LLView::getName(), and mBranch.

Here is the call graph for this function:


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:52:50 2008 for SecondLife by  doxygen 1.5.5