diff base/Layer.h @ 117:c30728d5625c sv1-v0.9rc1

* Make vertical scale alignment modes work in note layer as well as time-value layer, and several significant fixes to it * Make it possible to draw notes properly on the note layer * Show units (and frequencies etc in note layer's case) in the time-value and note layer description boxes * Minor fix to item edit dialog layout * Some minor menu rearrangement * Comment out a lot of debug output * Add SV website and reference URLs to Help menu, and add code to (attempt to) open them in the user's preferred browser
author Chris Cannam
date Fri, 12 May 2006 14:40:43 +0000
parents c983dda79f72
children 53dfcd7db419
line wrap: on
line diff
--- a/base/Layer.h	Thu May 11 15:02:14 2006 +0000
+++ b/base/Layer.h	Fri May 12 14:40:43 2006 +0000
@@ -232,7 +232,12 @@
 
     virtual bool needsTextLabelHeight() const { return false; }
 
-    virtual bool getValueExtents(float &min, float &max, QString &unit) const = 0;
+    virtual bool getValueExtents(float &min, float &max,
+                                 bool &logarithmic, QString &unit) const = 0;
+
+    virtual bool getDisplayExtents(float &min, float &max) const {
+        return false;
+    }
 
 public slots:
     void showLayer(View *, bool show);