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

@ -24,10 +24,7 @@
#include "ardour_dialog.h"
#include "keyboard.h"
#include "ardour_ui.h"
#include "splash.h"
#include "public_editor.h"
#include "utils.h"
using namespace std;
using namespace Gtk;
@ -92,5 +89,7 @@ ArdourDialog::init ()
{
set_type_hint(Gdk::WINDOW_TYPE_HINT_DIALOG);
set_border_width (10);
CloseAllDialogs.connect (sigc::bind (sigc::mem_fun (*this, &ArdourDialog::response), RESPONSE_CANCEL));
CloseAllDialogs.connect (
sigc::bind (sigc::mem_fun (*this, &ArdourDialog::response),
RESPONSE_CANCEL));
}