path: root/riscos/gui.h
diff options
authorSteve Fryatt <>2013-09-08 00:47:55 +0100
committerSteve Fryatt <>2013-09-08 00:47:55 +0100
commite87596ad1f7755c50f7a00edc85e66908ad1ba10 (patch)
tree25bd6b8f87613de2fa0e054e8083237542ad71d9 /riscos/gui.h
parent9871ca4a2d6ffc8f41634a05c177d5145c339959 (diff)
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/gui.h')
1 files changed, 1 insertions, 4 deletions
diff --git a/riscos/gui.h b/riscos/gui.h
index b9e0647c1..8f165c027 100644
--- a/riscos/gui.h
+++ b/riscos/gui.h
@@ -124,7 +124,6 @@ const char *ro_gui_default_language(void);
/* in download.c */
void ro_gui_download_init(void);
-void ro_gui_download_drag_end(wimp_dragged *drag);
void ro_gui_download_datasave_ack(wimp_message *message);
bool ro_gui_download_prequit(void);
@@ -133,11 +132,9 @@ void ro_gui_401login_init(void);
/* in window.c */
bool ro_gui_window_dataload(struct gui_window *g, wimp_message *message);
-void ro_gui_window_mouse_at(struct gui_window *g, wimp_pointer *pointer);
+void ro_gui_window_mouse_at(wimp_pointer *pointer, void *data);
void ro_gui_window_iconise(struct gui_window *g,
wimp_full_message_window_info *wi);
-void ro_gui_window_scroll_end(struct gui_window *g, wimp_dragged *drag);
-void ro_gui_window_frame_resize_end(struct gui_window *g, wimp_dragged *drag);
bool ro_gui_toolbar_dataload(struct gui_window *g, wimp_message *message);
void ro_gui_window_redraw_all(void);
void ro_gui_window_update_boxes(void);