summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix_body.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-07-17 22:54:45 +0000
committerCarl Hetherington <carl@carlh.net>2009-07-17 22:54:45 +0000
commit50437bff22279473cd364d007d5e474af2a542bc (patch)
tree4ebe55e6ac2ae8ded3dfd12a2f1b6e866a9dd6c4 /gtk2_ardour/port_matrix_body.h
parentb89a786b3e300ce3eb28c4e6791e8e141afb19f9 (diff)
Various tweaks to the port matrix: open to full size; remove buttons and move their functionality into a context menu;
set maximum size hint to stop port matrix windows being resized beyond their useful size; remove visibility checkbuttons - visibility now controlled through menu or by clicking on group names; port groups fold down to a small tab when hidden; don't swap the orientation of the matrix once it has been opened. git-svn-id: svn://localhost/ardour2/branches/3.0@5373 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix_body.h')
-rw-r--r--gtk2_ardour/port_matrix_body.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/port_matrix_body.h b/gtk2_ardour/port_matrix_body.h
index c905a98dc4..bbc72ddc7e 100644
--- a/gtk2_ardour/port_matrix_body.h
+++ b/gtk2_ardour/port_matrix_body.h
@@ -61,8 +61,9 @@ public:
return _mouseover;
}
- void highlight_associated_channels (int, uint32_t);
+ void highlight_associated_channels (int, ARDOUR::BundleChannel);
void component_size_changed ();
+ std::pair<uint32_t, uint32_t> max_size () const;
protected:
bool on_expose_event (GdkEventExpose *);