diff layer/TimeRulerLayer.h @ 1341:ab2cafd3a7cb zoom

Fixes for TimeRuler spacing and for the boundaries of the WaveformLayer paint area
author Chris Cannam
date Thu, 27 Sep 2018 15:20:25 +0100
parents e3c7da3d896e
children 4c28e3302045
line wrap: on
line diff
--- a/layer/TimeRulerLayer.h	Wed Sep 26 13:03:16 2018 +0100
+++ b/layer/TimeRulerLayer.h	Thu Sep 27 15:20:25 2018 +0100
@@ -68,7 +68,8 @@
 
     virtual int getDefaultColourHint(bool dark, bool &impose);
 
-    int getMajorTickSpacing(LayerGeometryProvider *, bool &quarterTicks) const;
+    int getMajorTickUSec(LayerGeometryProvider *, bool &quarterTicks) const;
+    int getXForUSec(LayerGeometryProvider *, double usec) const;
 };
 
 #endif