comparison layer/SpectrogramLayer.h @ 29:9f55af9676b4

* Add ffwd/rewind * Abstract out MultiSelection
author Chris Cannam
date Wed, 08 Feb 2006 17:59:16 +0000
parents 202d1dca67d2
children ea6fe8cfcdd5
comparison
equal deleted inserted replaced
28:202d1dca67d2 29:9f55af9676b4
137 137
138 virtual QString toXmlString(QString indent = "", 138 virtual QString toXmlString(QString indent = "",
139 QString extraAttributes = "") const; 139 QString extraAttributes = "") const;
140 140
141 void setProperties(const QXmlAttributes &attributes); 141 void setProperties(const QXmlAttributes &attributes);
142
143 void setLayerDormant();
142 144
143 protected slots: 145 protected slots:
144 void cacheInvalid(); 146 void cacheInvalid();
145 void cacheInvalid(size_t startFrame, size_t endFrame); 147 void cacheInvalid(size_t startFrame, size_t endFrame);
146 148
191 193
192 CacheFillThread *m_fillThread; 194 CacheFillThread *m_fillThread;
193 QTimer *m_updateTimer; 195 QTimer *m_updateTimer;
194 size_t m_lastFillExtent; 196 size_t m_lastFillExtent;
195 bool m_cachedInitialVisibleArea; 197 bool m_cachedInitialVisibleArea;
198 mutable bool m_dormant;
196 bool m_exiting; 199 bool m_exiting;
197 200
198 void setCacheColourmap(); 201 void setCacheColourmap();
199 void rotateCacheColourmap(int distance); 202 void rotateCacheColourmap(int distance);
200 203