summaryrefslogtreecommitdiff
path: root/gtk2_ardour/processor_box.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-07 18:36:04 +0200
committerRobin Gareus <robin@gareus.org>2016-04-07 18:36:04 +0200
commit3868c5b4a4a4a41e7568da039345472ed4da71f0 (patch)
tree75b87e09186fa2348ed49d0b2425a4cf4ac491c3 /gtk2_ardour/processor_box.h
parent18713b7d1fc4a1fcec0a60f2c80a327b50b9c529 (diff)
GUI support for plugin port bypass connections
Diffstat (limited to 'gtk2_ardour/processor_box.h')
-rw-r--r--gtk2_ardour/processor_box.h27
1 files changed, 17 insertions, 10 deletions
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;