aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llslider.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llui/llslider.cpp
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-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/llui/llslider.cpp')
-rw-r--r--linden/indra/llui/llslider.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/llui/llslider.cpp b/linden/indra/llui/llslider.cpp
index 12d794c..4cc558f 100644
--- a/linden/indra/llui/llslider.cpp
+++ b/linden/indra/llui/llslider.cpp
@@ -46,7 +46,7 @@ static LLRegisterWidget<LLSlider> r2("volume_slider");
46 46
47 47
48LLSlider::LLSlider( 48LLSlider::LLSlider(
49 const LLString& name, 49 const std::string& name,
50 const LLRect& rect, 50 const LLRect& rect,
51 void (*on_commit_callback)(LLUICtrl* ctrl, void* userdata), 51 void (*on_commit_callback)(LLUICtrl* ctrl, void* userdata),
52 void* callback_userdata, 52 void* callback_userdata,
@@ -55,7 +55,7 @@ LLSlider::LLSlider(
55 F32 max_value, 55 F32 max_value,
56 F32 increment, 56 F32 increment,
57 BOOL volume, 57 BOOL volume,
58 const LLString& control_name) 58 const std::string& control_name)
59 : 59 :
60 LLUICtrl( name, rect, TRUE, on_commit_callback, callback_userdata, 60 LLUICtrl( name, rect, TRUE, on_commit_callback, callback_userdata,
61 FOLLOWS_LEFT | FOLLOWS_TOP), 61 FOLLOWS_LEFT | FOLLOWS_TOP),
@@ -303,7 +303,7 @@ LLXMLNodePtr LLSlider::getXML(bool save_children) const
303//static 303//static
304LLView* LLSlider::fromXML(LLXMLNodePtr node, LLView *parent, class LLUICtrlFactory *factory) 304LLView* LLSlider::fromXML(LLXMLNodePtr node, LLView *parent, class LLUICtrlFactory *factory)
305{ 305{
306 LLString name("slider_bar"); 306 std::string name("slider_bar");
307 node->getAttributeString("name", name); 307 node->getAttributeString("name", name);
308 308
309 LLRect rect; 309 LLRect rect;