diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llfloatersettingsdebug.cpp | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/llfloatersettingsdebug.cpp')
-rw-r--r-- | linden/indra/newview/llfloatersettingsdebug.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/linden/indra/newview/llfloatersettingsdebug.cpp b/linden/indra/newview/llfloatersettingsdebug.cpp index 2e14aac..cb22875 100644 --- a/linden/indra/newview/llfloatersettingsdebug.cpp +++ b/linden/indra/newview/llfloatersettingsdebug.cpp | |||
@@ -41,7 +41,7 @@ | |||
41 | 41 | ||
42 | LLFloaterSettingsDebug* LLFloaterSettingsDebug::sInstance = NULL; | 42 | LLFloaterSettingsDebug* LLFloaterSettingsDebug::sInstance = NULL; |
43 | 43 | ||
44 | LLFloaterSettingsDebug::LLFloaterSettingsDebug() : LLFloater("Configuration Editor") | 44 | LLFloaterSettingsDebug::LLFloaterSettingsDebug() : LLFloater(std::string("Configuration Editor")) |
45 | { | 45 | { |
46 | } | 46 | } |
47 | 47 | ||
@@ -58,7 +58,7 @@ BOOL LLFloaterSettingsDebug::postBuild() | |||
58 | { | 58 | { |
59 | LLComboBox* combo; | 59 | LLComboBox* combo; |
60 | f(LLComboBox* c) : combo(c) {} | 60 | f(LLComboBox* c) : combo(c) {} |
61 | virtual void apply(const LLString& name, LLControlVariable* control) | 61 | virtual void apply(const std::string& name, LLControlVariable* control) |
62 | { | 62 | { |
63 | combo->add(name, (void*)control); | 63 | combo->add(name, (void*)control); |
64 | } | 64 | } |
@@ -235,7 +235,7 @@ void LLFloaterSettingsDebug::updateControl(LLControlVariable* controlp) | |||
235 | spinner4->setVisible(FALSE); | 235 | spinner4->setVisible(FALSE); |
236 | color_swatch->setVisible(FALSE); | 236 | color_swatch->setVisible(FALSE); |
237 | childSetVisible("val_text", FALSE); | 237 | childSetVisible("val_text", FALSE); |
238 | mComment->setText(LLString::null); | 238 | mComment->setText(LLStringUtil::null); |
239 | 239 | ||
240 | if (controlp) | 240 | if (controlp) |
241 | { | 241 | { |
@@ -276,7 +276,7 @@ void LLFloaterSettingsDebug::updateControl(LLControlVariable* controlp) | |||
276 | { | 276 | { |
277 | case TYPE_U32: | 277 | case TYPE_U32: |
278 | spinner1->setVisible(TRUE); | 278 | spinner1->setVisible(TRUE); |
279 | spinner1->setLabel(LLString("value")); // Debug, don't translate | 279 | spinner1->setLabel(std::string("value")); // Debug, don't translate |
280 | if (!spinner1->hasFocus()) | 280 | if (!spinner1->hasFocus()) |
281 | { | 281 | { |
282 | spinner1->setValue(sd); | 282 | spinner1->setValue(sd); |
@@ -288,7 +288,7 @@ void LLFloaterSettingsDebug::updateControl(LLControlVariable* controlp) | |||
288 | break; | 288 | break; |
289 | case TYPE_S32: | 289 | case TYPE_S32: |
290 | spinner1->setVisible(TRUE); | 290 | spinner1->setVisible(TRUE); |
291 | spinner1->setLabel(LLString("value")); // Debug, don't translate | 291 | spinner1->setLabel(std::string("value")); // Debug, don't translate |
292 | if (!spinner1->hasFocus()) | 292 | if (!spinner1->hasFocus()) |
293 | { | 293 | { |
294 | spinner1->setValue(sd); | 294 | spinner1->setValue(sd); |
@@ -300,7 +300,7 @@ void LLFloaterSettingsDebug::updateControl(LLControlVariable* controlp) | |||
300 | break; | 300 | break; |
301 | case TYPE_F32: | 301 | case TYPE_F32: |
302 | spinner1->setVisible(TRUE); | 302 | spinner1->setVisible(TRUE); |
303 | spinner1->setLabel(LLString("value")); // Debug, don't translate | 303 | spinner1->setLabel(std::string("value")); // Debug, don't translate |
304 | if (!spinner1->hasFocus()) | 304 | if (!spinner1->hasFocus()) |
305 | { | 305 | { |
306 | spinner1->setPrecision(3); | 306 | spinner1->setPrecision(3); |
@@ -332,11 +332,11 @@ void LLFloaterSettingsDebug::updateControl(LLControlVariable* controlp) | |||
332 | LLVector3 v; | 332 | LLVector3 v; |
333 | v.setValue(sd); | 333 | v.setValue(sd); |
334 | spinner1->setVisible(TRUE); | 334 | spinner1->setVisible(TRUE); |
335 | spinner1->setLabel(LLString("X")); | 335 | spinner1->setLabel(std::string("X")); |
336 | spinner2->setVisible(TRUE); | 336 | spinner2->setVisible(TRUE); |
337 | spinner2->setLabel(LLString("Y")); | 337 | spinner2->setLabel(std::string("Y")); |
338 | spinner3->setVisible(TRUE); | 338 | spinner3->setVisible(TRUE); |
339 | spinner3->setLabel(LLString("Z")); | 339 | spinner3->setLabel(std::string("Z")); |
340 | if (!spinner1->hasFocus()) | 340 | if (!spinner1->hasFocus()) |
341 | { | 341 | { |
342 | spinner1->setPrecision(3); | 342 | spinner1->setPrecision(3); |
@@ -359,11 +359,11 @@ void LLFloaterSettingsDebug::updateControl(LLControlVariable* controlp) | |||
359 | LLVector3d v; | 359 | LLVector3d v; |
360 | v.setValue(sd); | 360 | v.setValue(sd); |
361 | spinner1->setVisible(TRUE); | 361 | spinner1->setVisible(TRUE); |
362 | spinner1->setLabel(LLString("X")); | 362 | spinner1->setLabel(std::string("X")); |
363 | spinner2->setVisible(TRUE); | 363 | spinner2->setVisible(TRUE); |
364 | spinner2->setLabel(LLString("Y")); | 364 | spinner2->setLabel(std::string("Y")); |
365 | spinner3->setVisible(TRUE); | 365 | spinner3->setVisible(TRUE); |
366 | spinner3->setLabel(LLString("Z")); | 366 | spinner3->setLabel(std::string("Z")); |
367 | if (!spinner1->hasFocus()) | 367 | if (!spinner1->hasFocus()) |
368 | { | 368 | { |
369 | spinner1->setPrecision(3); | 369 | spinner1->setPrecision(3); |
@@ -386,13 +386,13 @@ void LLFloaterSettingsDebug::updateControl(LLControlVariable* controlp) | |||
386 | LLRect r; | 386 | LLRect r; |
387 | r.setValue(sd); | 387 | r.setValue(sd); |
388 | spinner1->setVisible(TRUE); | 388 | spinner1->setVisible(TRUE); |
389 | spinner1->setLabel(LLString("Left")); | 389 | spinner1->setLabel(std::string("Left")); |
390 | spinner2->setVisible(TRUE); | 390 | spinner2->setVisible(TRUE); |
391 | spinner2->setLabel(LLString("Right")); | 391 | spinner2->setLabel(std::string("Right")); |
392 | spinner3->setVisible(TRUE); | 392 | spinner3->setVisible(TRUE); |
393 | spinner3->setLabel(LLString("Bottom")); | 393 | spinner3->setLabel(std::string("Bottom")); |
394 | spinner4->setVisible(TRUE); | 394 | spinner4->setVisible(TRUE); |
395 | spinner4->setLabel(LLString("Top")); | 395 | spinner4->setLabel(std::string("Top")); |
396 | if (!spinner1->hasFocus()) | 396 | if (!spinner1->hasFocus()) |
397 | { | 397 | { |
398 | spinner1->setPrecision(0); | 398 | spinner1->setPrecision(0); |
@@ -442,7 +442,7 @@ void LLFloaterSettingsDebug::updateControl(LLControlVariable* controlp) | |||
442 | color_swatch->set(LLColor4(sd), TRUE, FALSE); | 442 | color_swatch->set(LLColor4(sd), TRUE, FALSE); |
443 | } | 443 | } |
444 | spinner4->setVisible(TRUE); | 444 | spinner4->setVisible(TRUE); |
445 | spinner4->setLabel(LLString("Alpha")); | 445 | spinner4->setLabel(std::string("Alpha")); |
446 | if (!spinner4->hasFocus()) | 446 | if (!spinner4->hasFocus()) |
447 | { | 447 | { |
448 | spinner4->setPrecision(3); | 448 | spinner4->setPrecision(3); |
@@ -470,7 +470,7 @@ void LLFloaterSettingsDebug::updateControl(LLControlVariable* controlp) | |||
470 | color_swatch->set(LLColor4(clr), TRUE, FALSE); | 470 | color_swatch->set(LLColor4(clr), TRUE, FALSE); |
471 | } | 471 | } |
472 | spinner4->setVisible(TRUE); | 472 | spinner4->setVisible(TRUE); |
473 | spinner4->setLabel(LLString("Alpha")); | 473 | spinner4->setLabel(std::string("Alpha")); |
474 | if(!spinner4->hasFocus()) | 474 | if(!spinner4->hasFocus()) |
475 | { | 475 | { |
476 | spinner4->setPrecision(0); | 476 | spinner4->setPrecision(0); |
@@ -484,7 +484,7 @@ void LLFloaterSettingsDebug::updateControl(LLControlVariable* controlp) | |||
484 | break; | 484 | break; |
485 | } | 485 | } |
486 | default: | 486 | default: |
487 | mComment->setText(LLString("unknown")); | 487 | mComment->setText(std::string("unknown")); |
488 | break; | 488 | break; |
489 | } | 489 | } |
490 | } | 490 | } |