LLMenuItemBranchDownGL Class Reference

Inheritance diagram for LLMenuItemBranchDownGL:

Inheritance graph
[legend]
Collaboration diagram for LLMenuItemBranchDownGL:

Collaboration graph
[legend]

List of all members.

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)


Detailed Description

Definition at line 1325 of file llmenugl.cpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

Reimplemented from LLMenuItemBranchGL.

Definition at line 1333 of file llmenugl.cpp.

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.

Here is the call graph for this function:

void LLMenuItemBranchDownGL::buildDrawLabel ( void   )  [virtual]

Reimplemented from LLMenuItemBranchGL.

Definition at line 1380 of file llmenugl.cpp.

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

Here is the call graph for this function:

void LLMenuItemBranchDownGL::openMenu ( void   )  [virtual]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLMenuItemBranchDownGL::isActive ( void   )  const [virtual]

Reimplemented from LLMenuItemBranchGL.

Definition at line 1457 of file llmenugl.cpp.

References LLMenuItemBranchGL::isOpen().

Referenced by handleKeyHere().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented from LLMenuItemGL.

Definition at line 1465 of file llmenugl.cpp.

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

Here is the call graph for this function:

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

Reimplemented from LLMenuItemBranchGL.

Definition at line 1474 of file llmenugl.cpp.

References TRUE.

void LLMenuItemBranchDownGL::draw ( void   )  [virtual]

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

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

Reimplemented from LLMenuItemBranchGL.

Definition at line 1480 of file llmenugl.cpp.

References LLMenuItemBranchGL::getBranch(), LLView::getVisible(), LLMenuGL::handleAcceleratorKey(), and LLMenuHolderGL::setActivatedItem().

Here is the call graph for this function:


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

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