X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fautomation_time_axis.h;h=a468c12459a7962d8197be5f4d040f72761719b7;hb=0ef661305daf1e2a451f6ba430c9e882ad6bcb4f;hp=343c6b5e5cd2d854bf418a4b073f63a52970ffda;hpb=37b1f5017e904005fae6b815b1519b3fa595d8d3;p=ardour.git diff --git a/gtk2_ardour/automation_time_axis.h b/gtk2_ardour/automation_time_axis.h index 343c6b5e5c..a468c12459 100644 --- a/gtk2_ardour/automation_time_axis.h +++ b/gtk2_ardour/automation_time_axis.h @@ -34,6 +34,7 @@ #include "time_axis_view.h" #include "automation_controller.h" +#include "ardour_button.h" namespace ARDOUR { class Session; @@ -72,7 +73,7 @@ class AutomationTimeAxisView : public TimeAxisView { void set_samples_per_pixel (double); std::string name() const { return _name; } - void add_automation_event (GdkEvent *, framepos_t, double); + void add_automation_event (GdkEvent *, framepos_t, double, bool with_guard_points); void clear_lines (); @@ -143,8 +144,8 @@ class AutomationTimeAxisView : public TimeAxisView { bool ignore_toggle; bool first_call_to_set_height; - Gtk::Button hide_button; - Gtk::Button auto_button; + ArdourButton hide_button; + ArdourButton auto_button; Gtk::Menu* automation_menu; Gtk::Label* plugname; bool plugname_packed; @@ -165,6 +166,8 @@ class AutomationTimeAxisView : public TimeAxisView { void hide_clicked (); void auto_clicked (); + virtual bool can_edit_name() const {return false;} + void build_display_menu (); void cut_copy_clear_one (AutomationLine&, Selection&, Editing::CutCopyOp);