diff options
author | Jacek Antonelli | 2008-08-15 23:45:11 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:11 -0500 |
commit | 215f423cbe18fe9ca14a26caef918d303bad28ff (patch) | |
tree | 0743442b286216cc8e19aa487c26f4e9345ffd64 /linden/indra/llui/llcombobox.h | |
parent | Second Life viewer sources 1.18.3.5-RC (diff) | |
download | meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.zip meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.gz meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.bz2 meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.xz |
Second Life viewer sources 1.18.4.0-RC
Diffstat (limited to 'linden/indra/llui/llcombobox.h')
-rw-r--r-- | linden/indra/llui/llcombobox.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/linden/indra/llui/llcombobox.h b/linden/indra/llui/llcombobox.h index 1589c30..ff17d28 100644 --- a/linden/indra/llui/llcombobox.h +++ b/linden/indra/llui/llcombobox.h | |||
@@ -2,6 +2,8 @@ | |||
2 | * @file llcombobox.h | 2 | * @file llcombobox.h |
3 | * @brief LLComboBox base class | 3 | * @brief LLComboBox 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 | // A control that displays the name of the chosen item, which when clicked | 32 | // A control that displays the name of the chosen item, which when clicked |
@@ -102,7 +105,7 @@ public: | |||
102 | virtual LLSD getValue() const; | 105 | virtual LLSD getValue() const; |
103 | 106 | ||
104 | void setAllowTextEntry(BOOL allow, S32 max_chars = 50, BOOL make_tentative = TRUE); | 107 | void setAllowTextEntry(BOOL allow, S32 max_chars = 50, BOOL make_tentative = TRUE); |
105 | void setTextEntry(const LLString& text); | 108 | void setTextEntry(const LLStringExplicit& text); |
106 | 109 | ||
107 | void add(const LLString& name, EAddPosition pos = ADD_BOTTOM, BOOL enabled = TRUE); // add item "name" to menu | 110 | void add(const LLString& name, EAddPosition pos = ADD_BOTTOM, BOOL enabled = TRUE); // add item "name" to menu |
108 | void add(const LLString& name, const LLUUID& id, EAddPosition pos = ADD_BOTTOM, BOOL enabled = TRUE); | 111 | void add(const LLString& name, const LLUUID& id, EAddPosition pos = ADD_BOTTOM, BOOL enabled = TRUE); |
@@ -114,7 +117,7 @@ public: | |||
114 | void sortByName(); // Sort the entries in the combobox by name | 117 | void sortByName(); // Sort the entries in the combobox by name |
115 | 118 | ||
116 | // Select current item by name using selectSimpleItem. Returns FALSE if not found. | 119 | // Select current item by name using selectSimpleItem. Returns FALSE if not found. |
117 | BOOL setSimple(const LLString& name); | 120 | BOOL setSimple(const LLStringExplicit& name); |
118 | // Get name of current item. Returns an empty string if not found. | 121 | // Get name of current item. Returns an empty string if not found. |
119 | const LLString& getSimple() const; | 122 | const LLString& getSimple() const; |
120 | // Get contents of column x of selected row | 123 | // Get contents of column x of selected row |
@@ -122,7 +125,7 @@ public: | |||
122 | 125 | ||
123 | // Sets the label, which doesn't have to exist in the label. | 126 | // Sets the label, which doesn't have to exist in the label. |
124 | // This is probably a UI abuse. | 127 | // This is probably a UI abuse. |
125 | void setLabel(const LLString& name); | 128 | void setLabel(const LLStringExplicit& name); |
126 | 129 | ||
127 | BOOL remove(const LLString& name); // remove item "name", return TRUE if found and removed | 130 | BOOL remove(const LLString& name); // remove item "name", return TRUE if found and removed |
128 | 131 | ||