comparison 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
comparison
equal deleted inserted replaced
1391:c39f2d439d59 1392:900bed394f5a
97 WindowType getWindowType() const { return m_windowType; } 97 WindowType getWindowType() const { return m_windowType; }
98 98
99 void setShowPeaks(bool); 99 void setShowPeaks(bool);
100 bool getShowPeaks() const { return m_showPeaks; } 100 bool getShowPeaks() const { return m_showPeaks; }
101 101
102 virtual bool needsTextLabelHeight() const { return true; }
103
102 virtual void toXml(QTextStream &stream, QString indent = "", 104 virtual void toXml(QTextStream &stream, QString indent = "",
103 QString extraAttributes = "") const override; 105 QString extraAttributes = "") const override;
104 106
105 virtual double getFrequencyForX(const LayerGeometryProvider *, double x) 107 virtual double getFrequencyForX(const LayerGeometryProvider *, double x)
106 const override; 108 const override;