summaryrefslogtreecommitdiff
path: root/indra/llui/llscrolllistcell.h
diff options
context:
space:
mode:
authorEli Linden <eli@lindenlab.com>2010-03-03 12:10:00 -0800
committerEli Linden <eli@lindenlab.com>2010-03-03 12:10:00 -0800
commite47d107e2f7c4793f0685aa37749629f7d91aef0 (patch)
tree740e36a63f6576bdf5c180ca8b59796ae5f1cf49 /indra/llui/llscrolllistcell.h
parentece36d5df8d0a7fb4c71ec50a0bac49a5c6fbacb (diff)
parent2ecc98cb2f11b03224990d498d20cff8bcfb0716 (diff)
Merge
Diffstat (limited to 'indra/llui/llscrolllistcell.h')
-rw-r--r--indra/llui/llscrolllistcell.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llscrolllistcell.h b/indra/llui/llscrolllistcell.h
index 5fecf5aade..b1c8901fc4 100644
--- a/indra/llui/llscrolllistcell.h
+++ b/indra/llui/llscrolllistcell.h
@@ -151,11 +151,16 @@ public:
/*virtual*/ const std::string & getToolTip() const;
/*virtual*/ BOOL needsToolTip() const;
+ S32 getTextWidth() const { return mTextWidth;}
+ void setTextWidth(S32 value) { mTextWidth = value;}
+ virtual void setWidth(S32 width) { LLScrollListCell::setWidth(width); mTextWidth = width; }
+
void setText(const LLStringExplicit& text);
void setFontStyle(const U8 font_style);
private:
LLUIString mText;
+ S32 mTextWidth;
const LLFontGL* mFont;
LLColor4 mColor;
U8 mUseColor;