LLPieMenuBranch Class Reference

Inheritance diagram for LLPieMenuBranch:

Inheritance graph
[legend]
Collaboration diagram for LLPieMenuBranch:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPieMenuBranch (const LLString &name, const LLString &label, LLPieMenu *branch, enabled_callback ecb, void *user_data)
virtual EWidgetType getWidgetType () const
virtual LLString getWidgetTag () const
virtual void buildDrawLabel (void)
virtual void doIt (void)
LLPieMenugetBranch ()

Protected Attributes

LLPieMenumBranch
enabled_callback mEnabledCallback
voidmUserData

Detailed Description

Definition at line 3214 of file llmenugl.cpp.


Constructor & Destructor Documentation

LLPieMenuBranch::LLPieMenuBranch ( const LLString name,
const LLString label,
LLPieMenu branch,
enabled_callback  ecb,
void user_data 
)

Definition at line 3237 of file llmenugl.cpp.

References FALSE, LLPieMenu::hide(), mBranch, and LLMenuGL::setParentMenuItem().


Member Function Documentation

void LLPieMenuBranch::buildDrawLabel ( void   )  [virtual]

Reimplemented from LLMenuItemGL.

Definition at line 3252 of file llmenugl.cpp.

References LLMenuItemGL::appendAcceleratorString(), LLMenuItemGL::buildDrawLabel(), LLUIString::clear(), FALSE, LLMenuGL::getItem(), LLMenuGL::getItemCount(), i, mBranch, LLMenuItemGL::mDrawAccelLabel, LLMenuItemGL::mDrawBranchLabel, LLMenuItemGL::mDrawTextDisabled, mEnabledCallback, mUserData, LLView::setEnabled(), and TRUE.

void LLPieMenuBranch::doIt ( void   )  [virtual]

Reimplemented from LLMenuItemGL.

Definition at line 3290 of file llmenugl.cpp.

References FALSE, LLRectBase< Type >::getHeight(), LLView::getParent(), LLView::getRect(), LLRectBase< Type >::getWidth(), LLPieMenu::hide(), LLView::localPointToScreen(), mBranch, S32, and LLPieMenu::show().

LLPieMenu* LLPieMenuBranch::getBranch (  )  [inline]

Definition at line 3229 of file llmenugl.cpp.

References mBranch.

Referenced by LLPieMenu::appendMenu().

virtual LLString LLPieMenuBranch::getWidgetTag (  )  const [inline, virtual]

Reimplemented from LLMenuItemGL.

Definition at line 3221 of file llmenugl.cpp.

References LL_PIE_MENU_BRANCH_TAG.

virtual EWidgetType LLPieMenuBranch::getWidgetType (  )  const [inline, virtual]

Reimplemented from LLMenuItemGL.

Definition at line 3220 of file llmenugl.cpp.

References WIDGET_TYPE_PIE_MENU_BRANCH.


Member Data Documentation

LLPieMenu* LLPieMenuBranch::mBranch [protected]

Definition at line 3232 of file llmenugl.cpp.

Referenced by buildDrawLabel(), doIt(), getBranch(), and LLPieMenuBranch().

enabled_callback LLPieMenuBranch::mEnabledCallback [protected]

Definition at line 3233 of file llmenugl.cpp.

Referenced by buildDrawLabel().

void* LLPieMenuBranch::mUserData [protected]

Definition at line 3234 of file llmenugl.cpp.

Referenced by buildDrawLabel().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:39 2010 for Second Life Viewer by  doxygen 1.4.7