Mercurial > hg > svgui
comparison view/ViewManager.h @ 314:7b96a3261e1c
* "Align mode"
author | Chris Cannam |
---|---|
date | Tue, 16 Oct 2007 18:42:51 +0000 |
parents | 5636eeacc467 |
children | 4f4f38a11cd2 |
comparison
equal
deleted
inserted
replaced
313:1517c76cd678 | 314:7b96a3261e1c |
---|---|
110 void setPlaySelectionMode(bool on); | 110 void setPlaySelectionMode(bool on); |
111 | 111 |
112 bool getPlaySoloMode() const { return m_playSoloMode; } | 112 bool getPlaySoloMode() const { return m_playSoloMode; } |
113 void setPlaySoloMode(bool on); | 113 void setPlaySoloMode(bool on); |
114 | 114 |
115 bool getAlignMode() const { return m_alignMode; } | |
116 void setAlignMode(bool on); | |
117 | |
115 /** | 118 /** |
116 * The sample rate that is used for playback. This is usually the | 119 * The sample rate that is used for playback. This is usually the |
117 * rate of the main model, but not always. Models whose rates | 120 * rate of the main model, but not always. Models whose rates |
118 * differ from this will play back at the wrong speed -- there is | 121 * differ from this will play back at the wrong speed -- there is |
119 * no per-model resampler. | 122 * no per-model resampler. |
208 | 211 |
209 /** Emitted when the play solo mode has been changed. */ | 212 /** Emitted when the play solo mode has been changed. */ |
210 void playSoloModeChanged(); | 213 void playSoloModeChanged(); |
211 void playSoloModeChanged(bool); | 214 void playSoloModeChanged(bool); |
212 | 215 |
216 /** Emitted when the alignment mode has been changed. */ | |
217 void alignModeChanged(); | |
218 void alignModeChanged(bool); | |
219 | |
213 /** Emitted when the overlay mode has been changed. */ | 220 /** Emitted when the overlay mode has been changed. */ |
214 void overlayModeChanged(); | 221 void overlayModeChanged(); |
215 | 222 |
216 /** Emitted when the zoom wheels have been toggled. */ | 223 /** Emitted when the zoom wheels have been toggled. */ |
217 void zoomWheelsEnabledChanged(); | 224 void zoomWheelsEnabledChanged(); |
246 ToolMode m_toolMode; | 253 ToolMode m_toolMode; |
247 | 254 |
248 bool m_playLoopMode; | 255 bool m_playLoopMode; |
249 bool m_playSelectionMode; | 256 bool m_playSelectionMode; |
250 bool m_playSoloMode; | 257 bool m_playSoloMode; |
258 bool m_alignMode; | |
251 | 259 |
252 void setSelections(const MultiSelection &ms); | 260 void setSelections(const MultiSelection &ms); |
253 void signalSelectionChange(); | 261 void signalSelectionChange(); |
254 | 262 |
255 class SetSelectionCommand : public Command | 263 class SetSelectionCommand : public Command |