From 05dfc1fdc1e0c0e41dadfacbfb5c1076f8a7364a Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 10 Mar 2017 23:51:39 +0100 Subject: Update color stripable color-picker(s) * consistent behavior (Route, VCA) * non-modal * a single color picker for each RouteUI/VCA at most * fix bug: VCA picker staying around even when VCA was deleted --- gtk2_ardour/route_ui.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gtk2_ardour/route_ui.h') diff --git a/gtk2_ardour/route_ui.h b/gtk2_ardour/route_ui.h index 6f53b7232d..7e4dd2e968 100644 --- a/gtk2_ardour/route_ui.h +++ b/gtk2_ardour/route_ui.h @@ -26,6 +26,7 @@ #include "pbd/signals.h" #include +#include #include "gtkmm2ext/widget_state.h" @@ -40,6 +41,7 @@ #include "axis_view.h" #include "selectable.h" +#include "stripable_colorpicker.h" #include "window_manager.h" namespace ARDOUR { @@ -336,6 +338,8 @@ private: std::vector _invert_buttons; Gtk::Menu* _invert_menu; + StripableColorDialog _color_picker; + static void set_showing_sends_to (boost::shared_ptr); static boost::weak_ptr _showing_sends_to; -- cgit v1.2.3