Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
244:85bf384db35f | 245:4cd620bd4c61 |
---|---|
74 * Return the minimum and maximum values for the given property | 74 * Return the minimum and maximum values for the given property |
75 * and its current value in this container. Min and/or max may be | 75 * and its current value in this container. Min and/or max may be |
76 * passed as NULL if their values are not required. | 76 * passed as NULL if their values are not required. |
77 */ | 77 */ |
78 virtual int getPropertyRangeAndValue(const PropertyName &, | 78 virtual int getPropertyRangeAndValue(const PropertyName &, |
79 int *min, int *max) const; | 79 int *min, int *max, int *deflt) const; |
80 | 80 |
81 /** | 81 /** |
82 * If the given property is a ValueProperty, return the display | 82 * If the given property is a ValueProperty, return the display |
83 * label to be used for the given value for that property. | 83 * label to be used for the given value for that property. |
84 */ | 84 */ |