mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
refactor horizontal scrolling to use same code/modifiers in Editor and PianorollMidiView
This commit is contained in:
parent
3a337b97ea
commit
71ff8ba3e0
5 changed files with 69 additions and 60 deletions
|
|
@ -123,6 +123,11 @@ class EditingContext : public ARDOUR::SessionHandlePtr, public AxisViewProvider,
|
|||
virtual void stop_canvas_autoscroll () = 0;
|
||||
virtual bool autoscroll_active() const = 0;
|
||||
|
||||
void scroll_left_step ();
|
||||
void scroll_right_step ();
|
||||
void scroll_left_half_page ();
|
||||
void scroll_right_half_page ();
|
||||
|
||||
virtual void redisplay_grid (bool immediate_redraw) = 0;
|
||||
virtual Temporal::timecnt_t get_nudge_distance (Temporal::timepos_t const & pos, Temporal::timecnt_t& next) const = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue