diff layer/WaveformLayer.h @ 1333:59f6830be8d8 zoom

A further refactor with range blocks
author Chris Cannam
date Fri, 21 Sep 2018 14:22:53 +0100
parents 6dac67c3ed82
children 0e4551fd7f14
line wrap: on
line diff
--- a/layer/WaveformLayer.h	Fri Sep 21 14:01:09 2018 +0100
+++ b/layer/WaveformLayer.h	Fri Sep 21 14:22:53 2018 +0100
@@ -214,8 +214,7 @@
                               bool &merging, bool &mixing) const;
 
     void paintChannel(LayerGeometryProvider *, QPainter *paint, int channel,
-                      const RangeSummarisableTimeValueModel::RangeBlock *ranges,
-                      const RangeSummarisableTimeValueModel::RangeBlock *other,
+                      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;