#include <llscrolllistctrl.h>
Inheritance diagram for LLScrollListCheck:
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) |
LLCheckBoxCtrl * | getCheckBox () |
virtual BOOL | isText () |
Private Attributes | |
LLCheckBoxCtrl * | mCheckBox |
S32 | mWidth |
Definition at line 145 of file llscrolllistctrl.h.
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 | ( | ) |
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] |
virtual S32 LLScrollListCheck::getWidth | ( | ) | const [inline, virtual] |
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] |
Reimplemented from LLScrollListCell.
Definition at line 156 of file llscrolllistctrl.h.
References mCheckBox, and LLCheckBoxCtrl::setEnabled().
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().