mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-12 17:46:34 +01:00
Make global port matrix a Gtk::Window rather than an ArdourDialog.
git-svn-id: svn://localhost/ardour2/branches/3.0@4445 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7dd8001300
commit
7e1b86acee
2 changed files with 14 additions and 7 deletions
|
|
@ -124,12 +124,19 @@ GlobalPortMatrix::get_state (
|
||||||
|
|
||||||
|
|
||||||
GlobalPortMatrixWindow::GlobalPortMatrixWindow (ARDOUR::Session& s, ARDOUR::DataType t)
|
GlobalPortMatrixWindow::GlobalPortMatrixWindow (ARDOUR::Session& s, ARDOUR::DataType t)
|
||||||
: ArdourDialog (
|
: _port_matrix (s, t)
|
||||||
t == ARDOUR::DataType::AUDIO ?
|
|
||||||
_("Audio Connections Manager") :
|
|
||||||
_("MIDI Connections Manager")),
|
|
||||||
_port_matrix (s, t)
|
|
||||||
{
|
{
|
||||||
get_vbox()->pack_start (_port_matrix);
|
switch (t) {
|
||||||
|
case ARDOUR::DataType::AUDIO:
|
||||||
|
set_title (_("Audio Connections Manager"));
|
||||||
|
break;
|
||||||
|
case ARDOUR::DataType::MIDI:
|
||||||
|
set_title (_("MIDI Connections Manager"));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
Gtk::VBox* vbox = Gtk::manage (new Gtk::VBox);
|
||||||
|
vbox->pack_start (_port_matrix);
|
||||||
|
add (*vbox);
|
||||||
show_all ();
|
show_all ();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class GlobalPortMatrixWindow : public ArdourDialog
|
class GlobalPortMatrixWindow : public Gtk::Window
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
GlobalPortMatrixWindow (ARDOUR::Session&, ARDOUR::DataType);
|
GlobalPortMatrixWindow (ARDOUR::Session&, ARDOUR::DataType);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue