Mercurial > hg > svgui
diff view/ViewManager.cpp @ 314:7b96a3261e1c
* "Align mode"
author | Chris Cannam |
---|---|
date | Tue, 16 Oct 2007 18:42:51 +0000 |
parents | 5636eeacc467 |
children | 4f4f38a11cd2 |
line wrap: on
line diff
--- a/view/ViewManager.cpp Tue Oct 16 15:13:41 2007 +0000 +++ b/view/ViewManager.cpp Tue Oct 16 18:42:51 2007 +0000 @@ -40,6 +40,7 @@ m_playLoopMode(false), m_playSelectionMode(false), m_playSoloMode(false), + m_alignMode(false), m_overlayMode(StandardOverlays), m_zoomWheelsEnabled(true), m_lightPalette(QApplication::palette()), @@ -358,6 +359,18 @@ } } +void +ViewManager::setAlignMode(bool mode) +{ + if (m_alignMode != mode) { + + m_alignMode = mode; + + emit alignModeChanged(); + emit alignModeChanged(mode); + } +} + size_t ViewManager::getPlaybackSampleRate() const {