Mercurial > hg > svgui
comparison 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 |
comparison
equal
deleted
inserted
replaced
272:87e4c880b4c8 | 273:e954c00cbe55 |
---|---|
399 typedef std::map<const View *, MagnitudeRange> ViewMagMap; | 399 typedef std::map<const View *, MagnitudeRange> ViewMagMap; |
400 mutable ViewMagMap m_viewMags; | 400 mutable ViewMagMap m_viewMags; |
401 mutable std::vector<MagnitudeRange> m_columnMags; | 401 mutable std::vector<MagnitudeRange> m_columnMags; |
402 void invalidateMagnitudes(); | 402 void invalidateMagnitudes(); |
403 bool updateViewMagnitudes(View *v) const; | 403 bool updateViewMagnitudes(View *v) const; |
404 | |
405 virtual void updateMeasureRectYCoords(View *v, const MeasureRect &r) const; | |
406 virtual void setMeasureRectYCoord(View *v, MeasureRect &r, bool start, int y) const; | |
404 }; | 407 }; |
405 | 408 |
406 #endif | 409 #endif |