Add ArdourWindow class for non-dialog windows.

Make IOSelector an ArdourWindow.

It's debatable whether this one should actually be a window, cancel buttons
might actually be useful on the IO selector.


git-svn-id: svn://localhost/ardour2/branches/3.0@10691 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2011-11-18 21:56:01 +00:00
parent cd4e803f60
commit 5770f26bc9
7 changed files with 135 additions and 11 deletions

View file

@ -21,7 +21,7 @@
#define __gtkardour_io_selector_h__
#include "port_matrix.h"
#include "ardour_dialog.h"
#include "ardour_window.h"
class IOSelector : public PortMatrix
{
@ -67,7 +67,7 @@ class IOSelector : public PortMatrix
PBD::ScopedConnection _io_connection;
};
class IOSelectorWindow : public ArdourDialog
class IOSelectorWindow : public ArdourWindow
{
public:
IOSelectorWindow (ARDOUR::Session *, boost::shared_ptr<ARDOUR::IO>, bool can_cancel = false);