diff layer/SpectrumLayer.h @ 1392:900bed394f5a spectrogramparam

Highlight the current peak line in the spectrum (when shown); also a fix to the crosshair labelling
author Chris Cannam
date Wed, 14 Nov 2018 11:01:18 +0000
parents fc3d89f88690
children 10e768adaee5
line wrap: on
line diff
--- a/layer/SpectrumLayer.h	Tue Nov 13 15:16:48 2018 +0000
+++ b/layer/SpectrumLayer.h	Wed Nov 14 11:01:18 2018 +0000
@@ -99,6 +99,8 @@
     void setShowPeaks(bool);
     bool getShowPeaks() const { return m_showPeaks; }
 
+    virtual bool needsTextLabelHeight() const { return true; }
+
     virtual void toXml(QTextStream &stream, QString indent = "",
                        QString extraAttributes = "") const override;