Mercurial > hg > svgui
diff layer/SpectrogramLayer.h @ 330:846746e4e865 spectrogram-cache-rejig
* cache bits & bobs (wholly broken at the moment)
author | Chris Cannam |
---|---|
date | Fri, 16 Nov 2007 17:15:30 +0000 |
parents | bbc9666cb961 |
children | 6440e280122e |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h Wed Nov 14 16:23:17 2007 +0000 +++ b/layer/SpectrogramLayer.h Fri Nov 16 17:15:30 2007 +0000 @@ -283,10 +283,9 @@ struct PixmapCache { QMutex mutex; - QImage pixmap; + QImage *pixmap; QRect validArea; long startFrame; - size_t zoomLevel; }; typedef std::map<const View *, PixmapCache *> ViewPixmapCache; void invalidatePixmapCaches();