diff framework/MainWindowBase.cpp @ 162:c17284397aa9

* Handle zero-velocity note ons as well as note offs (can't believe I fell for that one) * Add Peek Left / Peek Right (alt+left/right) and change peek-drag (i.e. dragging without moving playback pointer or other panes) from ctrl+drag to alt+drag for symmetry
author Chris Cannam
date Thu, 26 Feb 2009 10:49:08 +0000
parents f90e277d2876
children 07d8dac78edc
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp	Wed Feb 25 11:15:22 2009 +0000
+++ b/framework/MainWindowBase.cpp	Thu Feb 26 10:49:08 2009 +0000
@@ -1867,6 +1867,13 @@
 }
 
 void
+MainWindowBase::peekLeft()
+{
+    Pane *currentPane = m_paneStack->getCurrentPane();
+    if (currentPane) currentPane->scroll(false, false, false);
+}
+
+void
 MainWindowBase::scrollRight()
 {
     Pane *currentPane = m_paneStack->getCurrentPane();
@@ -1881,6 +1888,13 @@
 }
 
 void
+MainWindowBase::peekRight()
+{
+    Pane *currentPane = m_paneStack->getCurrentPane();
+    if (currentPane) currentPane->scroll(true, false, false);
+}
+
+void
 MainWindowBase::showNoOverlays()
 {
     m_viewManager->setOverlayMode(ViewManager::NoOverlays);