diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-05-05 20:31:56 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-05-05 20:31:56 +0000 |
commit | 2e78bf8ceb7612d305c90de49595046def6cf97d (patch) | |
tree | 691d92cf16907319acc2db53ecd7a24446e1fb2c /gtk2_ardour/editor.h | |
parent | 20157d04f8a5f8f7e24bd450f3a2961b4e251570 (diff) |
fixes for 2 of 3 "fit-tracks" problems; new feature: 12 "view-states" and bindings etc. to support them
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3313 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r-- | gtk2_ardour/editor.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index fef19140e1..91677acb1f 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -372,6 +372,9 @@ class Editor : public PublicEditor void show_rhythm_ferret(); + void goto_visual_state (uint32_t); + void save_visual_state (uint32_t); + protected: void map_transport_state (); void map_position_change (nframes_t); @@ -407,6 +410,12 @@ class Editor : public PublicEditor void use_visual_state (VisualState&); bool no_save_visual; void swap_visual_state (); + + std::vector<VisualState*> visual_states; + sigc::connection visual_state_op_connection; + void start_visual_state_op (uint32_t n); + void cancel_visual_state_op (uint32_t n); + bool end_visual_state_op (uint32_t n); nframes_t leftmost_frame; double frames_per_unit; |