Mercurial > hg > svcore
comparison base/ViewManager.cpp @ 20:742e6882e187
* Refactor sparse models. Previously the 1D and time-value models duplicated
a lot of code; now there is a base class (SparseModel) templated on the
stored point type, and the subclasses define point types with the necessary
characteristics.
* Add NoteModel, a new SparseModel subclass.
* Reorganise local feature description display. Instead of asking the layer
to draw its own, just query it for a textual description and draw that in
Pane. Greatly simplifies this part of the layer code.
* Add local feature descriptions to colour 3D plot and waveform layers.
* Add pitch in MIDI-pitch-and-cents to spectrogram layer.
* Give AudioGenerator its own mutex to shorten lock times in CallbackPlaySource.
* Minor adjustments to layers menu &c
author | Chris Cannam |
---|---|
date | Thu, 02 Feb 2006 16:10:19 +0000 |
parents | 4563a72c1d8b |
children | bb9291d84810 |
comparison
equal
deleted
inserted
replaced
19:a7ed14263fe4 | 20:742e6882e187 |
---|---|
23 m_lastLeft(0), | 23 m_lastLeft(0), |
24 m_lastRight(0), | 24 m_lastRight(0), |
25 m_inProgressExclusive(true), | 25 m_inProgressExclusive(true), |
26 m_toolMode(NavigateMode), | 26 m_toolMode(NavigateMode), |
27 m_playLoopMode(false), | 27 m_playLoopMode(false), |
28 m_playSelectionMode(true) | 28 m_playSelectionMode(false) |
29 { | 29 { |
30 connect(this, | 30 connect(this, |
31 SIGNAL(centreFrameChanged(void *, unsigned long, bool)), | 31 SIGNAL(centreFrameChanged(void *, unsigned long, bool)), |
32 SLOT(considerSeek(void *, unsigned long, bool))); | 32 SLOT(considerSeek(void *, unsigned long, bool))); |
33 | 33 |