diff widgets/Thumbwheel.h @ 382:06b5f110c5d2

* Speed up spectrogram painting by releasing mutex in FFTDataServer while calculating data prior to writing it, and by adding whole-column value query methods to FFT objects * Add paint cache to Thumbwheel -- repaints of this widget were slowing down the whole spectrogram repaint * More uses of MutexLocker (named and with debug) and more profile points * Make startup much quicker some of the time, with OSC server in place
author Chris Cannam
date Thu, 08 May 2008 14:46:22 +0000
parents c492902dba40
children 4a578a360011
line wrap: on
line diff
--- a/widgets/Thumbwheel.h	Tue Apr 29 11:07:14 2008 +0000
+++ b/widgets/Thumbwheel.h	Thu May 08 14:46:22 2008 +0000
@@ -17,6 +17,9 @@
 #define _THUMBWHEEL_H_
 
 #include <QWidget>
+#include <QImage>
+
+#include <map>
 
 class RangeMapper;
 
@@ -92,6 +95,7 @@
     float m_clickRotation;
     bool m_showTooltip;
     RangeMapper *m_rangeMapper;
+    QImage m_cache;
 };
 
 #endif