diff layer/SliceLayer.h @ 1284:51e6125627fa

Hack to ensure vertical scale lines are in the right place in pixel-doubling rendering
author Chris Cannam
date Tue, 08 May 2018 14:27:54 +0100
parents fc9d9f1103fa
children d79e21855aef
line wrap: on
line diff
--- a/layer/SliceLayer.h	Tue May 08 14:07:22 2018 +0100
+++ b/layer/SliceLayer.h	Tue May 08 14:27:54 2018 +0100
@@ -13,8 +13,8 @@
     COPYING included with this distribution for more information.
 */
 
-#ifndef _SLICE_LAYER_H_
-#define _SLICE_LAYER_H_
+#ifndef SV_SLICE_LAYER_H
+#define SV_SLICE_LAYER_H
 
 #include "SingleColourLayer.h"
 
@@ -153,6 +153,7 @@
     int                               m_minbin;
     int                               m_maxbin;
     mutable std::vector<int>          m_scalePoints;
+    mutable int                       m_scalePaintHeight;
     mutable std::map<int, int>        m_xorigins; // LayerGeometryProvider id -> x
     mutable std::map<int, int>        m_yorigins; // LayerGeometryProvider id -> y
     mutable std::map<int, int>        m_heights;  // LayerGeometryProvider id -> h