diff options
author | Carl Hetherington <carl@carlh.net> | 2009-01-23 21:24:11 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-01-23 21:24:11 +0000 |
commit | f6652f07ae2bfa9d7984c5b6feffd6479faec034 (patch) | |
tree | 8f02ca41d0f56eb20be3f684eefdf29e218c3a1e /gtk2_ardour/editor.cc | |
parent | 9245b7f95947ae196b8bb734ecb9767a362cccfe (diff) |
Add global port matrix dialogs.
git-svn-id: svn://localhost/ardour2/branches/3.0@4434 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r-- | gtk2_ardour/editor.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 08be372b14..8f1c1917c1 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -88,6 +88,7 @@ #include "tempo_lines.h" #include "analysis_window.h" #include "bundle_manager.h" +#include "global_port_matrix.h" #include "i18n.h" @@ -349,6 +350,9 @@ Editor::Editor () zoomed_to_region = false; rhythm_ferret = 0; _bundle_manager = 0; + for (ARDOUR::DataType::iterator i = ARDOUR::DataType::begin(); i != ARDOUR::DataType::end(); ++i) { + _global_port_matrix[*i] = 0; + } allow_vertical_scroll = false; no_save_visual = false; need_resize_line = false; @@ -5140,6 +5144,16 @@ Editor::show_bundle_manager () } void +Editor::show_global_port_matrix (ARDOUR::DataType t) +{ + if (_global_port_matrix[t] == 0) { + _global_port_matrix[t] = new GlobalPortMatrixWindow (*session, t); + } + + _global_port_matrix[t]->show (); +} + +void Editor::first_idle () { MessageDialog* dialog = 0; |