Mercurial > hg > svgui
diff layer/LayerGeometryProvider.h @ 1078:ee01a4062747 spectrogram-minor-refactor
Move drawVisibleText to PaintAssistant
author | Chris Cannam |
---|---|
date | Thu, 30 Jun 2016 12:40:22 +0100 |
parents | 5144d7185fb5 |
children | 5b4fe7bb9430 |
line wrap: on
line diff
--- a/layer/LayerGeometryProvider.h Thu Jun 30 10:59:11 2016 +0100 +++ b/layer/LayerGeometryProvider.h Thu Jun 30 12:40:22 2016 +0100 @@ -153,15 +153,6 @@ virtual bool shouldIlluminateLocalFeatures(const Layer *, QPoint &) const = 0; virtual bool shouldShowFeatureLabels() const = 0; - enum TextStyle { - BoxedText, - OutlinedText, - OutlinedItalicText - }; - - virtual void drawVisibleText(QPainter &p, int x, int y, - QString text, TextStyle style) const = 0; - virtual void drawMeasurementRect(QPainter &p, const Layer *, QRect rect, bool focus) const = 0;