virtualize event handling methods for EditingContext

This commit is contained in:
Paul Davis 2024-01-29 14:32:18 -07:00
parent 9dbdf0eb43
commit a2f04a3104
7 changed files with 138 additions and 47 deletions

View file

@ -1150,12 +1150,10 @@ private:
std::weak_ptr<ARDOUR::Trimmable> _trimmable;
std::weak_ptr<ARDOUR::Movable> _movable;
bool typed_event (ArdourCanvas::Item*, GdkEvent*, ItemType);
bool button_press_handler (ArdourCanvas::Item*, GdkEvent*, ItemType);
bool button_press_handler_1 (ArdourCanvas::Item*, GdkEvent*, ItemType);
bool button_press_handler_2 (ArdourCanvas::Item*, GdkEvent*, ItemType);
bool button_release_handler (ArdourCanvas::Item*, GdkEvent*, ItemType);
bool button_double_click_handler (ArdourCanvas::Item*, GdkEvent*, ItemType);
bool button_press_dispatch (GdkEventButton*);
bool button_release_dispatch (GdkEventButton*);
bool motion_handler (ArdourCanvas::Item*, GdkEvent*, bool from_autoscroll = false);