comparison base/PropertyContainer.cpp @ 1331:576be7933ec7 3.0-integration

Introduce a colour map combo too. Doesn't yet have swatches
author Chris Cannam
date Fri, 16 Dec 2016 14:16:05 +0000
parents a54016762f77
children 48e9f538e6e9
comparison
equal deleted inserted replaced
1330:491a992f856e 1331:576be7933ec7
176 } 176 }
177 break; 177 break;
178 178
179 case ValueProperty: 179 case ValueProperty:
180 case ColourProperty: 180 case ColourProperty:
181 case ColourMapProperty:
181 { 182 {
182 int min, max; 183 int min, max;
183 getPropertyRangeAndValue(name, &min, &max, 0); 184 getPropertyRangeAndValue(name, &min, &max, 0);
184 for (int i = min; i <= max; ++i) { 185 for (int i = min; i <= max; ++i) {
185 if (valueString == getPropertyValueLabel(name, i)) { 186 if (valueString == getPropertyValueLabel(name, i)) {