Mercurial > hg > svgui
comparison layer/Colour3DPlotLayer.cpp @ 198:c2ed5014d4ff
* Scale fixes and feature descriptions in slice layer
author | Chris Cannam |
---|---|
date | Thu, 01 Feb 2007 16:54:42 +0000 |
parents | 6b023411087b |
children | 6969f21da18a |
comparison
equal
deleted
inserted
replaced
197:6b023411087b | 198:c2ed5014d4ff |
---|---|
168 return ColourMapper::getColourMapName(value); | 168 return ColourMapper::getColourMapName(value); |
169 } | 169 } |
170 if (name == "Colour Scale") { | 170 if (name == "Colour Scale") { |
171 switch (value) { | 171 switch (value) { |
172 default: | 172 default: |
173 case 0: return tr("Linear Scale"); | 173 case 0: return tr("Linear"); |
174 case 1: return tr("Log Scale"); | 174 case 1: return tr("Log"); |
175 case 2: return tr("+/-1 Scale"); | 175 case 2: return tr("+/-1"); |
176 } | 176 } |
177 } | 177 } |
178 return tr("<unknown>"); | 178 return tr("<unknown>"); |
179 } | 179 } |
180 | 180 |