diff options
| author | Rider Linden <rider@lindenlab.com> | 2018-05-30 17:08:28 -0700 |
|---|---|---|
| committer | Rider Linden <rider@lindenlab.com> | 2018-05-30 17:08:28 -0700 |
| commit | 2ddad24c4d5e64711cdbffd98e290d3da8e9714a (patch) | |
| tree | 41d0e42d9c6ecef131651910402c6eb7cc66ec18 /indra/llui/llmultisliderctrl.h | |
| parent | acaf57100eade61262d73cf5b318c4545e921bd5 (diff) | |
Timeline behavior in day cycle edit.
Diffstat (limited to 'indra/llui/llmultisliderctrl.h')
| -rw-r--r-- | indra/llui/llmultisliderctrl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llui/llmultisliderctrl.h b/indra/llui/llmultisliderctrl.h index 84378ff7b2..5c4777ebd0 100644 --- a/indra/llui/llmultisliderctrl.h +++ b/indra/llui/llmultisliderctrl.h @@ -74,7 +74,7 @@ protected: public: virtual ~LLMultiSliderCtrl(); - F32 getSliderValue(const std::string& name) const; + F32 getSliderValue(const std::string& name) const { return mMultiSlider->getSliderValue(name); } void setSliderValue(const std::string& name, F32 v, BOOL from_event = FALSE); virtual void setValue(const LLSD& value ); @@ -99,6 +99,8 @@ public: void setMaxValue(F32 max_value) {mMultiSlider->setMaxValue(max_value);} void setIncrement(F32 increment) {mMultiSlider->setIncrement(increment);} + F32 getSliderValueFromX(S32 x) const { return mMultiSlider->getSliderValueFromX(x); } + /// for adding and deleting sliders const std::string& addSlider(); const std::string& addSlider(F32 val); |
