summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_dropdown.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2015-10-11 01:32:13 +0200
committerPaul Davis <paul@linuxaudiosystems.com>2015-12-02 15:02:47 -0500
commite50e50c0f96b2a613209e48d99c2618bb52279f9 (patch)
treeaee8849dbb97e2c056dfb5811ab73ad8b1353c99 /gtk2_ardour/ardour_dropdown.h
parent535d25c1419a6a24294e2d494dd678997fd0ae22 (diff)
Disable scrolling in the dropdown menus of midi region heads.
Instead pass it to the canvas as proposed by x42 in #6143.
Diffstat (limited to 'gtk2_ardour/ardour_dropdown.h')
-rw-r--r--gtk2_ardour/ardour_dropdown.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_dropdown.h b/gtk2_ardour/ardour_dropdown.h
index 7069768610..638f54c8b9 100644
--- a/gtk2_ardour/ardour_dropdown.h
+++ b/gtk2_ardour/ardour_dropdown.h
@@ -42,8 +42,12 @@ class ArdourDropdown : public ArdourButton
void clear_items ();
void AddMenuElem (Gtk::Menu_Helpers::Element e);
+ void disable_scrolling();
+
private:
Gtk::Menu _menu;
+
+ bool _scrolling_disabled;
};
#endif /* __gtk2_ardour_ardour_dropdown_h__ */