Mercurial > hg > svgui
comparison layer/VerticalScaleLayer.h @ 978:64c2b3a4435a 3.0-integration
Merge from branch osx-retina
author | Chris Cannam |
---|---|
date | Fri, 26 Jun 2015 14:10:40 +0100 |
parents | 94e4952a6774 |
children | c98a1fe7c7f5 |
comparison
equal
deleted
inserted
replaced
977:f40ccbf228c2 | 978:64c2b3a4435a |
---|---|
17 #define VERTICAL_SCALE_LAYER_H | 17 #define VERTICAL_SCALE_LAYER_H |
18 | 18 |
19 class VerticalScaleLayer | 19 class VerticalScaleLayer |
20 { | 20 { |
21 public: | 21 public: |
22 virtual int getYForValue(View *, double value) const = 0; | 22 virtual int getYForValue(LayerGeometryProvider *, double value) const = 0; |
23 virtual double getValueForY(View *, int y) const = 0; | 23 virtual double getValueForY(LayerGeometryProvider *, int y) const = 0; |
24 virtual QString getScaleUnits() const = 0; | 24 virtual QString getScaleUnits() const = 0; |
25 }; | 25 }; |
26 | 26 |
27 #endif | 27 #endif |
28 | 28 |