diff layer/WaveformLayer.h @ 1334:0e4551fd7f14 zoom

Another tidy
author Chris Cannam
date Fri, 21 Sep 2018 14:33:43 +0100
parents 59f6830be8d8
children bc44b520405f
line wrap: on
line diff
--- a/layer/WaveformLayer.h	Fri Sep 21 14:22:53 2018 +0100
+++ b/layer/WaveformLayer.h	Fri Sep 21 14:33:43 2018 +0100
@@ -213,10 +213,11 @@
     int getChannelArrangement(int &min, int &max,
                               bool &merging, bool &mixing) const;
 
-    void paintChannel(LayerGeometryProvider *, QPainter *paint, int channel,
+    void paintChannel(LayerGeometryProvider *, QPainter *paint, QRect rect,
+                      int channel,
                       const std::vector<RangeSummarisableTimeValueModel::RangeBlock> &ranges,
-                      int blockSize, int x0, int y0, int x1, int y1,
-                      sv_frame_t frame0, sv_frame_t frame1) const;
+                      int blockSize, sv_frame_t frame0, sv_frame_t frame1)
+        const;
     
     int getYForValue(const LayerGeometryProvider *v, double value, int channel) const;