diff options
author | Carl Hetherington <carl@carlh.net> | 2009-07-17 22:54:45 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-07-17 22:54:45 +0000 |
commit | 50437bff22279473cd364d007d5e474af2a542bc (patch) | |
tree | 4ebe55e6ac2ae8ded3dfd12a2f1b6e866a9dd6c4 /gtk2_ardour/io_selector.h | |
parent | b89a786b3e300ce3eb28c4e6791e8e141afb19f9 (diff) |
Various tweaks to the port matrix: open to full size; remove buttons and move their functionality into a context menu;
set maximum size hint to stop port matrix windows being resized beyond their useful size; remove visibility checkbuttons -
visibility now controlled through menu or by clicking on group names; port groups fold down to a small tab when hidden;
don't swap the orientation of the matrix once it has been opened.
git-svn-id: svn://localhost/ardour2/branches/3.0@5373 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/io_selector.h')
-rw-r--r-- | gtk2_ardour/io_selector.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/gtk2_ardour/io_selector.h b/gtk2_ardour/io_selector.h index d6b00254be..24e99e27ec 100644 --- a/gtk2_ardour/io_selector.h +++ b/gtk2_ardour/io_selector.h @@ -71,7 +71,7 @@ class IOSelector : public PortMatrix bool _find_inputs_for_io_outputs; }; -class IOSelectorWindow : public ArdourDialog +class IOSelectorWindow : public Gtk::Window { public: IOSelectorWindow (ARDOUR::Session&, boost::shared_ptr<ARDOUR::IO>, bool can_cancel = false); @@ -80,23 +80,11 @@ class IOSelectorWindow : public ArdourDialog protected: void on_map (); + void on_realize (); private: IOSelector _selector; - - /* overall operation buttons */ - - Gtk::Button add_button; - Gtk::Button disconnect_button; - Gtk::Button ok_button; - Gtk::Button cancel_button; - Gtk::Button rescan_button; - - void cancel (); - void accept (); - void rescan (); - void ports_changed (); void io_name_changed (void *src); }; @@ -128,7 +116,6 @@ class PortInsertWindow : public ArdourDialog Gtk::Button ok_button; Gtk::Button cancel_button; - Gtk::Button rescan_button; Gtk::Frame button_frame; void cancel (); |