Mercurial > hg > svgui
diff layer/SliceLayer.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 | d79e21855aef |
children | fc3d89f88690 |
line wrap: on
line diff
--- a/layer/SliceLayer.h Wed Nov 07 11:37:51 2018 +0000 +++ b/layer/SliceLayer.h Wed Nov 07 15:59:10 2018 +0000 @@ -43,6 +43,8 @@ virtual int getVerticalScaleWidth(LayerGeometryProvider *v, bool, QPainter &) const; virtual void paintVerticalScale(LayerGeometryProvider *v, bool, QPainter &paint, QRect rect) const; + virtual int getHorizontalScaleHeight(LayerGeometryProvider *, QPainter &) const { return 0; } + virtual ColourSignificance getLayerColourSignificance() const { return ColourAndBackgroundSignificant; }