summaryrefslogtreecommitdiff
path: root/indra/llui/llspinctrl.h
diff options
context:
space:
mode:
authorJosh Bell <josh@lindenlab.com>2007-09-13 18:17:52 +0000
committerJosh Bell <josh@lindenlab.com>2007-09-13 18:17:52 +0000
commitb3d807d5ff8dca6c891e9a5e0ddc7bc147d69f8c (patch)
tree8b94c90d06bcd0ed5d258ab1e8c5d67024683cab /indra/llui/llspinctrl.h
parenta5f3ac2a8dc9aee2c04f24c3b3304c1b24808acb (diff)
svn merge -r 68690:69597 svn+ssh://svn.lindenlab.com/svn/linden/branches/Branch_1-18-3-Viewer --> release
Merge patches made in the 1-18-3 RC iterations into the trunk. NOTE: Includes the reversion of SL-51274 (originally maintenance r67559, changed lltracker.cpp)
Diffstat (limited to 'indra/llui/llspinctrl.h')
-rw-r--r--indra/llui/llspinctrl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llui/llspinctrl.h b/indra/llui/llspinctrl.h
index 4fe1a26f5d..981cf0def5 100644
--- a/indra/llui/llspinctrl.h
+++ b/indra/llui/llspinctrl.h
@@ -56,7 +56,7 @@ public:
virtual void setValue(const LLSD& value );
virtual LLSD getValue() const;
F32 get() { return (F32)getValue().asReal(); }
- void set(F32 value) { setValue(value); }
+ void set(F32 value) { setValue(value); mInitialValue = value; }
virtual void setMinValue(LLSD min_value) { setMinValue((F32)min_value.asReal()); }
virtual void setMaxValue(LLSD max_value) { setMaxValue((F32)max_value.asReal()); }
@@ -66,6 +66,8 @@ public:
virtual void setEnabled( BOOL b );
virtual void setFocus( BOOL b );
virtual void clear();
+ virtual BOOL isDirty() const;
+
virtual void setPrecision(S32 precision);
virtual void setMinValue(F32 min) { mMinValue = min; }
virtual void setMaxValue(F32 max) { mMaxValue = max; }