#include <llscrolllistctrl.h>
Public Member Functions | |
LLScrollListCell (S32 width=0) | |
virtual | ~LLScrollListCell () |
virtual void | draw (const LLColor4 &color, const LLColor4 &highlight_color) const =0 |
virtual S32 | getWidth () const |
virtual S32 | getContentWidth () const |
virtual S32 | getHeight () const =0 |
virtual const LLSD | getValue () const |
virtual void | setValue (const LLSD &value) |
virtual BOOL | getVisible () const |
virtual void | setWidth (S32 width) |
virtual void | highlightText (S32 offset, S32 num_chars) |
virtual BOOL | isText () const =0 |
virtual void | setColor (const LLColor4 &) |
virtual void | onCommit () |
virtual BOOL | handleClick () |
virtual void | setEnabled (BOOL enable) |
Private Attributes | |
S32 | mWidth |
Definition at line 59 of file llscrolllistctrl.h.
LLScrollListCell::LLScrollListCell | ( | S32 | width = 0 |
) | [inline] |
Definition at line 62 of file llscrolllistctrl.h.
virtual LLScrollListCell::~LLScrollListCell | ( | ) | [inline, virtual] |
Definition at line 63 of file llscrolllistctrl.h.
virtual void LLScrollListCell::draw | ( | const LLColor4 & | color, | |
const LLColor4 & | highlight_color | |||
) | const [pure virtual] |
Implemented in LLScrollListSeparator, LLScrollListText, LLScrollListIcon, and LLScrollListCheck.
Referenced by LLScrollListItemSeparator::draw(), and LLScrollListItemComment::draw().
virtual S32 LLScrollListCell::getWidth | ( | ) | const [inline, virtual] |
Reimplemented in LLScrollListIcon.
Definition at line 65 of file llscrolllistctrl.h.
References mWidth.
Referenced by LLScrollListItemSeparator::draw(), LLScrollListItemComment::draw(), LLScrollListText::draw(), LLScrollListSeparator::draw(), and LLScrollListIcon::getWidth().
virtual S32 LLScrollListCell::getContentWidth | ( | ) | const [inline, virtual] |
virtual S32 LLScrollListCell::getHeight | ( | ) | const [pure virtual] |
Implemented in LLScrollListSeparator, LLScrollListText, LLScrollListIcon, and LLScrollListCheck.
virtual const LLSD LLScrollListCell::getValue | ( | ) | const [inline, virtual] |
Reimplemented in LLScrollListText, LLScrollListIcon, and LLScrollListCheck.
Definition at line 68 of file llscrolllistctrl.h.
References LLStringBase< char >::null.
Referenced by LLScrollListCtrl::calcColumnWidths(), LLScrollListItem::getContentsCSV(), LLScrollListCtrl::getSelectedItemLabel(), LLComboBox::getXML(), LLScrollListCtrl::handleClick(), LLScrollListCtrl::handleToolTip(), LLScrollListCtrl::handleUnicodeCharHere(), LLPreviewGesture::onClickAdd(), LLPanelLandObjects::onCommitList(), LLPanelLandObjects::onDoubleClickOwner(), LLScriptEdCore::onErrorList(), LLFloaterAvatarPicker::onList(), LLPanelGroupLandMoney::impl::onMapButton(), LLFloaterNewIM::onStart(), SortScrollListItem::operator()(), LLPanelFriends::refreshUI(), LLScrollListCtrl::selectItemByLabel(), LLPanelGroupVoting::impl::setEnableHistoryItem(), LLPanelGroupVoting::impl::setEnableVoteProposal(), LLFloaterTopObjects::showBeacon(), LLColumnHeader::showList(), and LLFloaterTopObjects::updateSelectionInfo().
virtual void LLScrollListCell::setValue | ( | const LLSD & | value | ) | [inline, virtual] |
Reimplemented in LLScrollListText, LLScrollListIcon, and LLScrollListCheck.
Definition at line 69 of file llscrolllistctrl.h.
Referenced by LLScrollListCtrl::handleClick(), LLPanelActiveSpeakers::refreshSpeakers(), and LLPanelFriends::updateFriendItem().
virtual BOOL LLScrollListCell::getVisible | ( | ) | const [inline, virtual] |
Reimplemented in LLScrollListText.
Definition at line 70 of file llscrolllistctrl.h.
References TRUE.
Referenced by LLScrollListItemSeparator::draw(), and LLScrollListItemComment::draw().
virtual void LLScrollListCell::setWidth | ( | S32 | width | ) | [inline, virtual] |
Definition at line 71 of file llscrolllistctrl.h.
References mWidth.
Referenced by LLScrollListItemSeparator::draw(), LLScrollListItemComment::draw(), and LLScrollListCheck::LLScrollListCheck().
Reimplemented in LLScrollListText.
Definition at line 72 of file llscrolllistctrl.h.
Referenced by LLScrollListCtrl::deselectItem(), LLScrollListCtrl::handleKeyHere(), LLScrollListCtrl::handleUnicodeCharHere(), and LLScrollListCtrl::selectItem().
virtual BOOL LLScrollListCell::isText | ( | ) | const [pure virtual] |
Implemented in LLScrollListSeparator, LLScrollListText, LLScrollListIcon, and LLScrollListCheck.
Referenced by LLScrollListCtrl::handleToolTip(), and LLColumnHeader::showList().
virtual void LLScrollListCell::setColor | ( | const LLColor4 & | ) | [inline, virtual] |
Reimplemented in LLScrollListText, and LLScrollListIcon.
Definition at line 74 of file llscrolllistctrl.h.
Referenced by LLScrollListCtrl::addElement(), and LLPanelActiveSpeakers::refreshSpeakers().
virtual void LLScrollListCell::onCommit | ( | ) | [inline, virtual] |
Reimplemented in LLScrollListCheck.
Definition at line 75 of file llscrolllistctrl.h.
Referenced by LLScrollListCtrl::handleClick().
virtual BOOL LLScrollListCell::handleClick | ( | ) | [inline, virtual] |
Reimplemented in LLScrollListCheck.
Definition at line 77 of file llscrolllistctrl.h.
References FALSE.
Referenced by LLScrollListCtrl::handleClick().
virtual void LLScrollListCell::setEnabled | ( | BOOL | enable | ) | [inline, virtual] |
Reimplemented in LLScrollListCheck.
Definition at line 78 of file llscrolllistctrl.h.
Referenced by LLPanelLandObjects::onCommitList().
S32 LLScrollListCell::mWidth [private] |