diff options
author | Carl Hetherington <carl@carlh.net> | 2009-07-22 01:28:31 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-07-22 01:28:31 +0000 |
commit | 272cad6241ababb0e2033f27e0511596b3e32b15 (patch) | |
tree | 2f76ee12d5d0a28846b29bdcf811369c4f0d386a /gtk2_ardour/port_matrix.h | |
parent | 718659344277514acd05fbb8ffee30134a6cf66a (diff) |
Various fixups to bundle manager. Add a separator between the benign and more serious menu options on the port matrix context menu. Finally (maybe) fix port matrix sizing issues relatively nicely.
git-svn-id: svn://localhost/ardour2/branches/3.0@5409 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix.h')
-rw-r--r-- | gtk2_ardour/port_matrix.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/port_matrix.h b/gtk2_ardour/port_matrix.h index 15035fa594..3a1515cef3 100644 --- a/gtk2_ardour/port_matrix.h +++ b/gtk2_ardour/port_matrix.h @@ -50,7 +50,7 @@ class PortMatrixBody; class PortMatrix : public Gtk::Table { public: - PortMatrix (ARDOUR::Session&, ARDOUR::DataType); + PortMatrix (Gtk::Window*, ARDOUR::Session&, ARDOUR::DataType); ~PortMatrix (); void set_type (ARDOUR::DataType); @@ -112,7 +112,6 @@ public: std::pair<uint32_t, uint32_t> max_size () const; void setup_max_size (); - sigc::signal<void> MaxSizeChanged; /** @param c Channels; where c[0] is from _ports[0] and c[1] is from _ports[1]. * @param s New state. @@ -172,6 +171,8 @@ private: bool on_scroll_event (GdkEventScroll *); boost::shared_ptr<ARDOUR::IO> io_from_bundle (boost::shared_ptr<ARDOUR::Bundle>) const; + Gtk::Window* _parent; + /// port type that we are working with ARDOUR::DataType _type; std::vector<sigc::connection> _route_connections; |