diff 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
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h	Mon Jan 25 15:52:26 2016 +0000
+++ b/layer/SpectrogramLayer.h	Mon Jan 25 16:16:21 2016 +0000
@@ -274,8 +274,6 @@
     bool                m_synchronous;
 
     mutable bool        m_haveDetailedScale;
-    mutable int         m_lastPaintBlockWidth;
-    mutable double      m_lastPaintTime; // seconds
 
     enum { NO_VALUE = 0 }; // colour index for unused pixels