Mercurial > hg > svgui
diff layer/Layer.h @ 1390:3c99083a4d83 spectrogramparam
Move layer name text up a bit when rendering on a layer with a horizontal scale (i.e. spectrum)
author | Chris Cannam |
---|---|
date | Tue, 13 Nov 2018 14:48:42 +0000 |
parents | 1eb560b363e7 |
children | c39f2d439d59 |
line wrap: on
line diff
--- a/layer/Layer.h Tue Nov 13 14:06:48 2018 +0000 +++ b/layer/Layer.h Tue Nov 13 14:48:42 2018 +0000 @@ -136,6 +136,8 @@ virtual void paintVerticalScale(LayerGeometryProvider *, bool /* detailed */, QPainter &, QRect) const { } + virtual int getHorizontalScaleHeight(LayerGeometryProvider *, QPainter &) const { return 0; } + virtual bool getCrosshairExtents(LayerGeometryProvider *, QPainter &, QPoint /* cursorPos */, std::vector<QRect> &) const { return false;