diff options
Diffstat (limited to 'linden/indra/llui/llspinctrl.h')
-rw-r--r-- | linden/indra/llui/llspinctrl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/llui/llspinctrl.h b/linden/indra/llui/llspinctrl.h index 790e216..5d040fd 100644 --- a/linden/indra/llui/llspinctrl.h +++ b/linden/indra/llui/llspinctrl.h | |||
@@ -66,6 +66,7 @@ public: | |||
66 | virtual LLXMLNodePtr getXML(bool save_children = true) const; | 66 | virtual LLXMLNodePtr getXML(bool save_children = true) const; |
67 | static LLView* fromXML(LLXMLNodePtr node, LLView *parent, class LLUICtrlFactory *factory); | 67 | static LLView* fromXML(LLXMLNodePtr node, LLView *parent, class LLUICtrlFactory *factory); |
68 | 68 | ||
69 | virtual void forceSetValue(const LLSD& value ) ; | ||
69 | virtual void setValue(const LLSD& value ); | 70 | virtual void setValue(const LLSD& value ); |
70 | virtual LLSD getValue() const { return mValue; } | 71 | virtual LLSD getValue() const { return mValue; } |
71 | F32 get() const { return (F32)getValue().asReal(); } | 72 | F32 get() const { return (F32)getValue().asReal(); } |
@@ -87,6 +88,7 @@ public: | |||
87 | virtual void setIncrement(F32 inc) { mIncrement = inc; } | 88 | virtual void setIncrement(F32 inc) { mIncrement = inc; } |
88 | virtual F32 getMinValue() { return mMinValue ; } | 89 | virtual F32 getMinValue() { return mMinValue ; } |
89 | virtual F32 getMaxValue() { return mMaxValue ; } | 90 | virtual F32 getMaxValue() { return mMaxValue ; } |
91 | virtual F32 getIncrement() { return mIncrement ; } | ||
90 | 92 | ||
91 | void setLabel(const LLStringExplicit& label); | 93 | void setLabel(const LLStringExplicit& label); |
92 | void setLabelColor(const LLColor4& c) { mTextEnabledColor = c; } | 94 | void setLabelColor(const LLColor4& c) { mTextEnabledColor = c; } |