diff options
Diffstat (limited to 'linden/indra/llui/llspinctrl.h')
-rw-r--r-- | linden/indra/llui/llspinctrl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/llui/llspinctrl.h b/linden/indra/llui/llspinctrl.h index dcc305e..c854ff0 100644 --- a/linden/indra/llui/llspinctrl.h +++ b/linden/indra/llui/llspinctrl.h | |||
@@ -76,7 +76,7 @@ public: | |||
76 | virtual void setValue(const LLSD& value ); | 76 | virtual void setValue(const LLSD& value ); |
77 | virtual LLSD getValue() const; | 77 | virtual LLSD getValue() const; |
78 | F32 get() { return (F32)getValue().asReal(); } | 78 | F32 get() { return (F32)getValue().asReal(); } |
79 | void set(F32 value) { setValue(value); } | 79 | void set(F32 value) { setValue(value); mInitialValue = value; } |
80 | 80 | ||
81 | virtual void setMinValue(LLSD min_value) { setMinValue((F32)min_value.asReal()); } | 81 | virtual void setMinValue(LLSD min_value) { setMinValue((F32)min_value.asReal()); } |
82 | virtual void setMaxValue(LLSD max_value) { setMaxValue((F32)max_value.asReal()); } | 82 | virtual void setMaxValue(LLSD max_value) { setMaxValue((F32)max_value.asReal()); } |
@@ -86,6 +86,8 @@ public: | |||
86 | virtual void setEnabled( BOOL b ); | 86 | virtual void setEnabled( BOOL b ); |
87 | virtual void setFocus( BOOL b ); | 87 | virtual void setFocus( BOOL b ); |
88 | virtual void clear(); | 88 | virtual void clear(); |
89 | virtual BOOL isDirty() const; | ||
90 | |||
89 | virtual void setPrecision(S32 precision); | 91 | virtual void setPrecision(S32 precision); |
90 | virtual void setMinValue(F32 min) { mMinValue = min; } | 92 | virtual void setMinValue(F32 min) { mMinValue = min; } |
91 | virtual void setMaxValue(F32 max) { mMaxValue = max; } | 93 | virtual void setMaxValue(F32 max) { mMaxValue = max; } |