X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fardour_dropdown.h;h=706976861003aa0a28e88219fb1f6725e7123b62;hb=6ccffbaf0937c7814f3c49510859d13bc033df99;hp=b9144c97f797f2e23f694b7c76efef57512fa7fa;hpb=6bcee4e9c83f8b48e75058a61cae0ff351800b67;p=ardour.git diff --git a/gtk2_ardour/ardour_dropdown.h b/gtk2_ardour/ardour_dropdown.h index b9144c97f7..7069768610 100644 --- a/gtk2_ardour/ardour_dropdown.h +++ b/gtk2_ardour/ardour_dropdown.h @@ -36,12 +36,14 @@ class ArdourDropdown : public ArdourButton ArdourDropdown (Element e = default_elements); virtual ~ArdourDropdown (); - bool on_mouse_pressed (GdkEventButton*); + bool on_button_press_event (GdkEventButton*); + bool on_scroll_event (GdkEventScroll*); - void AddMenuElem (Gtk::Menu_Helpers::MenuElem e); + void clear_items (); + void AddMenuElem (Gtk::Menu_Helpers::Element e); private: Gtk::Menu _menu; }; -#endif /* __gtk2_ardour_ardour_menu_h__ */ +#endif /* __gtk2_ardour_ardour_dropdown_h__ */