#include <llscrolllistctrl.h>
Inheritance diagram for LLScrollListIcon:
Public Member Functions | |
| LLScrollListIcon (LLImageGL *icon, S32 width=0, LLUUID image_id=LLUUID::null) | |
| ~LLScrollListIcon () | |
| virtual void | drawToWidth (S32 width, const LLColor4 &color, const LLColor4 &highlight_color) const |
| virtual S32 | getWidth () const |
| virtual S32 | getHeight () const |
| virtual const LLString & | getText () const |
| virtual const LLString & | getTextLower () const |
| virtual void | setWidth (S32 width) |
| virtual void | setColor (const LLColor4 &) |
| virtual BOOL | isText () |
Private Attributes | |
| LLPointer< LLImageGL > | mIcon |
| LLString | mImageUUID |
| S32 | mWidth |
| LLColor4 | mColor |
Definition at line 124 of file llscrolllistctrl.h.
| LLScrollListIcon::LLScrollListIcon | ( | LLImageGL * | icon, | |
| S32 | width = 0, |
|||
| LLUUID | image_id = LLUUID::null | |||
| ) |
| LLScrollListIcon::~LLScrollListIcon | ( | ) |
Definition at line 119 of file llscrolllistctrl.cpp.
| void LLScrollListIcon::drawToWidth | ( | S32 | width, | |
| const LLColor4 & | color, | |||
| const LLColor4 & | highlight_color | |||
| ) | const [virtual] |
Implements LLScrollListCell.
Definition at line 128 of file llscrolllistctrl.cpp.
References gl_draw_image(), mColor, and mIcon.
| virtual S32 LLScrollListIcon::getHeight | ( | ) | const [inline, virtual] |
| virtual const LLString& LLScrollListIcon::getText | ( | ) | const [inline, virtual] |
Reimplemented from LLScrollListCell.
Definition at line 132 of file llscrolllistctrl.h.
References mImageUUID.
| virtual const LLString& LLScrollListIcon::getTextLower | ( | ) | const [inline, virtual] |
Reimplemented from LLScrollListCell.
Definition at line 133 of file llscrolllistctrl.h.
References mImageUUID.
| virtual S32 LLScrollListIcon::getWidth | ( | ) | const [inline, virtual] |
| virtual BOOL LLScrollListIcon::isText | ( | ) | [inline, virtual] |
Implements LLScrollListCell.
Definition at line 123 of file llscrolllistctrl.cpp.
References mColor.
Referenced by LLScrollListCtrl::addElement().
LLColor4 LLScrollListIcon::mColor [private] |
LLPointer<LLImageGL> LLScrollListIcon::mIcon [private] |
LLString LLScrollListIcon::mImageUUID [private] |
S32 LLScrollListIcon::mWidth [private] |
Definition at line 141 of file llscrolllistctrl.h.
Referenced by getWidth(), LLScrollListIcon(), and setWidth().
1.4.7