mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
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:
parent
cd4e803f60
commit
5770f26bc9
7 changed files with 135 additions and 11 deletions
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <gtkmm/messagedialog.h>
|
||||
#include <glibmm/objectbase.h>
|
||||
|
||||
#include <gtkmm2ext/doi.h>
|
||||
|
|
@ -221,12 +220,12 @@ IOSelector::channel_noun () const
|
|||
}
|
||||
|
||||
IOSelectorWindow::IOSelectorWindow (ARDOUR::Session* session, boost::shared_ptr<ARDOUR::IO> io, bool /*can_cancel*/)
|
||||
: ArdourDialog (_("I/O selector"))
|
||||
, _selector (this, session, io)
|
||||
: ArdourWindow (_("I/O selector"))
|
||||
, _selector (this, session, io)
|
||||
{
|
||||
set_name ("IOSelectorWindow2");
|
||||
|
||||
get_vbox()->pack_start (_selector);
|
||||
add (_selector);
|
||||
|
||||
set_position (Gtk::WIN_POS_MOUSE);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue