changeset 917:77a1d42353ce osx-retina

Another small replacement
author Chris Cannam
date Tue, 17 Mar 2015 16:33:51 +0000
parents 94e4952a6774
children 4fe7a09be0fe
files layer/LogNumericalScale.h layer/PianoScale.h
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/layer/LogNumericalScale.h	Tue Mar 17 15:05:25 2015 +0000
+++ b/layer/LogNumericalScale.h	Tue Mar 17 16:33:51 2015 +0000
@@ -25,10 +25,10 @@
 class LogNumericalScale
 {
 public:
-    int getWidth(View *v, QPainter &paint);
+    int getWidth(LayerGeometryProvider *v, QPainter &paint);
 
     void paintVertical
-    (View *v, const VerticalScaleLayer *layer, QPainter &paint, int x0,
+    (LayerGeometryProvider *v, const VerticalScaleLayer *layer, QPainter &paint, int x0,
      double minlog, double maxlog);
 };
 
--- a/layer/PianoScale.h	Tue Mar 17 15:05:25 2015 +0000
+++ b/layer/PianoScale.h	Tue Mar 17 16:33:51 2015 +0000
@@ -25,7 +25,7 @@
 {
 public:
     void paintPianoVertical
-    (View *v, QPainter &paint, QRect rect, double minf, double maxf);
+    (LayerGeometryProvider *v, QPainter &paint, QRect rect, double minf, double maxf);
 };
 
 #endif