Mercurial > hg > svgui
comparison layer/VerticalScaleLayer.h @ 1045:f535f6e5dbb0 alignment-simple
Merge in from SV 3.0-integration branches
author | Chris Cannam |
---|---|
date | Wed, 02 Mar 2016 17:25:27 +0000 |
parents | 94e4952a6774 |
children | c98a1fe7c7f5 |
comparison
equal
deleted
inserted
replaced
976:f2c63ec85901 | 1045:f535f6e5dbb0 |
---|---|
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 |