Mercurial > hg > svgui
comparison layer/SpectrogramLayer.h @ 122:71992cee2ece
* Finish preferences dialog (as far as it's going at the moment) and connect it up
* Fix Parzen window shape (was triangular!)
* Various fixes to spectrogram draw coordinates in smoothing mode etc
* Draw C keys in grey on the piano
| author | Chris Cannam |
|---|---|
| date | Fri, 21 Jul 2006 16:03:42 +0000 |
| parents | 7363cacf7de0 |
| children | 33929e0c3c6b |
comparison
equal
deleted
inserted
replaced
| 121:7363cacf7de0 | 122:71992cee2ece |
|---|---|
| 18 | 18 |
| 19 #include "base/Layer.h" | 19 #include "base/Layer.h" |
| 20 #include "base/Window.h" | 20 #include "base/Window.h" |
| 21 #include "base/RealTime.h" | 21 #include "base/RealTime.h" |
| 22 #include "base/Thread.h" | 22 #include "base/Thread.h" |
| 23 #include "base/PropertyContainer.h" | |
| 23 #include "model/PowerOfSqrtTwoZoomConstraint.h" | 24 #include "model/PowerOfSqrtTwoZoomConstraint.h" |
| 24 #include "model/DenseTimeValueModel.h" | 25 #include "model/DenseTimeValueModel.h" |
| 25 | 26 |
| 26 #include "fileio/FFTFuzzyAdapter.h" | 27 #include "fileio/FFTFuzzyAdapter.h" |
| 27 | 28 |
| 209 virtual bool isLayerScrollable(const View *v) const { return false; } | 210 virtual bool isLayerScrollable(const View *v) const { return false; } |
| 210 | 211 |
| 211 protected slots: | 212 protected slots: |
| 212 void cacheInvalid(); | 213 void cacheInvalid(); |
| 213 void cacheInvalid(size_t startFrame, size_t endFrame); | 214 void cacheInvalid(size_t startFrame, size_t endFrame); |
| 215 | |
| 216 void preferenceChanged(PropertyContainer::PropertyName name); | |
| 214 | 217 |
| 215 void fillTimerTimedOut(); | 218 void fillTimerTimedOut(); |
| 216 | 219 |
| 217 protected: | 220 protected: |
| 218 const DenseTimeValueModel *m_model; // I do not own this | 221 const DenseTimeValueModel *m_model; // I do not own this |
