LLContainerView Class Reference

#include <llcontainerview.h>

Inheritance diagram for LLContainerView:

Inheritance graph
[legend]
Collaboration diagram for LLContainerView:

Collaboration graph
[legend]

List of all members.

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

LLScrollableContainerViewmScrollContainer
BOOL mShowLabel


Detailed Description

Definition at line 41 of file llcontainerview.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

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.

Here is the call graph for this function:

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

Reimplemented from LLView.

Reimplemented in LLTextureView.

Definition at line 77 of file llcontainerview.cpp.

References LLView::childrenHandleMouseUp(), FALSE, mDisplayChildren, and NULL.

Here is the call graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

void LLContainerView::reshape ( S32  width,
S32  height,
BOOL  called_from_parent = TRUE 
) [virtual]

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

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

void LLContainerView::setLabel ( const LLString label  ) 

Definition at line 265 of file llcontainerview.cpp.

References mLabel.

Referenced by LLStatView::LLStatView().

Here is the caller graph for this function:

void LLContainerView::showLabel ( BOOL  show  )  [inline]

Definition at line 60 of file llcontainerview.h.

References mShowLabel.

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

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLContainerView::getDisplayChildren (  )  [inline]

Definition at line 62 of file llcontainerview.h.

References mDisplayChildren.

Referenced by LLStatView::~LLStatView().

Here is the caller graph for this function:

void LLContainerView::setScrollContainer ( LLScrollableContainerView scroll  )  [inline]

Definition at line 63 of file llcontainerview.h.

References mScrollContainer.

void LLContainerView::arrange ( S32  width,
S32  height,
BOOL  called_from_parent = TRUE 
) [private]


Member Data Documentation

Definition at line 45 of file llcontainerview.h.

Referenced by draw(), and setLabel().

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


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

Generated on Fri May 16 08:43:09 2008 for SecondLife by  doxygen 1.5.5