diff layer/SpectrumLayer.h @ 277:8acd30ed735c

* Fix up and simplify the LayerTreeModel, removing a horrible memory leak * Move phase-unwrapped frequency estimation from SpectrogramLayer to FFTDataServer * Make the spectrum show peak phase-unwrapped frequencies as well (still needs work) * Start adding piano keyboard horizontal scale to spectrum * Debug output for id3 tags
author Chris Cannam
date Tue, 03 Jul 2007 12:46:18 +0000
parents bbe57afe9d7d
children 1284955856ab
line wrap: on
line diff
--- a/layer/SpectrumLayer.h	Mon Jul 02 14:58:34 2007 +0000
+++ b/layer/SpectrumLayer.h	Tue Jul 03 12:46:18 2007 +0000
@@ -46,6 +46,10 @@
 
     virtual void paint(View *v, QPainter &paint, QRect rect) const;
 
+    virtual VerticalPosition getPreferredFrameCountPosition() const {
+	return PositionTop;
+    }
+
     virtual PropertyList getProperties() const;
     virtual QString getPropertyLabel(const PropertyName &) const;
     virtual PropertyType getPropertyType(const PropertyName &) const;