LLScrollListCheck Class Reference

#include <llscrolllistctrl.h>

Inheritance diagram for LLScrollListCheck:

Inheritance graph
[legend]
Collaboration diagram for LLScrollListCheck:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLScrollListCheck (LLCheckBoxCtrl *check_box, S32 width=0)
 ~LLScrollListCheck ()
virtual void drawToWidth (S32 width, const LLColor4 &color, const LLColor4 &highlight_color) const
virtual S32 getWidth () const
virtual S32 getHeight () const
virtual void setWidth (S32 width)
virtual BOOL handleClick ()
virtual void setEnabled (BOOL enable)
virtual void setColor (const LLColor4 &color)
LLCheckBoxCtrlgetCheckBox ()
virtual BOOL isText ()

Private Attributes

LLCheckBoxCtrlmCheckBox
S32 mWidth

Detailed Description

Definition at line 145 of file llscrolllistctrl.h.


Constructor & Destructor Documentation

LLScrollListCheck::LLScrollListCheck ( LLCheckBoxCtrl check_box,
S32  width = 0 
)

Definition at line 136 of file llscrolllistctrl.cpp.

References LLView::getRect(), mCheckBox, mWidth, and LLView::setRect().

LLScrollListCheck::~LLScrollListCheck (  ) 

Definition at line 153 of file llscrolllistctrl.cpp.

References mCheckBox.


Member Function Documentation

void LLScrollListCheck::drawToWidth ( S32  width,
const LLColor4 color,
const LLColor4 highlight_color 
) const [virtual]

Implements LLScrollListCell.

Definition at line 158 of file llscrolllistctrl.cpp.

References LLCheckBoxCtrl::draw(), and mCheckBox.

LLCheckBoxCtrl* LLScrollListCheck::getCheckBox (  )  [inline]

Definition at line 159 of file llscrolllistctrl.h.

References mCheckBox.

Referenced by LLPanelGroupMembersSubTab::handleMemberSelect().

virtual S32 LLScrollListCheck::getHeight (  )  const [inline, virtual]

Implements LLScrollListCell.

Definition at line 152 of file llscrolllistctrl.h.

virtual S32 LLScrollListCheck::getWidth (  )  const [inline, virtual]

Implements LLScrollListCell.

Definition at line 151 of file llscrolllistctrl.h.

References mWidth.

BOOL LLScrollListCheck::handleClick (  )  [virtual]

Reimplemented from LLScrollListCell.

Definition at line 164 of file llscrolllistctrl.cpp.

References LLView::getEnabled(), mCheckBox, LLCheckBoxCtrl::onButtonPress(), and TRUE.

virtual BOOL LLScrollListCheck::isText (  )  [inline, virtual]

Implements LLScrollListCell.

Definition at line 160 of file llscrolllistctrl.h.

References FALSE.

virtual void LLScrollListCheck::setColor ( const LLColor4 color  )  [inline, virtual]

Implements LLScrollListCell.

Definition at line 157 of file llscrolllistctrl.h.

virtual void LLScrollListCheck::setEnabled ( BOOL  enable  )  [inline, virtual]

Reimplemented from LLScrollListCell.

Definition at line 156 of file llscrolllistctrl.h.

References mCheckBox, and LLCheckBoxCtrl::setEnabled().

virtual void LLScrollListCheck::setWidth ( S32  width  )  [inline, virtual]

Implements LLScrollListCell.

Definition at line 153 of file llscrolllistctrl.h.

References mWidth.


Member Data Documentation

LLCheckBoxCtrl* LLScrollListCheck::mCheckBox [private]

Definition at line 163 of file llscrolllistctrl.h.

Referenced by drawToWidth(), getCheckBox(), handleClick(), LLScrollListCheck(), setEnabled(), and ~LLScrollListCheck().

S32 LLScrollListCheck::mWidth [private]

Definition at line 164 of file llscrolllistctrl.h.

Referenced by getWidth(), LLScrollListCheck(), and setWidth().


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