diff layer/SpectrumLayer.h @ 216:34bbbcb3c01f 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 45e995ed84d9
children 28c8e8e3c537
line wrap: on
line diff
--- a/layer/SpectrumLayer.h	Fri Mar 02 13:01:41 2007 +0000
+++ b/layer/SpectrumLayer.h	Fri Mar 02 14:00:12 2007 +0000
@@ -45,7 +45,7 @@
     virtual PropertyType getPropertyType(const PropertyName &) const;
     virtual QString getPropertyGroupName(const PropertyName &) const;
     virtual int getPropertyRangeAndValue(const PropertyName &,
-					   int *min, int *max) const;
+                                         int *min, int *max, int *deflt) const;
     virtual QString getPropertyValueLabel(const PropertyName &,
 					  int value) const;
     virtual RangeMapper *getNewPropertyRangeMapper(const PropertyName &) const;