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
This commit is contained in:
Carl Hetherington 2009-02-10 02:09:46 +00:00
parent 9fc369aa44
commit c601946bc8
4 changed files with 19 additions and 4 deletions

View file

@ -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