#include <llscrolllistctrl.h>
Inheritance diagram for LLScrollListText:


| Public Member Functions | |
| LLScrollListText (const LLString &text, const LLFontGL *font, S32 width=0, U8 font_style=LLFontGL::NORMAL, LLFontGL::HAlign font_alignment=LLFontGL::LEFT, LLColor4 &color=LLColor4::black, BOOL use_color=FALSE, BOOL visible=TRUE) | |
| ~LLScrollListText () | |
| virtual void | drawToWidth (S32 width, const LLColor4 &color, const LLColor4 &highlight_color) const | 
| virtual S32 | getWidth () const | 
| virtual void | setWidth (S32 width) | 
| virtual S32 | getHeight () const | 
| virtual const LLString & | getText () const | 
| virtual BOOL | getVisible () const | 
| virtual void | highlightText (S32 offset, S32 num_chars) | 
| void | setText (const LLStringExplicit &text) | 
| virtual void | setColor (const LLColor4 &) | 
| virtual BOOL | isText () | 
| Private Attributes | |
| LLUIString | mText | 
| const LLFontGL * | mFont | 
| LLColor4 * | mColor | 
| const U8 | mFontStyle | 
| LLFontGL::HAlign | mFontAlignment | 
| S32 | mWidth | 
| BOOL | mVisible | 
| S32 | mHighlightCount | 
| S32 | mHighlightOffset | 
| LLPointer< LLImageGL > | mRoundedRectImage | 
| Static Private Attributes | |
| static U32 | sCount = 0 | 
Definition at line 91 of file llscrolllistctrl.h.
| LLScrollListText::LLScrollListText | ( | const LLString & | text, | |
| const LLFontGL * | font, | |||
| S32 | width = 0, | |||
| U8 | font_style = LLFontGL::NORMAL, | |||
| LLFontGL::HAlign | font_alignment = LLFontGL::LEFT, | |||
| LLColor4 & | color = LLColor4::black, | |||
| BOOL | use_color = FALSE, | |||
| BOOL | visible = TRUE | |||
| ) | 
Definition at line 191 of file llscrolllistctrl.cpp.
References LLImageProviderInterface::getUIImageByID(), mColor, mRoundedRectImage, NULL, LLUI::sAssetsGroup, sCount, LLColor4::setVec(), and LLUI::sImageProvider.
| LLScrollListText::~LLScrollListText | ( | ) | 
| void LLScrollListText::drawToWidth | ( | S32 | width, | |
| const LLColor4 & | color, | |||
| const LLColor4 & | highlight_color | |||
| ) | const  [virtual] | 
Implements LLScrollListCell.
Definition at line 240 of file llscrolllistctrl.cpp.
References LLFontGL::BOTTOM, f, FALSE, LLFontGL::getLineHeight(), LLUIString::getString(), LLFontGL::getWidth(), LLUIString::getWString(), gl_segmented_rect_2d_tex(), glColor4fv, LLFontGL::HCENTER, LLFontGL::LEFT, left, LLUIString::length(), llround(), mColor, mFont, mFontAlignment, mFontStyle, mHighlightCount, mHighlightOffset, mRoundedRectImage, mText, LLColor4::mV, mWidth, LLFontGL::render(), LLFontGL::RIGHT, S32, S32_MAX, and TRUE.
| virtual S32 LLScrollListText::getHeight | ( | ) | const  [inline, virtual] | 
Implements LLScrollListCell.
Definition at line 100 of file llscrolllistctrl.h.
References LLFontGL::getLineHeight(), llround(), and mFont.
| virtual const LLString& LLScrollListText::getText | ( | ) | const  [inline, virtual] | 
Reimplemented from LLScrollListCell.
Definition at line 101 of file llscrolllistctrl.h.
References LLUIString::getString(), and mText.
| virtual BOOL LLScrollListText::getVisible | ( | ) | const  [inline, virtual] | 
Reimplemented from LLScrollListCell.
Definition at line 102 of file llscrolllistctrl.h.
References mVisible.
| virtual S32 LLScrollListText::getWidth | ( | ) | const  [inline, virtual] | 
Reimplemented from LLScrollListCell.
Definition at line 103 of file llscrolllistctrl.h.
References mHighlightCount, and mHighlightOffset.
| virtual BOOL LLScrollListText::isText | ( | ) |  [inline, virtual] | 
Implements LLScrollListCell.
Definition at line 226 of file llscrolllistctrl.cpp.
References mColor.
Referenced by LLScrollListCtrl::addElement().
| void LLScrollListText::setText | ( | const LLStringExplicit & | text | ) | 
Definition at line 235 of file llscrolllistctrl.cpp.
References mText.
Referenced by LLPreviewGesture::updateLabel().
| LLColor4* LLScrollListText::mColor  [private] | 
Definition at line 111 of file llscrolllistctrl.h.
Referenced by drawToWidth(), LLScrollListText(), setColor(), and ~LLScrollListText().
| const LLFontGL* LLScrollListText::mFont  [private] | 
| const U8 LLScrollListText::mFontStyle  [private] | 
| S32 LLScrollListText::mHighlightCount  [private] | 
Definition at line 116 of file llscrolllistctrl.h.
Referenced by drawToWidth(), and highlightText().
| S32 LLScrollListText::mHighlightOffset  [private] | 
Definition at line 117 of file llscrolllistctrl.h.
Referenced by drawToWidth(), and highlightText().
Definition at line 119 of file llscrolllistctrl.h.
Referenced by drawToWidth(), and LLScrollListText().
| LLUIString LLScrollListText::mText  [private] | 
Definition at line 109 of file llscrolllistctrl.h.
Referenced by drawToWidth(), getText(), and setText().
| BOOL LLScrollListText::mVisible  [private] | 
| S32 LLScrollListText::mWidth  [private] | 
Definition at line 114 of file llscrolllistctrl.h.
Referenced by drawToWidth(), getWidth(), and setWidth().
| U32 LLScrollListText::sCount = 0  [static, private] | 
Definition at line 121 of file llscrolllistctrl.h.
Referenced by LLScrollListText(), and ~LLScrollListText().
 1.4.7
 1.4.7