diff layer/LinearNumericalScale.h @ 1281:fc9d9f1103fa horizontal-scale

Provide linear horizontal scale in spectrum as well as log; fix bin positioning and colour scale property box updating; ensure proper background colour and visibility of peak lines
author Chris Cannam
date Thu, 03 May 2018 15:15:15 +0100
parents b4cb11ca8233
children
line wrap: on
line diff
--- a/layer/LinearNumericalScale.h	Wed May 02 14:27:17 2018 +0100
+++ b/layer/LinearNumericalScale.h	Thu May 03 15:15:15 2018 +0100
@@ -21,21 +21,15 @@
 class QPainter;
 class LayerGeometryProvider;
 class VerticalScaleLayer;
-class HorizontalScaleProvider;
 
 class LinearNumericalScale
 {
 public:
-    int getWidth(LayerGeometryProvider *v, QPainter &paint,
-                 bool horizontal = false);
+    int getWidth(LayerGeometryProvider *v, QPainter &paint);
 
     void paintVertical
     (LayerGeometryProvider *v, const VerticalScaleLayer *layer,
      QPainter &paint, int x0, double minf, double maxf);
-
-    void paintHorizontal
-    (LayerGeometryProvider *v, const HorizontalScaleProvider *provider,
-     QPainter &paint, QRect r);
 };
 
 #endif