From e87596ad1f7755c50f7a00edc85e66908ad1ba10 Mon Sep 17 00:00:00 2001 From: Steve Fryatt Date: Sun, 8 Sep 2013 00:47:55 +0100 Subject: 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. --- riscos/save.h | 1 - 1 file changed, 1 deletion(-) (limited to 'riscos/save.h') diff --git a/riscos/save.h b/riscos/save.h index b219de4c8..34a4a6ba9 100644 --- a/riscos/save.h +++ b/riscos/save.h @@ -37,7 +37,6 @@ void ro_gui_drag_save_link(gui_save_type save_type, const char *url, const char *title, struct gui_window *g); void ro_gui_drag_icon(int x, int y, const char *sprite); void ro_gui_drag_box_cancel(void); -void ro_gui_save_drag_end(wimp_dragged *drag); void ro_gui_send_datasave(gui_save_type save_type, wimp_full_message_data_xfer *message, wimp_t to); void ro_gui_save_datasave_ack(wimp_message *message); bool ro_gui_save_ok(wimp_w w); -- cgit v1.2.3