make per-track port matrix dialog into a real dialog, complete with ctrl-w handling
git-svn-id: svn://localhost/ardour2/branches/3.0@9040 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
1ea01b7257
commit
b800dc207d
@ -213,12 +213,12 @@ IOSelector::channel_noun () const
|
||||
}
|
||||
|
||||
IOSelectorWindow::IOSelectorWindow (ARDOUR::Session* session, boost::shared_ptr<ARDOUR::IO> io, bool /*can_cancel*/)
|
||||
: _selector (this, session, io)
|
||||
: ArdourDialog (_("I/O selector"))
|
||||
, _selector (this, session, io)
|
||||
{
|
||||
set_name ("IOSelectorWindow2");
|
||||
set_title (_("I/O selector"));
|
||||
|
||||
add (_selector);
|
||||
get_vbox()->pack_start (_selector);
|
||||
|
||||
set_position (Gtk::WIN_POS_MOUSE);
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
#define __gtkardour_io_selector_h__
|
||||
|
||||
#include "port_matrix.h"
|
||||
#include "ardour_dialog.h"
|
||||
|
||||
class IOSelector : public PortMatrix
|
||||
{
|
||||
@ -66,7 +67,7 @@ class IOSelector : public PortMatrix
|
||||
PBD::ScopedConnection _io_connection;
|
||||
};
|
||||
|
||||
class IOSelectorWindow : public Gtk::Window
|
||||
class IOSelectorWindow : public ArdourDialog
|
||||
{
|
||||
public:
|
||||
IOSelectorWindow (ARDOUR::Session *, boost::shared_ptr<ARDOUR::IO>, bool can_cancel = false);
|
||||
|
Loading…
Reference in New Issue
Block a user