diff layer/WaveformLayer.h @ 61:0387f53242b2

fix the 2ed color bug in the layer list. Now color in layer list is ok.
author benoitrigolleau
date Tue, 29 May 2007 09:26:15 +0000
parents d8e6709e9075
children
line wrap: on
line diff
--- a/layer/WaveformLayer.h	Tue May 29 08:42:49 2007 +0000
+++ b/layer/WaveformLayer.h	Tue May 29 09:26:15 2007 +0000
@@ -73,14 +73,8 @@
     void setAutoNormalize(bool);
     bool getAutoNormalize() const { return m_autoNormalize; }
 
-    /**
-     * Set the basic display colour for waveforms.
-     *
-     * The default is black.
-     *!!! NB should default to white if the associated View !hasLightBackground()
-     */
-    void setBaseColour(QColor);
-    QColor getBaseColour() const { return m_colour; }
+     virtual void setBaseColour(QColor);
+	 virtual QColor getBaseColour() const {return m_colour; }
 
     /**
      * Set whether to display mean values as a lighter-coloured area
@@ -205,13 +199,13 @@
 
     float        m_gain;
     bool         m_autoNormalize;
-    QColor       m_colour;
     bool         m_showMeans;
     bool         m_greyscale;
     ChannelMode  m_channelMode;
     int          m_channel;
     Scale        m_scale;
     bool         m_aggressive;
+	QColor       m_colour;
 
     mutable std::vector<float> m_effectiveGains;