Mercurial > hg > svgui
comparison layer/SpectrogramLayer.h @ 1025:c02de0e34233 spectrogram-minor-refactor
Make paint method do its own timing and abandon if it's taking too long (still needs some work on queueing correct repaints of the remainder)
author | Chris Cannam |
---|---|
date | Mon, 25 Jan 2016 16:16:21 +0000 |
parents | 3bce4c45b681 |
children | 53110ace211f |
comparison
equal
deleted
inserted
replaced
1024:3bce4c45b681 | 1025:c02de0e34233 |
---|---|
272 Normalization m_normalization; | 272 Normalization m_normalization; |
273 int m_lastEmittedZoomStep; | 273 int m_lastEmittedZoomStep; |
274 bool m_synchronous; | 274 bool m_synchronous; |
275 | 275 |
276 mutable bool m_haveDetailedScale; | 276 mutable bool m_haveDetailedScale; |
277 mutable int m_lastPaintBlockWidth; | |
278 mutable double m_lastPaintTime; // seconds | |
279 | 277 |
280 enum { NO_VALUE = 0 }; // colour index for unused pixels | 278 enum { NO_VALUE = 0 }; // colour index for unused pixels |
281 | 279 |
282 class Palette | 280 class Palette |
283 { | 281 { |