diff options
Diffstat (limited to 'gtk2_ardour/port_matrix.h')
-rw-r--r-- | gtk2_ardour/port_matrix.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/port_matrix.h b/gtk2_ardour/port_matrix.h index 5614293e45..76ead4bee9 100644 --- a/gtk2_ardour/port_matrix.h +++ b/gtk2_ardour/port_matrix.h @@ -130,6 +130,9 @@ public: PortMatrixNode::State get_association (PortMatrixNode) const; + void flip (); + bool key_press (GdkEventKey *); + /** @param c Channels; where c[0] is from _ports[0] and c[1] is from _ports[1]. * @param s New state. */ @@ -199,10 +202,12 @@ private: void add_disassociate_option (Gtk::Menu_Helpers::MenuList &, boost::weak_ptr<ARDOUR::Bundle>, int, int); void port_connected_or_disconnected (); void update_tab_highlighting (); + std::pair<int, int> check_flip () const; + bool can_flip () const; Gtk::Window* _parent; - /// port type that we are working with, or NIL if we are working with all of them + /** port type that we are working with, or NIL if we are working with all of them */ ARDOUR::DataType _type; PBD::ScopedConnectionList _route_connections; PBD::ScopedConnectionList _changed_connections; |