#include <llmenugl.h>
Inheritance diagram for LLMenuItemTearOffGL:
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 |
Definition at line 825 of file llmenugl.h.
LLMenuItemTearOffGL::LLMenuItemTearOffGL | ( | LLViewHandle | parent_floater_handle = (LLViewHandle) LLViewHandle::sDeadHandle |
) |
Definition at line 717 of file llmenugl.cpp.
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.
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] |
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.
LLViewHandle LLMenuItemTearOffGL::mParentHandle [protected] |