LLMenuHolderGL Class Reference

#include <llmenugl.h>

Inheritance diagram for LLMenuHolderGL:

Inheritance graph
[legend]
Collaboration diagram for LLMenuHolderGL:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLMenuHolderGL ()
 LLMenuHolderGL (const LLString &name, const LLRect &rect, BOOL mouse_opaque, U32 follows=FOLLOWS_NONE)
virtual ~LLMenuHolderGL ()
virtual BOOL hideMenus ()
void reshape (S32 width, S32 height, BOOL called_from_parent=TRUE)
void setCanHide (BOOL can_hide)
virtual void draw ()
virtual BOOL handleMouseDown (S32 x, S32 y, MASK mask)
virtual BOOL handleRightMouseDown (S32 x, S32 y, MASK mask)
virtual const LLRect getMenuRect () const
virtual BOOL hasVisibleMenu () const

Static Public Member Functions

static void setActivatedItem (LLMenuItemGL *item)

Private Attributes

BOOL mCanHide

Static Private Attributes

static LLHandle< LLViewsItemLastSelectedHandle
static LLFrameTimer sItemActivationTimer


Detailed Description

Definition at line 726 of file llmenugl.h.


Constructor & Destructor Documentation

LLMenuHolderGL::LLMenuHolderGL (  ) 

============================================================================ Class LLMenuHolderGL ============================================================================

Definition at line 4112 of file llmenugl.cpp.

References FALSE, mCanHide, LLView::setMouseOpaque(), sItemActivationTimer, LLFrameTimer::stop(), and TRUE.

Here is the call graph for this function:

LLMenuHolderGL::LLMenuHolderGL ( const LLString name,
const LLRect rect,
BOOL  mouse_opaque,
U32  follows = FOLLOWS_NONE 
)

Definition at line 4120 of file llmenugl.cpp.

References mCanHide, LLView::setMouseOpaque(), sItemActivationTimer, LLFrameTimer::stop(), and TRUE.

Here is the call graph for this function:

virtual LLMenuHolderGL::~LLMenuHolderGL (  )  [inline, virtual]

Definition at line 731 of file llmenugl.h.


Member Function Documentation

BOOL LLMenuHolderGL::hideMenus (  )  [virtual]

void LLMenuHolderGL::reshape ( S32  width,
S32  height,
BOOL  called_from_parent = TRUE 
) [virtual]

Reimplemented from LLView.

Definition at line 4181 of file llmenugl.cpp.

References LLView::getRect(), hideMenus(), and LLView::reshape().

Here is the call graph for this function:

void LLMenuHolderGL::setCanHide ( BOOL  can_hide  )  [inline]

Definition at line 735 of file llmenugl.h.

References mCanHide.

void LLMenuHolderGL::draw ( void   )  [virtual]

BOOL LLMenuHolderGL::handleMouseDown ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLView.

Definition at line 4159 of file llmenugl.cpp.

References LLView::childrenHandleMouseDown(), hideMenus(), and NULL.

Here is the call graph for this function:

BOOL LLMenuHolderGL::handleRightMouseDown ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLView.

Definition at line 4170 of file llmenugl.cpp.

References LLView::childrenHandleRightMouseDown(), hideMenus(), and NULL.

Here is the call graph for this function:

virtual const LLRect LLMenuHolderGL::getMenuRect (  )  const [inline, virtual]

Reimplemented in LLViewerMenuHolderGL.

Definition at line 742 of file llmenugl.h.

References LLView::getLocalRect().

Referenced by LLMenuGL::arrange(), LLMenuItemBranchGL::openMenu(), LLPieMenu::show(), and LLMenuGL::showPopup().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLMenuHolderGL::hasVisibleMenu (  )  const [virtual]

Definition at line 4190 of file llmenugl.cpp.

References FALSE, LLView::getChildList(), LLView::getVisible(), NULL, and TRUE.

Referenced by hideMenus().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLMenuHolderGL::setActivatedItem ( LLMenuItemGL item  )  [static]

Definition at line 4233 of file llmenugl.cpp.

References LLView::getHandle(), sItemActivationTimer, sItemLastSelectedHandle, and LLFrameTimer::start().

Referenced by LLMenuItemBranchDownGL::handleAcceleratorKey(), and LLMenuGL::setItemLastSelected().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 748 of file llmenugl.h.

Referenced by draw(), and setActivatedItem().

Definition at line 749 of file llmenugl.h.

Referenced by draw(), LLMenuHolderGL(), and setActivatedItem().

Definition at line 751 of file llmenugl.h.

Referenced by hideMenus(), LLMenuHolderGL(), and setCanHide().


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

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