diff options
author | Carl Hetherington <carl@carlh.net> | 2009-02-10 02:09:46 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-02-10 02:09:46 +0000 |
commit | c601946bc87d503f4bda1fc2d7321d99acc9d5f7 (patch) | |
tree | b4aaf1c026d10b89ad7836337c27714dd43976cf /gtk2_ardour/port_matrix.h | |
parent | 9fc369aa44e9c934f0f9fea7e02d812831cc7468 (diff) |
Bit of a hack to make the port matrix for port inserts at least vaguely usable.
git-svn-id: svn://localhost/ardour2/branches/3.0@4516 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix.h')
-rw-r--r-- | gtk2_ardour/port_matrix.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/port_matrix.h b/gtk2_ardour/port_matrix.h index 8514306544..d397c5df05 100644 --- a/gtk2_ardour/port_matrix.h +++ b/gtk2_ardour/port_matrix.h @@ -61,6 +61,13 @@ public: void setup_scrollbars (); void popup_channel_context_menu (int, uint32_t, uint32_t); + int min_height_divisor () const { + return _min_height_divisor; + } + void set_min_height_divisor (int f) { + _min_height_divisor = f; + } + enum Arrangement { TOP_TO_RIGHT, ///< column labels on top, row labels to the right LEFT_TO_BOTTOM ///< row labels to the left, column labels on the bottom @@ -169,6 +176,7 @@ private: Arrangement _arrangement; int _row_index; int _column_index; + int _min_height_divisor; }; #endif |