LLMenuItemTearOffGL Class Reference

#include <llmenugl.h>

Inheritance diagram for LLMenuItemTearOffGL:

Inheritance graph
[legend]
Collaboration diagram for LLMenuItemTearOffGL:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLMenuItemTearOffGL (LLViewHandle parent_floater_handle=(LLViewHandle) LLViewHandle::sDeadHandle)
virtual EWidgetType getWidgetType () const
virtual LLString getWidgetTag () const
virtual LLString getType () const
virtual void doIt (void)
virtual void draw (void)
virtual U32 getNominalHeight ()

Protected Attributes

LLViewHandle mParentHandle

Detailed Description

Definition at line 825 of file llmenugl.h.


Constructor & Destructor Documentation

LLMenuItemTearOffGL::LLMenuItemTearOffGL ( LLViewHandle  parent_floater_handle = (LLViewHandleLLViewHandle::sDeadHandle  ) 

Definition at line 717 of file llmenugl.cpp.


Member Function Documentation

void LLMenuItemTearOffGL::doIt ( void   )  [virtual]

Reimplemented from LLMenuItemGL.

Definition at line 733 of file llmenugl.cpp.

References LLMenuGL::arrange(), LLFloater::close(), LLTearOffMenu::create(), LLMenuItemGL::doIt(), FALSE, LLFloater::getFloaterByHandle(), LLMenuItemGL::getHighlight(), LLMenuItemGL::getMenu(), LLView::getParent(), LLMenuGL::highlightNextItem(), mParentHandle, LLFloater::setFocus(), and TRUE.

void LLMenuItemTearOffGL::draw ( void   )  [virtual]

Reimplemented from LLMenuItemGL.

Definition at line 768 of file llmenugl.cpp.

References LLView::getEnabled(), LLRectBase< Type >::getHeight(), LLMenuItemGL::getHighlight(), LLRectBase< Type >::getWidth(), gl_line_2d(), gl_rect_2d(), glColor4fv, LLMenuItemGL::mBriefItem, LLView::mEnabled, LLView::mRect, LLColor4::mV, S32, LLMenuItemGL::sDisabledColor, LLMenuItemGL::sEnabledColor, LLMenuItemGL::sHighlightBackground, and y.

U32 LLMenuItemTearOffGL::getNominalHeight (  )  [virtual]

Reimplemented from LLMenuItemGL.

Definition at line 791 of file llmenugl.cpp.

References TEAROFF_SEPARATOR_HEIGHT_PIXELS.

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

Reimplemented from LLMenuItemGL.

Definition at line 833 of file llmenugl.h.

LLString LLMenuItemTearOffGL::getWidgetTag (  )  const [virtual]

Reimplemented from LLMenuItemGL.

Definition at line 728 of file llmenugl.cpp.

References LL_MENU_ITEM_TEAR_OFF_GL_TAG.

EWidgetType LLMenuItemTearOffGL::getWidgetType (  )  const [virtual]

Reimplemented from LLMenuItemGL.

Definition at line 723 of file llmenugl.cpp.

References WIDGET_TYPE_TEAROFF_MENU.


Member Data Documentation

LLViewHandle LLMenuItemTearOffGL::mParentHandle [protected]

Definition at line 840 of file llmenugl.h.

Referenced by doIt().


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