diff view/Pane.h @ 1519:235e08aa2d5d time-frequency-boxes

Make getTopLayerDisplayExtents public (ugh) for use when setting up a new empty layer with auto-align over the top of another one
author Chris Cannam
date Wed, 25 Sep 2019 09:46:20 +0100
parents e540aa5d89cd
children 4f8c72adbf43
line wrap: on
line diff
--- a/view/Pane.h	Wed Sep 25 09:45:42 2019 +0100
+++ b/view/Pane.h	Wed Sep 25 09:46:20 2019 +0100
@@ -106,6 +106,10 @@
     void mouseEnteredWidget();
     void mouseLeftWidget();
 
+    bool getTopLayerDisplayExtents(double &valueMin, double &valueMax,
+                                   double &displayMin, double &displayMax,
+                                   QString *unit = 0);
+
 protected slots:
     void playbackScheduleTimerElapsed();
 
@@ -149,9 +153,6 @@
     void updateVerticalPanner();
 
     bool canTopLayerMoveVertical();
-    bool getTopLayerDisplayExtents(double &valueMin, double &valueMax,
-                                   double &displayMin, double &displayMax,
-                                   QString *unit = 0);
     bool setTopLayerDisplayExtents(double displayMin, double displayMax);
 
     void dragTopLayer(QMouseEvent *e);