summaryrefslogtreecommitdiff
path: root/indra/llui/llmultislider.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2019-01-02 17:10:15 -0800
committerRider Linden <rider@lindenlab.com>2019-01-02 17:10:15 -0800
commitd607d81dba25dfe7dd1ecdf123af656ca939924f (patch)
tree94f45fac6cd13c4677e20be0ada48a0e7985740a /indra/llui/llmultislider.cpp
parent5fe626afabd2857980e8011ceb6081f9e9f108c7 (diff)
SL-10279: Temp fix for stale estate info when editing parcel environment.
Diffstat (limited to 'indra/llui/llmultislider.cpp')
-rw-r--r--indra/llui/llmultislider.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/indra/llui/llmultislider.cpp b/indra/llui/llmultislider.cpp
index f30ce28b9d..61e8bdd38c 100644
--- a/indra/llui/llmultislider.cpp
+++ b/indra/llui/llmultislider.cpp
@@ -315,6 +315,21 @@ LLRect LLMultiSlider::getSliderThumbRect(const std::string& name) const
return LLRect();
}
+void LLMultiSlider::setSliderThumbImage(const std::string &name)
+{
+ if (!name.empty())
+ {
+ mThumbImagep = LLUI::getUIImage(name);
+ }
+ else
+ clearSliderThumbImage();
+}
+
+void LLMultiSlider::clearSliderThumbImage()
+{
+ mThumbImagep = NULL;
+}
+
void LLMultiSlider::resetCurSlider()
{
mCurSlider = LLStringUtil::null;