Mercurial > hg > svgui
comparison layer/SliceLayer.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 | decb7741d036 |
comparison
equal
deleted
inserted
replaced
1389:1eb560b363e7 | 1390:3c99083a4d83 |
---|---|
40 | 40 |
41 virtual QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const; | 41 virtual QString getFeatureDescription(LayerGeometryProvider *v, QPoint &) const; |
42 | 42 |
43 virtual int getVerticalScaleWidth(LayerGeometryProvider *v, bool, QPainter &) const; | 43 virtual int getVerticalScaleWidth(LayerGeometryProvider *v, bool, QPainter &) const; |
44 virtual void paintVerticalScale(LayerGeometryProvider *v, bool, QPainter &paint, QRect rect) const; | 44 virtual void paintVerticalScale(LayerGeometryProvider *v, bool, QPainter &paint, QRect rect) const; |
45 | |
46 virtual int getHorizontalScaleHeight(LayerGeometryProvider *, QPainter &) const { return 0; } | |
47 | 45 |
48 virtual ColourSignificance getLayerColourSignificance() const { | 46 virtual ColourSignificance getLayerColourSignificance() const { |
49 return ColourAndBackgroundSignificant; | 47 return ColourAndBackgroundSignificant; |
50 } | 48 } |
51 | 49 |