diff layer/WaveformLayer.cpp @ 189:5b7472db612b

* Add large chunks of context help in the optional status bar * Add an extra overlay mode in which even the centre frame is disabled * Fixes to FTP retrieval
author Chris Cannam
date Fri, 19 Jan 2007 13:13:14 +0000
parents 42118892f428
children 4a3bdde1ef13
line wrap: on
line diff
--- a/layer/WaveformLayer.cpp	Fri Jan 12 21:52:56 2007 +0000
+++ b/layer/WaveformLayer.cpp	Fri Jan 19 13:13:14 2007 +0000
@@ -37,6 +37,7 @@
     m_gain(1.0f),
     m_autoNormalize(false),
     m_colour(Qt::black),
+//    m_colour(QColor(84, 177, 248)),
     m_showMeans(true),
     m_greyscale(true),
     m_channelMode(SeparateChannels),
@@ -164,7 +165,8 @@
 
 	if (m_colour == Qt::black) deft = 0;
 	else if (m_colour == Qt::darkRed) deft = 1;
-	else if (m_colour == Qt::darkBlue) deft = 2;
+	else if (m_colour == Qt::darkBlue ||
+                 m_colour == QColor(84, 177, 248)) deft = 2;
 	else if (m_colour == Qt::darkGreen) deft = 3;
 	else if (m_colour == QColor(200, 50, 255)) deft = 4;
 	else if (m_colour == QColor(255, 150, 50)) deft = 5;
@@ -246,6 +248,7 @@
 	default:
 	case 0:	setBaseColour(Qt::black); break;
 	case 1: setBaseColour(Qt::darkRed); break;
+//	case 2: setBaseColour(QColor(84, 177, 248)); break;
 	case 2: setBaseColour(Qt::darkBlue); break;
 	case 3: setBaseColour(Qt::darkGreen); break;
 	case 4: setBaseColour(QColor(200, 50, 255)); break;