diff layer/SpectrogramLayer.h @ 273:e954c00cbe55

* proper (though ugly) handling of y coord for measure rects in scrollable layers
author Chris Cannam
date Fri, 29 Jun 2007 16:50:59 +0000
parents 4ed1446ad604
children 8acd30ed735c
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h	Fri Jun 29 13:58:08 2007 +0000
+++ b/layer/SpectrogramLayer.h	Fri Jun 29 16:50:59 2007 +0000
@@ -401,6 +401,9 @@
     mutable std::vector<MagnitudeRange> m_columnMags;
     void invalidateMagnitudes();
     bool updateViewMagnitudes(View *v) const;
+
+    virtual void updateMeasureRectYCoords(View *v, const MeasureRect &r) const;
+    virtual void setMeasureRectYCoord(View *v, MeasureRect &r, bool start, int y) const;
 };
 
 #endif