Add editor selection state to session history via a SelectionMemento, which
authornick_m <mainsbridge@gmail.com>
Sun, 14 Dec 2014 13:13:38 +0000 (00:13 +1100)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 18 Dec 2014 16:03:10 +0000 (11:03 -0500)
commit9af9e17adc96f7c27ce0e1651d6949393e787636
tree395fb4ddffd3a66ba0e8021bd7ec1de137c315d2
parent2c8a769aaef7465f170edf37982733fd19d89c0e
Add editor selection state to session history via a SelectionMemento, which
combines selection related editor properties with the current editor selection.

The related editor properties are:
mouse mode,
zoom setting,
left frame of the canvas,
y origin of the canvas.

Selection state now includes region views (storing the underlying region id)
and time.

This patch also fixes a region mute undo bug.
24 files changed:
gtk2_ardour/audio_region_view.cc
gtk2_ardour/automation_line.cc
gtk2_ardour/automation_region_view.cc
gtk2_ardour/automation_time_axis.cc
gtk2_ardour/crossfade_edit.cc
gtk2_ardour/editor.cc
gtk2_ardour/editor.h
gtk2_ardour/editor_drag.cc
gtk2_ardour/editor_locations.cc
gtk2_ardour/editor_markers.cc
gtk2_ardour/editor_mouse.cc
gtk2_ardour/editor_ops.cc
gtk2_ardour/location_ui.cc
gtk2_ardour/midi_region_view.cc
gtk2_ardour/public_editor.h
gtk2_ardour/region_editor.cc
gtk2_ardour/region_gain_line.cc
gtk2_ardour/region_selection.cc
gtk2_ardour/region_selection.h
gtk2_ardour/rhythm_ferret.cc
gtk2_ardour/selection.cc
gtk2_ardour/selection_memento.cc [new file with mode: 0644]
gtk2_ardour/selection_memento.h [new file with mode: 0644]
gtk2_ardour/wscript