diff options
author | Steve Fryatt <stevef@netsurf-browser.org> | 2013-09-08 00:47:55 +0100 |
---|---|---|
committer | Steve Fryatt <stevef@netsurf-browser.org> | 2013-09-08 00:47:55 +0100 |
commit | e87596ad1f7755c50f7a00edc85e66908ad1ba10 (patch) | |
tree | 25bd6b8f87613de2fa0e054e8083237542ad71d9 /riscos/treeview.h | |
parent | 9871ca4a2d6ffc8f41634a05c177d5145c339959 (diff) | |
download | netsurf-e87596ad1f7755c50f7a00edc85e66908ad1ba10.tar.gz netsurf-e87596ad1f7755c50f7a00edc85e66908ad1ba10.tar.bz2 |
Restructure handling of DragEnd events.
Add ro_mouse module to process mouse events during drags and on null polls.
Implement support in ro_mouse for tracking the mouse during drags and passing on DragEnd events.
Remove ro_gui_drag_end() and update all of its clients so that they use ro_mouse.
Remove the unused ro_gui_window_frame_resize_end().
Termination of save drags with Escape is unimplemented, but appears broken anyway.
The use of gui_drag_type is still required to handle Message_DatasaveAck processing.
Mouse tracking is still handled via gui.c.
Diffstat (limited to 'riscos/treeview.h')
-rw-r--r-- | riscos/treeview.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/riscos/treeview.h b/riscos/treeview.h index 77505ac66..80ff7660f 100644 --- a/riscos/treeview.h +++ b/riscos/treeview.h @@ -48,8 +48,7 @@ struct tree *ro_treeview_get_tree(ro_treeview *tv); wimp_w ro_treeview_get_window(ro_treeview *tv); void ro_treeview_set_origin(ro_treeview *tv, int x, int y); -void ro_treeview_mouse_at(wimp_pointer *pointer); -void ro_treeview_drag_end(wimp_dragged *drag); +void ro_treeview_mouse_at(wimp_pointer *pointer, void *data); int ro_treeview_get_help(help_full_message_request *message_data); #endif |