diff layer/SpectrogramLayer.h @ 36:c28ebb4ba4de

* Improvements to text layer editing, and implement file I/O for it * Start some fixes to spectrogram frequency computation
author Chris Cannam
date Mon, 20 Feb 2006 17:23:40 +0000
parents 10ba9276a315
children 21d061e66177
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h	Mon Feb 20 13:33:36 2006 +0000
+++ b/layer/SpectrogramLayer.h	Mon Feb 20 17:23:40 2006 +0000
@@ -130,6 +130,9 @@
     void setFrequencyAdjustment(FrequencyAdjustment);
     FrequencyAdjustment getFrequencyAdjustment() const;
 
+    void setNormalizeColumns(bool n);
+    bool getNormalizeColumns() const;
+
     enum ColourScheme { DefaultColours, WhiteOnBlack, BlackOnWhite,
 			RedOnBlue, YellowOnBlack, RedOnBlack };
 
@@ -177,6 +180,7 @@
     ColourScheme        m_colourScheme;
     FrequencyScale      m_frequencyScale;
     FrequencyAdjustment m_frequencyAdjustment;
+    bool                m_normalizeColumns;
 
     // A QImage would do just as well here, and we originally used
     // one: the problem is that we want to munlock() the memory it