aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llspinctrl.h
diff options
context:
space:
mode:
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 1a96767..dfd0eb3 100644
--- a/linden/indra/llui/llspinctrl.h
+++ b/linden/indra/llui/llspinctrl.h
@@ -17,7 +17,8 @@
17 * There are special exceptions to the terms and conditions of the GPL as 17 * There are special exceptions to the terms and conditions of the GPL as
18 * it is applied to this Source Code. View the full text of the exception 18 * it is applied to this Source Code. View the full text of the exception
19 * in the file doc/FLOSS-exception.txt in this software distribution, or 19 * in the file doc/FLOSS-exception.txt in this software distribution, or
20 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception 20 * online at
21 * http://secondlifegrid.net/programs/open_source/licensing/flossexception
21 * 22 *
22 * By copying, modifying or distributing this software, you acknowledge 23 * By copying, modifying or distributing this software, you acknowledge
23 * that you have read and understood your obligations described above, 24 * that you have read and understood your obligations described above,
@@ -81,6 +82,7 @@ public:
81 virtual void setFocus( BOOL b ); 82 virtual void setFocus( BOOL b );
82 virtual void clear(); 83 virtual void clear();
83 virtual BOOL isDirty() const { return( mValue != mInitialValue ); } 84 virtual BOOL isDirty() const { return( mValue != mInitialValue ); }
85 virtual void resetDirty() { mInitialValue = mValue; }
84 86
85 virtual void setPrecision(S32 precision); 87 virtual void setPrecision(S32 precision);
86 virtual void setMinValue(F32 min) { mMinValue = min; } 88 virtual void setMinValue(F32 min) { mMinValue = min; }