comparison layer/SpectrogramLayer.cpp @ 176:ad7df5989d08

...
author Chris Cannam
date Mon, 30 Oct 2006 12:44:45 +0000
parents 96b8a790730a
children 05015e717a0d
comparison
equal deleted inserted replaced
175:836498e57f59 176:ad7df5989d08
238 deft = m_colourRotation; 238 deft = m_colourRotation;
239 239
240 } else if (name == "Colour Scale") { 240 } else if (name == "Colour Scale") {
241 241
242 *min = 0; 242 *min = 0;
243 *max = 3; 243 *max = 4;
244 244
245 deft = (int)m_colourScale; 245 deft = (int)m_colourScale;
246 246
247 } else if (name == "Colour") { 247 } else if (name == "Colour") {
248 248
357 switch (value) { 357 switch (value) {
358 default: 358 default:
359 case 0: return tr("Linear"); 359 case 0: return tr("Linear");
360 case 1: return tr("Meter"); 360 case 1: return tr("Meter");
361 case 2: return tr("dB"); 361 case 2: return tr("dB");
362 case 3: return tr("Other"); 362 case 3: return tr("dB^2");
363 case 4: return tr("Phase"); 363 case 4: return tr("Phase");
364 } 364 }
365 } 365 }
366 if (name == "Window Size") { 366 if (name == "Window Size") {
367 return QString("%1").arg(32 << value); 367 return QString("%1").arg(32 << value);