mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 20:55:48 +01:00
visualize # of channels in processor-box splitting icon
This commit is contained in:
parent
c284823413
commit
7e857b2264
2 changed files with 19 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue