Make menu item for Add Track/Bus/VCA dialog consistent with window title
[ardour.git] / gtk2_ardour / ardour_display.h
index 90bd61b8348bc22e471ee39bba45825e593f3e1b..1b7c65480e009bf4f0cbbd8eb26639054767a9ad 100644 (file)
@@ -27,9 +27,9 @@
 #include <gtkmm/menuitem.h>
 
 
-#include "ardour_button.h"
+#include "ardour_dropdown.h"
 
-class ArdourDisplay : public ArdourButton
+class ArdourDisplay : public ArdourDropdown
 {
   public:
 
@@ -39,8 +39,6 @@ class ArdourDisplay : public ArdourButton
        boost::shared_ptr<PBD::Controllable> get_controllable() { return binding_proxy.get_controllable(); }
        void set_controllable (boost::shared_ptr<PBD::Controllable> c);
 
-       bool on_mouse_pressed (GdkEventButton*);  //mousedown will pop up our preset menu
-//     bool on_button_press_event (GdkEventButton*);
 //     bool on_button_release_event (GdkEventButton*);
        bool on_scroll_event (GdkEventScroll* ev);
 //     bool on_motion_notify_event (GdkEventMotion *ev) ;
@@ -50,13 +48,6 @@ class ArdourDisplay : public ArdourButton
 
        void controllable_changed ();
        PBD::ScopedConnection watch_connection;
-
-  private:
-       Gtk::Menu      _menu;
-
-       bool _hovering;
-       bool _grabbed;
-       float _grabbed_y;
 };
 
 #endif /* __gtk2_ardour_ardour_menu_h__ */