Mercurial > hg > svgui
comparison layer/LogNumericalScale.h @ 978:64c2b3a4435a 3.0-integration
Merge from branch osx-retina
author | Chris Cannam |
---|---|
date | Fri, 26 Jun 2015 14:10:40 +0100 |
parents | 4fe7a09be0fe |
children | b4cb11ca8233 |
comparison
equal
deleted
inserted
replaced
977:f40ccbf228c2 | 978:64c2b3a4435a |
---|---|
17 #define LOG_NUMERICAL_SCALE_H | 17 #define LOG_NUMERICAL_SCALE_H |
18 | 18 |
19 #include <QRect> | 19 #include <QRect> |
20 | 20 |
21 class QPainter; | 21 class QPainter; |
22 class View; | 22 class LayerGeometryProvider; |
23 class VerticalScaleLayer; | 23 class VerticalScaleLayer; |
24 | 24 |
25 class LogNumericalScale | 25 class LogNumericalScale |
26 { | 26 { |
27 public: | 27 public: |
28 int getWidth(View *v, QPainter &paint); | 28 int getWidth(LayerGeometryProvider *v, QPainter &paint); |
29 | 29 |
30 void paintVertical | 30 void paintVertical |
31 (View *v, const VerticalScaleLayer *layer, QPainter &paint, int x0, | 31 (LayerGeometryProvider *v, const VerticalScaleLayer *layer, QPainter &paint, int x0, |
32 double minlog, double maxlog); | 32 double minlog, double maxlog); |
33 }; | 33 }; |
34 | 34 |
35 #endif | 35 #endif |
36 | 36 |