change ArdourDropdown API to allow other types of menu elements
This commit is contained in:
parent
ab2e23db9a
commit
6c8e11d3f8
@ -135,7 +135,7 @@ ArdourDropdown::clear_items ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ArdourDropdown::AddMenuElem (Menu_Helpers::MenuElem e)
|
ArdourDropdown::AddMenuElem (Menu_Helpers::Element e)
|
||||||
{
|
{
|
||||||
using namespace Menu_Helpers;
|
using namespace Menu_Helpers;
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ class ArdourDropdown : public ArdourButton
|
|||||||
bool on_scroll_event (GdkEventScroll*);
|
bool on_scroll_event (GdkEventScroll*);
|
||||||
|
|
||||||
void clear_items ();
|
void clear_items ();
|
||||||
void AddMenuElem (Gtk::Menu_Helpers::MenuElem e);
|
void AddMenuElem (Gtk::Menu_Helpers::Element e);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Gtk::Menu _menu;
|
Gtk::Menu _menu;
|
||||||
|
Loading…
Reference in New Issue
Block a user