diff options
author | Carl Hetherington <carl@carlh.net> | 2009-02-03 01:55:25 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-02-03 01:55:25 +0000 |
commit | d06d697e41e2089ec4cce35ea17b4995797deab7 (patch) | |
tree | 2fa34519aa16b13acaa28a6b7aec02de99be7703 /gtk2_ardour/port_matrix_body.h | |
parent | 6a9dc6b8d0ccc4b4849c3720ea5fb0606e52ce4b (diff) |
Click and hold button 1 over a channel name in the port matrix highlights
connected channels.
git-svn-id: svn://localhost/ardour2/branches/3.0@4484 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix_body.h')
-rw-r--r-- | gtk2_ardour/port_matrix_body.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/port_matrix_body.h b/gtk2_ardour/port_matrix_body.h index 2e31e3ed9b..2320efe4f2 100644 --- a/gtk2_ardour/port_matrix_body.h +++ b/gtk2_ardour/port_matrix_body.h @@ -59,11 +59,14 @@ public: return _mouseover; } + void highlight_associated_channels (int, uint32_t); + protected: bool on_expose_event (GdkEventExpose *); void on_size_request (Gtk::Requisition *); void on_size_allocate (Gtk::Allocation &); bool on_button_press_event (GdkEventButton *); + bool on_button_release_event (GdkEventButton *); bool on_leave_notify_event (GdkEventCrossing *); bool on_motion_notify_event (GdkEventMotion *); @@ -87,6 +90,7 @@ private: uint32_t _yoffset; PortMatrixNode _mouseover; + bool _mouse_over_grid; std::list<sigc::connection> _bundle_connections; }; |