Mercurial > hg > svgui
comparison layer/SpectrogramLayer.h @ 94:c7ade7ea3cfe
* It turns out we can be more efficient in the spectrogram repaints by
marking the spectrogram layer as non-scrollable, and using the spectrogram
cache alone instead of both spectrogram and view caches.
author | Chris Cannam |
---|---|
date | Tue, 09 May 2006 12:43:55 +0000 |
parents | 23d1e37bbfb4 |
children | 1b3996a86cfa |
comparison
equal
deleted
inserted
replaced
93:05c41701dc6c | 94:c7ade7ea3cfe |
---|---|
190 QString extraAttributes = "") const; | 190 QString extraAttributes = "") const; |
191 | 191 |
192 void setProperties(const QXmlAttributes &attributes); | 192 void setProperties(const QXmlAttributes &attributes); |
193 | 193 |
194 virtual void setLayerDormant(const View *v, bool dormant); | 194 virtual void setLayerDormant(const View *v, bool dormant); |
195 | |
196 virtual bool isLayerScrollable(const View *v) const { return false; } | |
195 | 197 |
196 protected slots: | 198 protected slots: |
197 void cacheInvalid(); | 199 void cacheInvalid(); |
198 void cacheInvalid(size_t startFrame, size_t endFrame); | 200 void cacheInvalid(size_t startFrame, size_t endFrame); |
199 | 201 |