From f3f2c5b481c519d0ef4e501aa07c70baaaf7d86f Mon Sep 17 00:00:00 2001 From: Steve Fryatt Date: Sun, 8 Sep 2013 15:51:29 +0100 Subject: gui_current_drag_type now only used for data transfer protocol routing; fix button bar drag handler. Remove all references to gui_current_drag_type outside of gui.c which are not related to routing DataSaveAck messages. Update button bar drag code so that it uses ro_mouse. --- riscos/gui.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'riscos/gui.h') diff --git a/riscos/gui.h b/riscos/gui.h index 387fc952a..508931521 100644 --- a/riscos/gui.h +++ b/riscos/gui.h @@ -65,10 +65,8 @@ extern bool dialog_folder_add, dialog_entry_add, hotlist_insert; extern bool print_active, print_text_black; extern bool no_font_blending; -typedef enum { GUI_DRAG_NONE, GUI_DRAG_SELECTION, GUI_DRAG_DOWNLOAD_SAVE, - GUI_DRAG_SAVE, GUI_DRAG_SCROLL, GUI_DRAG_STATUS_RESIZE, - GUI_DRAG_TREEVIEW, GUI_DRAG_BUTTONBAR, - GUI_DRAG_FRAME } ro_gui_drag_type; +typedef enum { GUI_DRAG_NONE, GUI_DRAG_DOWNLOAD_SAVE, GUI_DRAG_SAVE } + ro_gui_drag_type; extern ro_gui_drag_type gui_current_drag_type; -- cgit v1.2.3