Mercurial > hg > svgui
diff layer/SpectrogramLayer.h @ 1554:a0b2f3b4dd2f spectrogram-export
Start work on spectrogram export code
author | Chris Cannam |
---|---|
date | Mon, 06 Jan 2020 14:46:25 +0000 |
parents | e6362cf5ff1d |
children | 745be36202aa |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h Fri Nov 22 14:12:50 2019 +0000 +++ b/layer/SpectrogramLayer.h Mon Jan 06 14:46:25 2020 +0000 @@ -65,6 +65,9 @@ const ZoomConstraint *getZoomConstraint() const override { return this; } ModelId getModel() const override { return m_model; } + + ModelId getExportModel(LayerGeometryProvider *) const override; + void paint(LayerGeometryProvider *v, QPainter &paint, QRect rect) const override; void setSynchronousPainting(bool synchronous) override; @@ -72,7 +75,7 @@ void paintVerticalScale(LayerGeometryProvider *v, bool detailed, QPainter &paint, QRect rect) const override; bool getCrosshairExtents(LayerGeometryProvider *, QPainter &, QPoint cursorPos, - std::vector<QRect> &extents) const override; + std::vector<QRect> &extents) const override; void paintCrosshairs(LayerGeometryProvider *, QPainter &, QPoint) const override; QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const override;