Mercurial > hg > svapp
comparison 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 |
comparison
equal
deleted
inserted
replaced
161:f90e277d2876 | 162:c17284397aa9 |
---|---|
1865 Pane *currentPane = m_paneStack->getCurrentPane(); | 1865 Pane *currentPane = m_paneStack->getCurrentPane(); |
1866 if (currentPane) currentPane->scroll(false, true); | 1866 if (currentPane) currentPane->scroll(false, true); |
1867 } | 1867 } |
1868 | 1868 |
1869 void | 1869 void |
1870 MainWindowBase::peekLeft() | |
1871 { | |
1872 Pane *currentPane = m_paneStack->getCurrentPane(); | |
1873 if (currentPane) currentPane->scroll(false, false, false); | |
1874 } | |
1875 | |
1876 void | |
1870 MainWindowBase::scrollRight() | 1877 MainWindowBase::scrollRight() |
1871 { | 1878 { |
1872 Pane *currentPane = m_paneStack->getCurrentPane(); | 1879 Pane *currentPane = m_paneStack->getCurrentPane(); |
1873 if (currentPane) currentPane->scroll(true, false); | 1880 if (currentPane) currentPane->scroll(true, false); |
1874 } | 1881 } |
1876 void | 1883 void |
1877 MainWindowBase::jumpRight() | 1884 MainWindowBase::jumpRight() |
1878 { | 1885 { |
1879 Pane *currentPane = m_paneStack->getCurrentPane(); | 1886 Pane *currentPane = m_paneStack->getCurrentPane(); |
1880 if (currentPane) currentPane->scroll(true, true); | 1887 if (currentPane) currentPane->scroll(true, true); |
1888 } | |
1889 | |
1890 void | |
1891 MainWindowBase::peekRight() | |
1892 { | |
1893 Pane *currentPane = m_paneStack->getCurrentPane(); | |
1894 if (currentPane) currentPane->scroll(true, false, false); | |
1881 } | 1895 } |
1882 | 1896 |
1883 void | 1897 void |
1884 MainWindowBase::showNoOverlays() | 1898 MainWindowBase::showNoOverlays() |
1885 { | 1899 { |