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/textselection.h | 1 - 1 file changed, 1 deletion(-) (limited to 'riscos/textselection.h') diff --git a/riscos/textselection.h b/riscos/textselection.h index a3763b46e..c6f96f0e9 100644 --- a/riscos/textselection.h +++ b/riscos/textselection.h @@ -35,7 +35,6 @@ bool ro_gui_selection_prepare_paste_datasave( bool ro_gui_selection_prepare_paste_dataload( wimp_full_message_data_xfer *dataxfer); -void ro_gui_selection_drag_end(struct gui_window *g, wimp_dragged *drag); void ro_gui_selection_claim_entity(wimp_full_message_claim_entity *claim); void ro_gui_selection_data_request(wimp_full_message_data_request *req); bool ro_gui_save_clipboard(const char *path); -- cgit v1.2.3