diff layer/SpectrumLayer.h @ 284:1284955856ab

* threshold, show-peaks properties in spectrum
author Chris Cannam
date Fri, 06 Jul 2007 15:17:35 +0000
parents 8acd30ed735c
children c0b9eec70639
line wrap: on
line diff
--- a/layer/SpectrumLayer.h	Thu Jul 05 15:36:37 2007 +0000
+++ b/layer/SpectrumLayer.h	Fri Jul 06 15:17:35 2007 +0000
@@ -88,6 +88,9 @@
     void setWindowType(WindowType type);
     WindowType getWindowType() const { return m_windowType; }
 
+    void setShowPeaks(bool);
+    bool getShowPeaks() const { return m_showPeaks; }
+
     virtual QString toXmlString(QString indent = "",
 				QString extraAttributes = "") const;
 
@@ -106,6 +109,7 @@
     size_t                  m_windowSize;
     WindowType              m_windowType;
     size_t                  m_windowHopLevel;
+    bool                    m_showPeaks;
     mutable bool            m_newFFTNeeded;
 
     void setupFFT();