aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llspinctrl.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:08 -0500
committerJacek Antonelli2008-08-15 23:45:08 -0500
commitd3536025fdb47955c02c897d8274b81d6f8eadbb (patch)
tree36d53aa6bccfad3a267d994d5d99cafb16aed498 /linden/indra/llui/llspinctrl.h
parentSecond Life viewer sources 1.18.3.2-RC (diff)
downloadmeta-impy-d3536025fdb47955c02c897d8274b81d6f8eadbb.zip
meta-impy-d3536025fdb47955c02c897d8274b81d6f8eadbb.tar.gz
meta-impy-d3536025fdb47955c02c897d8274b81d6f8eadbb.tar.bz2
meta-impy-d3536025fdb47955c02c897d8274b81d6f8eadbb.tar.xz
Second Life viewer sources 1.18.3.3-RC
Diffstat (limited to 'linden/indra/llui/llspinctrl.h')
-rw-r--r--linden/indra/llui/llspinctrl.h4
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; }