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/llui/llslider.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/llui/llslider.cpp')
-rw-r--r-- | linden/indra/llui/llslider.cpp | 6 |
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 | ||
48 | LLSlider::LLSlider( | 48 | LLSlider::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 |
304 | LLView* LLSlider::fromXML(LLXMLNodePtr node, LLView *parent, class LLUICtrlFactory *factory) | 304 | LLView* 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; |