diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2014-08-27 11:53:53 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2014-08-27 11:53:53 -0500 |
commit | a52e18c7e8cc9e4869c95ce14cf29a280aa1ec3f (patch) | |
tree | 7b38e67927166fa0bf1887cd5e55e7e5ce392544 /gtk2_ardour/automation_time_axis.h | |
parent | b4386a6e00b22063146ce45b76b8b00b92ac31b2 (diff) |
use ArdourButtons on the automation time axis
Diffstat (limited to 'gtk2_ardour/automation_time_axis.h')
-rw-r--r-- | gtk2_ardour/automation_time_axis.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk2_ardour/automation_time_axis.h b/gtk2_ardour/automation_time_axis.h index c169cb59d0..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; @@ -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); |