diff view/ViewManager.h @ 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.h	Tue Oct 16 15:13:41 2007 +0000
+++ b/view/ViewManager.h	Tue Oct 16 18:42:51 2007 +0000
@@ -112,6 +112,9 @@
     bool getPlaySoloMode() const { return m_playSoloMode; }
     void setPlaySoloMode(bool on);
 
+    bool getAlignMode() const { return m_alignMode; }
+    void setAlignMode(bool on);
+
     /**
      * The sample rate that is used for playback.  This is usually the
      * rate of the main model, but not always.  Models whose rates
@@ -210,6 +213,10 @@
     void playSoloModeChanged();
     void playSoloModeChanged(bool);
 
+    /** Emitted when the alignment mode has been changed. */
+    void alignModeChanged();
+    void alignModeChanged(bool);
+
     /** Emitted when the overlay mode has been changed. */
     void overlayModeChanged();
 
@@ -248,6 +255,7 @@
     bool m_playLoopMode;
     bool m_playSelectionMode;
     bool m_playSoloMode;
+    bool m_alignMode;
 
     void setSelections(const MultiSelection &ms);
     void signalSelectionChange();