Mercurial > hg > svapp
diff framework/MainWindowBase.h @ 357:337cdb5e5b06 tonioni
Rework menu entries & shortcuts: left/right now move the playhead a fixed amount, ctrl+left/right still move it note-by-note, and now alt+left/right scroll without moving playhead
author | Chris Cannam |
---|---|
date | Thu, 12 Jun 2014 14:24:48 +0100 |
parents | 4969e7921931 |
children | 1f2a4ad79967 |
line wrap: on
line diff
--- a/framework/MainWindowBase.h Tue Jun 03 11:14:56 2014 +0100 +++ b/framework/MainWindowBase.h Thu Jun 12 14:24:48 2014 +0100 @@ -112,6 +112,10 @@ /// Implementation of FrameTimer interface method virtual unsigned long getFrame() const; + void setDefaultFfwdRwdStep(RealTime step) { + m_defaultFfwdRwdStep = step; + } + signals: // Used to toggle the availability of menu actions void canAddPane(bool); @@ -331,6 +335,8 @@ bool m_initialDarkBackground; + RealTime m_defaultFfwdRwdStep; + WaveFileModel *getMainModel(); const WaveFileModel *getMainModel() const; void createDocument();