Mercurial > hg > svgui
comparison 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 |
comparison
equal
deleted
inserted
replaced
1389:1eb560b363e7 | 1390:3c99083a4d83 |
---|---|
134 QPainter &) const = 0; | 134 QPainter &) const = 0; |
135 | 135 |
136 virtual void paintVerticalScale(LayerGeometryProvider *, bool /* detailed */, | 136 virtual void paintVerticalScale(LayerGeometryProvider *, bool /* detailed */, |
137 QPainter &, QRect) const { } | 137 QPainter &, QRect) const { } |
138 | 138 |
139 virtual int getHorizontalScaleHeight(LayerGeometryProvider *, QPainter &) const { return 0; } | |
140 | |
139 virtual bool getCrosshairExtents(LayerGeometryProvider *, QPainter &, QPoint /* cursorPos */, | 141 virtual bool getCrosshairExtents(LayerGeometryProvider *, QPainter &, QPoint /* cursorPos */, |
140 std::vector<QRect> &) const { | 142 std::vector<QRect> &) const { |
141 return false; | 143 return false; |
142 } | 144 } |
143 virtual void paintCrosshairs(LayerGeometryProvider *, QPainter &, QPoint) const { } | 145 virtual void paintCrosshairs(LayerGeometryProvider *, QPainter &, QPoint) const { } |