Pass whole GdkEventButton into port matrix button

press/release handlers, rather than just selected
highlights.  Remove port in the port matrix on Keyboard
is_delete_event (part of #4536).


git-svn-id: svn://localhost/ardour2/branches/3.0@10920 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-12-07 01:44:47 +00:00
parent 790d9042c6
commit 668c8b1f9e
8 changed files with 28 additions and 23 deletions

View file

@ -50,8 +50,8 @@ public:
virtual double parent_to_component_y (double y) const = 0;
virtual void mouseover_changed (std::list<PortMatrixNode> const &) = 0;
virtual void draw_extra (cairo_t *) = 0;
virtual void button_press (double, double, int, uint32_t, guint) {}
virtual void button_release (double, double, int, uint32_t, guint) {}
virtual void button_press (double, double, GdkEventButton *) {}
virtual void button_release (double, double, GdkEventButton *) {}
virtual void motion (double, double) {}
void set_show_ports (bool);