diff base/PropertyContainer.h @ 245:4cd620bd4c61 sv1-1.0pre1

* Make getPropertyRangeAndValue return the default separately from the current value. Previously some contexts were incorrectly treating the current value as a default.
author Chris Cannam
date Fri, 02 Mar 2007 14:00:12 +0000
parents 8ff1ad4e7a9c
children 3b8008d09541
line wrap: on
line diff
--- a/base/PropertyContainer.h	Fri Mar 02 13:01:41 2007 +0000
+++ b/base/PropertyContainer.h	Fri Mar 02 14:00:12 2007 +0000
@@ -76,7 +76,7 @@
      * passed as NULL if their values are not required.
      */
     virtual int getPropertyRangeAndValue(const PropertyName &,
-					 int *min, int *max) const;
+					 int *min, int *max, int *deflt) const;
 
     /**
      * If the given property is a ValueProperty, return the display