LLMenuBarGL Class Reference

#include <llmenugl.h>

Inheritance diagram for LLMenuBarGL:

Inheritance graph
[legend]
Collaboration diagram for LLMenuBarGL:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLMenuBarGL (const LLString &name)
virtual ~LLMenuBarGL ()
virtual LLXMLNodePtr getXML (bool save_children=true) const
virtual BOOL handleAcceleratorKey (KEY key, MASK mask)
virtual BOOL handleKeyHere (KEY key, MASK mask)
virtual BOOL handleJumpKey (KEY key)
virtual void arrange (void)
virtual void draw ()
virtual BOOL jumpKeysActive ()
virtual BOOL appendSeparator (const LLString &separator_name="separator")
virtual BOOL appendMenu (LLMenuGL *menu)
virtual BOOL handleHover (S32 x, S32 y, MASK mask)
S32 getRightmostMenuEdge ()
void resetMenuTrigger ()

Static Public Member Functions

static LLViewfromXML (LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory)

Private Member Functions

void checkMenuTrigger ()

Private Attributes

std::list< LLKeyBinding * > mAccelerators
BOOL mAltKeyTrigger


Detailed Description

Definition at line 682 of file llmenugl.h.


Constructor & Destructor Documentation

LLMenuBarGL::LLMenuBarGL ( const LLString name  ) 

Definition at line 3742 of file llmenugl.cpp.

References FALSE, mAltKeyTrigger, LLMenuGL::mHorizontalLayout, LLMenuGL::mKeepFixedSize, LLMenuGL::setCanTearOff(), and TRUE.

Referenced by fromXML().

Here is the call graph for this function:

Here is the caller graph for this function:

LLMenuBarGL::~LLMenuBarGL (  )  [virtual]

Definition at line 3751 of file llmenugl.cpp.

References mAccelerators.


Member Function Documentation

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

Reimplemented from LLMenuGL.

Definition at line 3758 of file llmenugl.cpp.

References LLMenuItemBranchGL::getBranch(), LLView::getParent(), LLMenuGL::getXML(), LLMenuGL::mItems, NULL, and LLMenuGL::updateParent().

Referenced by handle_export_menus_to_xml().

Here is the call graph for this function:

Here is the caller graph for this function:

LLView * LLMenuBarGL::fromXML ( LLXMLNodePtr  node,
LLView parent,
LLUICtrlFactory factory 
) [static]

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

Reimplemented from LLMenuGL.

Definition at line 3859 of file llmenugl.cpp.

References LLMenuGL::clearHoverItem(), FALSE, LLMenuGL::getHighlightedItem(), LLKeyboard::getKeyRepeated(), gKeyboard, LLMenuGL::handleAcceleratorKey(), LLMenuGL::highlightNextItem(), KEY_F10, mAltKeyTrigger, MASK_ALT, MASK_CONTROL, MASK_NONE, NULL, LLMenuGL::setKeyboardMode(), and TRUE.

Referenced by LLViewerWindow::handleKey().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented from LLView.

Definition at line 3891 of file llmenugl.cpp.

References checkMenuTrigger(), FALSE, LLControlGroup::getBOOL(), LLKeyboard::getKeyRepeated(), gKeyboard, LLView::handleKeyHere(), KEY_ALT, mAltKeyTrigger, LLUI::sConfigGroup, and TRUE.

Here is the call graph for this function:

BOOL LLMenuBarGL::handleJumpKey ( KEY  key  )  [virtual]

Reimplemented from LLMenuGL.

Definition at line 3908 of file llmenugl.cpp.

References LLMenuGL::mJumpKeys, LLMenuGL::setKeyboardMode(), and TRUE.

Here is the call graph for this function:

void LLMenuBarGL::arrange ( void   )  [virtual]

void LLMenuBarGL::draw ( void   )  [virtual]

BOOL LLMenuBarGL::jumpKeysActive (  )  [virtual]

Reimplemented from LLMenuGL.

Definition at line 3965 of file llmenugl.cpp.

References LLMenuGL::getHighlightedItem(), LLMenuGL::getKeyboardMode(), and LLMenuGL::jumpKeysActive().

Here is the call graph for this function:

BOOL LLMenuBarGL::appendSeparator ( const LLString separator_name = "separator"  )  [virtual]

Reimplemented from LLMenuGL.

Definition at line 4014 of file llmenugl.cpp.

References LLMenuGL::append().

Here is the call graph for this function:

BOOL LLMenuBarGL::appendMenu ( LLMenuGL menu  )  [virtual]

Reimplemented from LLMenuGL.

Definition at line 4021 of file llmenugl.cpp.

References LLMenuItemBranchGL::addToAcceleratorList(), LLMenuGL::append(), LLMenuItemGL::getJumpKey(), LLMenuGL::getLabel(), LLView::getName(), llendl, llerrs, mAccelerators, NULL, LLMenuItemGL::setJumpKey(), and TRUE.

Referenced by fromXML(), and init_menus().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLMenuBarGL::handleHover ( S32  x,
S32  y,
MASK  mask 
) [virtual]

S32 LLMenuBarGL::getRightmostMenuEdge (  ) 

Definition at line 3994 of file llmenugl.cpp.

References LLMenuGL::mItems.

Referenced by LLStatusBar::refresh().

Here is the caller graph for this function:

void LLMenuBarGL::resetMenuTrigger (  )  [inline]

Definition at line 712 of file llmenugl.h.

References FALSE, and mAltKeyTrigger.

Referenced by LLViewerWindow::handleFocusLost(), LLViewerWindow::handleMouseDown(), LLViewerWindow::handleRightMouseDown(), and LLViewerMenuHolderGL::hideMenus().

Here is the caller graph for this function:

void LLMenuBarGL::checkMenuTrigger (  )  [private]


Member Data Documentation

Definition at line 717 of file llmenugl.h.

Referenced by appendMenu(), and ~LLMenuBarGL().


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

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