diff options
author | Carl Hetherington <carl@carlh.net> | 2009-12-07 00:41:50 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-12-07 00:41:50 +0000 |
commit | 1a447016437727452fdf00e7c762f339c796f736 (patch) | |
tree | e22576a33816b113a9a10a7cb5f46558b7c3e903 /gtk2_ardour/port_matrix.h | |
parent | b9876aa1d08f83b9a9ef829e6a4dad94cf344e30 (diff) |
Fix a couple of crashes with empty matrices. Some small optimisations.
Correctly handle descenders on text when plotting labels. Minor layout
improvements. Add some drawings of what's going on in the port matrix
so that I don't keep losing them.
git-svn-id: svn://localhost/ardour2/branches/3.0@6319 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix.h')
-rw-r--r-- | gtk2_ardour/port_matrix.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/port_matrix.h b/gtk2_ardour/port_matrix.h index 268c898684..f228a4101f 100644 --- a/gtk2_ardour/port_matrix.h +++ b/gtk2_ardour/port_matrix.h @@ -179,6 +179,7 @@ private: void v_page_selected (GtkNotebookPage *, guint); void h_page_selected (GtkNotebookPage *, guint); void route_processors_changed (ARDOUR::RouteProcessorChange); + void body_dimensions_changed (); void session_going_away (); Gtk::Window* _parent; @@ -196,6 +197,8 @@ private: Gtk::Label _hlabel; Gtk::VBox _vbox; Gtk::HBox _hbox; + Gtk::Label _hspacer; + Gtk::Label _vspacer; Gtk::Menu* _menu; Arrangement _arrangement; int _row_index; |