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 EWidgetType getWidgetType () const
virtual LLString getWidgetTag () const
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 setDisplayChildren (const BOOL displayChildren)
BOOL getDisplayChildren ()

Public Attributes

BOOL mCollapsible

Protected Attributes

BOOL mDisplayChildren
LLString mLabel

Detailed Description

Definition at line 39 of file llcontainerview.h.


Constructor & Destructor Documentation

LLContainerView::LLContainerView ( const std::string &  name,
const LLRect rect 
)

Definition at line 43 of file llcontainerview.cpp.

References mCollapsible, mDisplayChildren, and TRUE.

LLContainerView::~LLContainerView (  ) 

Definition at line 50 of file llcontainerview.cpp.


Member Function Documentation

void LLContainerView::draw (  )  [virtual]

Reimplemented from LLView.

Reimplemented in LLTextureView.

Definition at line 92 of file llcontainerview.cpp.

References LLView::draw(), f, LLRectBase< Type >::getHeight(), LLResMgr::getRes(), LLView::getVisible(), LLRectBase< Type >::getWidth(), gl_rect_2d(), gResMgr, LLFontGL::LEFT, LLFONT_OCRA, mLabel, LLView::mRect, LLFontGL::renderUTF8(), and LLFontGL::TOP.

Referenced by LLTextureView::draw().

BOOL LLContainerView::getDisplayChildren (  )  [inline]

Definition at line 62 of file llcontainerview.h.

References mDisplayChildren.

Referenced by LLStatView::~LLStatView().

LLRect LLContainerView::getRequiredRect (  )  [virtual]

Reimplemented from LLView.

Definition at line 186 of file llcontainerview.cpp.

References LLView::getChildList(), LLRectBase< Type >::getHeight(), mDisplayChildren, and LLRectBase< Type >::mTop.

LLString LLContainerView::getWidgetTag (  )  const [virtual]

Implements LLView.

Reimplemented in LLStatView, and LLTextureView.

Definition at line 60 of file llcontainerview.cpp.

References LL_CONTAINER_VIEW_TAG.

EWidgetType LLContainerView::getWidgetType (  )  const [virtual]

Implements LLView.

Reimplemented in LLStatView, and LLTextureView.

Definition at line 55 of file llcontainerview.cpp.

References WIDGET_TYPE_CONTAINER_VIEW.

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

Reimplemented from LLView.

Reimplemented in LLTextureView.

Definition at line 65 of file llcontainerview.cpp.

References LLView::childrenHandleMouseDown(), FALSE, LLRectBase< Type >::getHeight(), LLRectBase< Type >::getWidth(), mCollapsible, mDisplayChildren, LLView::mRect, NULL, reshape(), setDisplayChildren(), and TRUE.

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

Reimplemented from LLView.

Reimplemented in LLTextureView.

Definition at line 83 of file llcontainerview.cpp.

References LLView::childrenHandleMouseUp(), mDisplayChildren, and TRUE.

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

Reimplemented from LLView.

Definition at line 111 of file llcontainerview.cpp.

References bottom, FALSE, LLView::followsTop(), LLView::getChildList(), LLRectBase< Type >::getHeight(), LLView::getParent(), LLView::getRect(), LLRectBase< Type >::getWidth(), left, llendl, llwarns, LLRectBase< Type >::mBottom, mDisplayChildren, LLRectBase< Type >::mLeft, LLView::mRect, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, r, LLView::reshape(), right, and top.

Referenced by LLStatView::addStat(), LLTextureView::draw(), handleMouseDown(), and init_stat_view().

void LLContainerView::setDisplayChildren ( const BOOL  displayChildren  ) 

Definition at line 227 of file llcontainerview.cpp.

References LLView::getChildList(), and mDisplayChildren.

Referenced by handleMouseDown(), LLStatView::LLStatView(), LLTextureView::LLTextureView(), and LLFloaterJoystick::show().

void LLContainerView::setLabel ( const LLString label  ) 

Definition at line 222 of file llcontainerview.cpp.

References mLabel.

Referenced by LLDebugView::LLDebugView(), and LLStatView::LLStatView().


Member Data Documentation

BOOL LLContainerView::mCollapsible

Definition at line 45 of file llcontainerview.h.

Referenced by handleMouseDown(), and LLContainerView().

BOOL LLContainerView::mDisplayChildren [protected]

Definition at line 42 of file llcontainerview.h.

Referenced by LLStatView::addStat(), getDisplayChildren(), getRequiredRect(), handleMouseDown(), handleMouseUp(), LLContainerView(), reshape(), and setDisplayChildren().

LLString LLContainerView::mLabel [protected]

Definition at line 43 of file llcontainerview.h.

Referenced by draw(), and setLabel().


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