summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatercolorpicker.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-08-24 18:44:39 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-08-24 18:44:39 +0100
commit98cc2365034a93c69704daa69efb389799cc9627 (patch)
tree4c3ec75b78a26a736f18a2153af025040ae05a4b /indra/newview/llfloatercolorpicker.cpp
parent6ba23344c95157793af9e4154933ae8df61630e8 (diff)
Backed out changeset a62bf7c0af21
Backing out this merge that I pushed (prematurely) to the wrong place.
Diffstat (limited to 'indra/newview/llfloatercolorpicker.cpp')
-rw-r--r--indra/newview/llfloatercolorpicker.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llfloatercolorpicker.cpp b/indra/newview/llfloatercolorpicker.cpp
index 89e745f651..7b86d62c81 100644
--- a/indra/newview/llfloatercolorpicker.cpp
+++ b/indra/newview/llfloatercolorpicker.cpp
@@ -686,12 +686,12 @@ void LLFloaterColorPicker::drawPalette ()
void LLFloaterColorPicker::updateTextEntry ()
{
// set values in spinners
- getChild<LLUICtrl>("rspin")->setValue(( getCurR () * 255.0f ) );
- getChild<LLUICtrl>("gspin")->setValue(( getCurG () * 255.0f ) );
- getChild<LLUICtrl>("bspin")->setValue(( getCurB () * 255.0f ) );
- getChild<LLUICtrl>("hspin")->setValue(( getCurH () * 360.0f ) );
- getChild<LLUICtrl>("sspin")->setValue(( getCurS () * 100.0f ) );
- getChild<LLUICtrl>("lspin")->setValue(( getCurL () * 100.0f ) );
+ childSetValue("rspin", ( getCurR () * 255.0f ) );
+ childSetValue("gspin", ( getCurG () * 255.0f ) );
+ childSetValue("bspin", ( getCurB () * 255.0f ) );
+ childSetValue("hspin", ( getCurH () * 360.0f ) );
+ childSetValue("sspin", ( getCurS () * 100.0f ) );
+ childSetValue("lspin", ( getCurL () * 100.0f ) );
}
//////////////////////////////////////////////////////////////////////////////