allow the use of static_cast for MGR ghost events (speeds things up a bit).
[ardour.git] / gtk2_ardour / automation_time_axis.h
index 7852e21ed7e30e8d0dce5cdc32f0f3c3710e36bf..4be1a4c4d21a6a0d3d23835ed016daabd2480871 100644 (file)
@@ -35,6 +35,7 @@
 #include "time_axis_view.h"
 #include "automation_controller.h"
 #include "ardour_button.h"
+#include "ardour_dropdown.h"
 
 namespace ARDOUR {
        class Session;
@@ -77,7 +78,7 @@ class AutomationTimeAxisView : public TimeAxisView {
        boost::shared_ptr<ARDOUR::Stripable> stripable() const;
        ARDOUR::PresentationInfo const & presentation_info () const;
 
-        void add_automation_event (GdkEvent *, framepos_t, double, bool with_guard_points);
+       void add_automation_event (GdkEvent *, framepos_t, double, bool with_guard_points);
 
        void clear_lines ();
 
@@ -153,8 +154,7 @@ class AutomationTimeAxisView : public TimeAxisView {
        bool    first_call_to_set_height;
 
        ArdourButton       hide_button;
-       ArdourButton       auto_button;
-       Gtk::Menu*         automation_menu;
+       ArdourDropdown     auto_dropdown;
        Gtk::Label*        plugname;
        bool               plugname_packed;
 
@@ -172,7 +172,6 @@ class AutomationTimeAxisView : public TimeAxisView {
 
        void clear_clicked ();
        void hide_clicked ();
-       void auto_clicked ();
 
        virtual bool can_edit_name() const {return false;}