diff options
author | Sampo Savolainen <v2@iki.fi> | 2006-07-11 20:43:39 +0000 |
---|---|---|
committer | Sampo Savolainen <v2@iki.fi> | 2006-07-11 20:43:39 +0000 |
commit | f0484eee892027e50c2132efbaddbf974147345d (patch) | |
tree | ca24b21aeca7d4e5b3617c97a207386c9c2c21e1 /gtk2_ardour/pan_automation_time_axis.h | |
parent | f535b0f4913a9c0b31ca3b21bd717c367676ebfc (diff) |
Make it possible to edit multiple pan automation lines
git-svn-id: svn://localhost/ardour2/trunk@679 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/pan_automation_time_axis.h')
-rw-r--r-- | gtk2_ardour/pan_automation_time_axis.h | 39 |
1 files changed, 24 insertions, 15 deletions
diff --git a/gtk2_ardour/pan_automation_time_axis.h b/gtk2_ardour/pan_automation_time_axis.h index b35ee67735..638c17cb3b 100644 --- a/gtk2_ardour/pan_automation_time_axis.h +++ b/gtk2_ardour/pan_automation_time_axis.h @@ -4,27 +4,36 @@ #include "canvas.h" #include "automation_time_axis.h" +#include <gtkmm/comboboxtext.h> + namespace ARDOUR { class Redirect; } class PanAutomationTimeAxisView : public AutomationTimeAxisView { - public: - PanAutomationTimeAxisView (ARDOUR::Session&, - ARDOUR::Route&, - PublicEditor&, - TimeAxisView& parent_axis, - ArdourCanvas::Canvas& canvas, - std::string name); - - ~PanAutomationTimeAxisView(); - - void add_automation_event (ArdourCanvas::Item *item, GdkEvent *event, jack_nframes_t, double); - - private: - void automation_changed (); - void set_automation_state (ARDOUR::AutoState); + public: + PanAutomationTimeAxisView (ARDOUR::Session&, + ARDOUR::Route&, + PublicEditor&, + TimeAxisView& parent_axis, + ArdourCanvas::Canvas& canvas, + std::string name); + + ~PanAutomationTimeAxisView(); + + void add_automation_event (ArdourCanvas::Item *item, GdkEvent *event, jack_nframes_t, double); + + void clear_lines (); + void add_line (AutomationLine&); + void set_height (TimeAxisView::TrackHeight); + + protected: + Gtk::ComboBoxText multiline_selector; + + private: + void automation_changed (); + void set_automation_state (ARDOUR::AutoState); }; #endif /* __ardour_gtk_pan_automation_time_axis_h__ */ |