diff options
author | Robin Gareus <robin@gareus.org> | 2013-12-30 15:55:17 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-12-30 15:55:17 +0100 |
commit | 7e857b226440cb1ad396e448b1af6e6c958fae28 (patch) | |
tree | 8b582583d4694b32cdae79a983fd7b4b5814b2ac /gtk2_ardour/processor_box.h | |
parent | c284823413c31f9fba9ee4f39f501b1d40f5a67b (diff) |
visualize # of channels in processor-box splitting icon
Diffstat (limited to 'gtk2_ardour/processor_box.h')
-rw-r--r-- | gtk2_ardour/processor_box.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/processor_box.h b/gtk2_ardour/processor_box.h index 41bc68281f..cacb5be77c 100644 --- a/gtk2_ardour/processor_box.h +++ b/gtk2_ardour/processor_box.h @@ -223,10 +223,13 @@ private: void setup_visuals (); void plugin_insert_splitting_changed (); - /* XXX: this seems a little ridiculous just for a simple scaleable icon */ class SplittingIcon : public Gtk::DrawingArea { + public: + SplittingIcon() { _branches = 2; } + void set_branches(uint32_t const branches) { _branches = branches; } private: bool on_expose_event (GdkEventExpose *); + uint32_t _branches; }; boost::shared_ptr<ARDOUR::PluginInsert> _plugin_insert; |