Mercurial > hg > svgui
diff layer/SpectrumLayer.h @ 1383:86f319dd6ab9 spectrogramparam
Switch spectrum to antialiased drawing with considerable speedup for the dense areas; take horizontal scale height into account when rendering slice layer height
author | Chris Cannam |
---|---|
date | Wed, 07 Nov 2018 15:59:10 +0000 |
parents | 2df1af7ac752 |
children | fc3d89f88690 |
line wrap: on
line diff
--- a/layer/SpectrumLayer.h Wed Nov 07 11:37:51 2018 +0000 +++ b/layer/SpectrumLayer.h Wed Nov 07 15:59:10 2018 +0000 @@ -28,8 +28,6 @@ #include <QColor> #include <QMutex> -class FFTModel; - class SpectrumLayer : public SliceLayer, public HorizontalScaleProvider { @@ -46,7 +44,7 @@ std::vector<QRect> &extents) const override; virtual void paintCrosshairs(LayerGeometryProvider *, QPainter &, QPoint) const override; - virtual int getHorizontalScaleHeight(LayerGeometryProvider *, QPainter &) const; + virtual int getHorizontalScaleHeight(LayerGeometryProvider *, QPainter &) const override; virtual void paintHorizontalScale(LayerGeometryProvider *, QPainter &, int xorigin) const; virtual QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const override;