From 3868c5b4a4a4a41e7568da039345472ed4da71f0 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 7 Apr 2016 18:36:04 +0200 Subject: GUI support for plugin port bypass connections --- gtk2_ardour/processor_box.h | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) (limited to 'gtk2_ardour/processor_box.h') diff --git a/gtk2_ardour/processor_box.h b/gtk2_ardour/processor_box.h index 8336864a6c..de3eaf03ab 100644 --- a/gtk2_ardour/processor_box.h +++ b/gtk2_ardour/processor_box.h @@ -290,23 +290,27 @@ private: const ARDOUR::ChanCount&, const ARDOUR::ChanCount&, const ARDOUR::ChanMapping&, + const ARDOUR::ChanMapping&, const ARDOUR::ChanMapping&); void set_feed ( const ARDOUR::ChanCount&, const ARDOUR::ChanCount&, + const ARDOUR::ChanMapping&, const ARDOUR::ChanMapping&); void copy_state (const RoutingIcon& other) { - _in = other._in; - _out = other._out; - _sources = other._sources; - _sinks = other._sinks; - _in_map = other._in_map; - _out_map = other._out_map; - _f_out = other._f_out; - _f_out_map = other._f_out_map; - _f_sources = other._f_sources; - _feed = other._feed; + _in = other._in; + _out = other._out; + _sources = other._sources; + _sinks = other._sinks; + _in_map = other._in_map; + _out_map = other._out_map; + _thru_map = other._thru_map; + _f_out = other._f_out; + _f_out_map = other._f_out_map; + _f_thru_map = other._f_thru_map; + _f_sources = other._f_sources; + _feed = other._feed; } void unset_feed () { _feed = false ; } @@ -318,6 +322,7 @@ private: static void draw_gnd (cairo_t*, double, double, bool); static void draw_X (cairo_t*, double, double, bool); static void draw_sidechain (cairo_t*, double, double, bool); + static void draw_thru (cairo_t*, double, double, bool); private: bool on_expose_event (GdkEventExpose *); @@ -330,8 +335,10 @@ private: ARDOUR::ChanCount _sinks; ARDOUR::ChanMapping _in_map; ARDOUR::ChanMapping _out_map; + ARDOUR::ChanMapping _thru_map; ARDOUR::ChanCount _f_out; ARDOUR::ChanMapping _f_out_map; + ARDOUR::ChanMapping _f_thru_map; ARDOUR::ChanCount _f_sources; bool _feed; bool _input; -- cgit v1.2.3