#include <llcontainerview.h>


Public Member Functions | |
| LLContainerView (const std::string &name, const LLRect &rect) | |
| ~LLContainerView () | |
| virtual BOOL | handleMouseDown (S32 x, S32 y, MASK mask) |
| virtual BOOL | handleMouseUp (S32 x, S32 y, MASK mask) |
| virtual void | draw () |
| virtual void | reshape (S32 width, S32 height, BOOL called_from_parent=TRUE) |
| virtual LLRect | getRequiredRect () |
| void | setLabel (const LLString &label) |
| void | showLabel (BOOL show) |
| void | setDisplayChildren (const BOOL displayChildren) |
| BOOL | getDisplayChildren () |
| void | setScrollContainer (LLScrollableContainerView *scroll) |
Public Attributes | |
| BOOL | mCollapsible |
Protected Attributes | |
| BOOL | mDisplayChildren |
| LLString | mLabel |
Private Member Functions | |
| void | arrange (S32 width, S32 height, BOOL called_from_parent=TRUE) |
Private Attributes | |
| LLScrollableContainerView * | mScrollContainer |
| BOOL | mShowLabel |
Definition at line 41 of file llcontainerview.h.
| LLContainerView::LLContainerView | ( | const std::string & | name, | |
| const LLRect & | rect | |||
| ) |
Definition at line 44 of file llcontainerview.cpp.
References mCollapsible, mDisplayChildren, mScrollContainer, mShowLabel, NULL, and TRUE.
| LLContainerView::~LLContainerView | ( | ) |
Definition at line 53 of file llcontainerview.cpp.
Reimplemented from LLView.
Reimplemented in LLTextureView.
Definition at line 58 of file llcontainerview.cpp.
References LLView::childrenHandleMouseDown(), FALSE, LLView::getRect(), mCollapsible, mDisplayChildren, mShowLabel, NULL, reshape(), setDisplayChildren(), and TRUE.

Reimplemented from LLView.
Reimplemented in LLTextureView.
Definition at line 77 of file llcontainerview.cpp.
References LLView::childrenHandleMouseUp(), FALSE, mDisplayChildren, and NULL.

| void LLContainerView::draw | ( | void | ) | [virtual] |
Reimplemented from LLView.
Reimplemented in LLTextureView.
Definition at line 88 of file llcontainerview.cpp.
References LLView::draw(), LLSingleton< LLResMgr >::getInstance(), LLView::getRect(), LLResMgr::getRes(), gl_rect_2d(), LLFontGL::LEFT, LLFONT_OCRA, mLabel, mShowLabel, LLFontGL::renderUTF8(), and LLFontGL::TOP.
Referenced by LLTextureView::draw().


Reimplemented from LLView.
Definition at line 106 of file llcontainerview.cpp.
References arrange(), LLScrollableContainerView::calcVisibleSize(), mScrollContainer, and S32.
Referenced by LLStatView::addStat(), LLTextureView::draw(), handleMouseDown(), and LLFloaterStats::reshape().


| LLRect LLContainerView::getRequiredRect | ( | ) | [virtual] |
Reimplemented from LLView.
Definition at line 230 of file llcontainerview.cpp.
References LLView::getChildList(), LLRectBase< Type >::getHeight(), LLView::getRequiredRect(), mDisplayChildren, mShowLabel, and LLRectBase< Type >::mTop.

| void LLContainerView::setLabel | ( | const LLString & | label | ) |
Definition at line 265 of file llcontainerview.cpp.
References mLabel.
Referenced by LLStatView::LLStatView().

| void LLContainerView::showLabel | ( | BOOL | show | ) | [inline] |
| void LLContainerView::setDisplayChildren | ( | const BOOL | displayChildren | ) |
Definition at line 270 of file llcontainerview.cpp.
References LLView::getChildList(), mDisplayChildren, and LLView::setVisible().
Referenced by handleMouseDown(), LLStatView::LLStatView(), LLTextureView::LLTextureView(), and LLFloaterJoystick::postBuild().


| BOOL LLContainerView::getDisplayChildren | ( | ) | [inline] |
Definition at line 62 of file llcontainerview.h.
References mDisplayChildren.
Referenced by LLStatView::~LLStatView().

| void LLContainerView::setScrollContainer | ( | LLScrollableContainerView * | scroll | ) | [inline] |
Definition at line 141 of file llcontainerview.cpp.
References FALSE, LLView::followsTop(), LLView::getChildList(), LLRectBase< Type >::getHeight(), LLView::getParent(), LLView::getRect(), LLView::getRequiredRect(), LLView::getVisible(), llendl, llwarns, LLRectBase< Type >::mBottom, mDisplayChildren, LLRectBase< Type >::mLeft, mShowLabel, LLRectBase< Type >::mTop, r, LLView::reshape(), S32, and LLView::setRect().
Referenced by reshape().


BOOL LLContainerView::mDisplayChildren [protected] |
Definition at line 44 of file llcontainerview.h.
Referenced by LLStatView::addStat(), arrange(), getDisplayChildren(), getRequiredRect(), handleMouseDown(), handleMouseUp(), LLContainerView(), and setDisplayChildren().
LLString LLContainerView::mLabel [protected] |
Definition at line 47 of file llcontainerview.h.
Referenced by handleMouseDown(), and LLContainerView().
Definition at line 66 of file llcontainerview.h.
Referenced by LLContainerView(), reshape(), and setScrollContainer().
BOOL LLContainerView::mShowLabel [private] |
Definition at line 68 of file llcontainerview.h.
Referenced by arrange(), draw(), getRequiredRect(), handleMouseDown(), LLContainerView(), and showLabel().
1.5.5