diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/llcheckboxctrl.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linden/indra/llui/llcheckboxctrl.cpp b/linden/indra/llui/llcheckboxctrl.cpp index f49e220..504b342 100644 --- a/linden/indra/llui/llcheckboxctrl.cpp +++ b/linden/indra/llui/llcheckboxctrl.cpp | |||
@@ -2,6 +2,8 @@ | |||
2 | * @file llcheckboxctrl.cpp | 2 | * @file llcheckboxctrl.cpp |
3 | * @brief LLCheckBoxCtrl base class | 3 | * @brief LLCheckBoxCtrl 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 | // The mutants are coming! | 32 | // The mutants are coming! |
@@ -239,7 +242,7 @@ LLSD LLCheckBoxCtrl::getValue() const | |||
239 | return mButton->getToggleState(); | 242 | return mButton->getToggleState(); |
240 | } | 243 | } |
241 | 244 | ||
242 | void LLCheckBoxCtrl::setLabel( const LLString& label ) | 245 | void LLCheckBoxCtrl::setLabel( const LLStringExplicit& label ) |
243 | { | 246 | { |
244 | mLabel->setText( label ); | 247 | mLabel->setText( label ); |
245 | reshape(getRect().getWidth(), getRect().getHeight(), FALSE); | 248 | reshape(getRect().getWidth(), getRect().getHeight(), FALSE); |
@@ -250,7 +253,7 @@ LLString LLCheckBoxCtrl::getLabel() const | |||
250 | return mLabel->getText(); | 253 | return mLabel->getText(); |
251 | } | 254 | } |
252 | 255 | ||
253 | BOOL LLCheckBoxCtrl::setLabelArg( const LLString& key, const LLString& text ) | 256 | BOOL LLCheckBoxCtrl::setLabelArg( const LLString& key, const LLStringExplicit& text ) |
254 | { | 257 | { |
255 | BOOL res = mLabel->setTextArg(key, text); | 258 | BOOL res = mLabel->setTextArg(key, text); |
256 | reshape(getRect().getWidth(), getRect().getHeight(), FALSE); | 259 | reshape(getRect().getWidth(), getRect().getHeight(), FALSE); |