aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llscrolllistctrl.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui/llscrolllistctrl.h')
-rw-r--r--linden/indra/llui/llscrolllistctrl.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/linden/indra/llui/llscrolllistctrl.h b/linden/indra/llui/llscrolllistctrl.h
index 2e4dad5..5ceee2e 100644
--- a/linden/indra/llui/llscrolllistctrl.h
+++ b/linden/indra/llui/llscrolllistctrl.h
@@ -2,6 +2,8 @@
2 * @file llscrolllistctrl.h 2 * @file llscrolllistctrl.h
3 * @brief LLScrollListCtrl base class 3 * @brief LLScrollListCtrl base class
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 7 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29#ifndef LL_SCROLLLISTCTRL_H 32#ifndef LL_SCROLLLISTCTRL_H
@@ -98,7 +101,7 @@ public:
98 virtual const LLString& getText() const { return mText.getString(); } 101 virtual const LLString& getText() const { return mText.getString(); }
99 virtual BOOL getVisible() const { return mVisible; } 102 virtual BOOL getVisible() const { return mVisible; }
100 virtual void highlightText(S32 offset, S32 num_chars) {mHighlightOffset = offset; mHighlightCount = num_chars;} 103 virtual void highlightText(S32 offset, S32 num_chars) {mHighlightOffset = offset; mHighlightCount = num_chars;}
101 void setText(const LLString& text); 104 void setText(const LLStringExplicit& text);
102 virtual void setColor(const LLColor4&); 105 virtual void setColor(const LLColor4&);
103 virtual BOOL isText() { return TRUE; } 106 virtual BOOL isText() { return TRUE; }
104 107
@@ -166,10 +169,10 @@ class LLScrollListColumn
166public: 169public:
167 // Default constructor 170 // Default constructor
168 LLScrollListColumn() : 171 LLScrollListColumn() :
169 mName(""), 172 mName(),
170 mSortingColumn(""), 173 mSortingColumn(),
171 mSortAscending(TRUE), 174 mSortAscending(TRUE),
172 mLabel(""), 175 mLabel(),
173 mWidth(-1), 176 mWidth(-1),
174 mRelWidth(-1.0), 177 mRelWidth(-1.0),
175 mDynamicWidth(FALSE), 178 mDynamicWidth(FALSE),