Mercurial > hg > svgui
comparison layer/VerticalScaleLayer.h @ 997:296ccd36f626 tony-2.0-integration
Merge through to branch for Tony 2.0
author | Chris Cannam |
---|---|
date | Thu, 20 Aug 2015 14:54:21 +0100 |
parents | 94e4952a6774 |
children | c98a1fe7c7f5 |
comparison
equal
deleted
inserted
replaced
943:788b7623bfca | 997:296ccd36f626 |
---|---|
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 |