diff options
author | James Bursa <james@netsurf-browser.org> | 2004-07-11 13:05:38 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-07-11 13:05:38 +0000 |
commit | 89a23311ea1d5f2ee30abb9f459dd515c5411476 (patch) | |
tree | 0f6a8886243c203aa1dde70e8a26efb920fedcb3 /riscos/gui.h | |
parent | 02559e8cbd00204cd3e0e9bfc1d25335d611c8d6 (diff) | |
download | netsurf-89a23311ea1d5f2ee30abb9f459dd515c5411476.tar.gz netsurf-89a23311ea1d5f2ee30abb9f459dd515c5411476.tar.bz2 |
[project @ 2004-07-11 13:05:38 by bursa]
Clean up save box code by implementing ro_gui_save_open().
svn path=/import/netsurf/; revision=1070
Diffstat (limited to 'riscos/gui.h')
-rw-r--r-- | riscos/gui.h | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/riscos/gui.h b/riscos/gui.h index 53f14bc24..d081782ad 100644 --- a/riscos/gui.h +++ b/riscos/gui.h @@ -41,13 +41,20 @@ extern struct toolbar *hotlist_toolbar; extern bool dialog_folder_add, dialog_entry_add, hotlist_insert; typedef enum { GUI_BROWSER_WINDOW } gui_window_type; -typedef enum { GUI_SAVE_SOURCE, GUI_SAVE_DRAW, GUI_SAVE_TEXT, - GUI_SAVE_COMPLETE, - GUI_SAVE_OBJECT_ORIG, GUI_SAVE_OBJECT_NATIVE, - GUI_SAVE_LINK_URI, GUI_SAVE_LINK_URL, - GUI_SAVE_LINK_TEXT, - GUI_HOTLIST_EXPORT_HTML} gui_save_type; -extern gui_save_type gui_current_save_type; + +typedef enum { + GUI_SAVE_SOURCE, + GUI_SAVE_DRAW, + GUI_SAVE_TEXT, + GUI_SAVE_COMPLETE, + GUI_SAVE_OBJECT_ORIG, + GUI_SAVE_OBJECT_NATIVE, + GUI_SAVE_LINK_URI, + GUI_SAVE_LINK_URL, + GUI_SAVE_LINK_TEXT, + GUI_SAVE_HOTLIST_EXPORT_HTML, +} gui_save_type; + typedef enum { GUI_DRAG_SELECTION, GUI_DRAG_DOWNLOAD_SAVE, GUI_DRAG_SAVE, GUI_DRAG_STATUS_RESIZE, GUI_DRAG_HOTLIST_SELECT, GUI_DRAG_HOTLIST_MOVE } gui_drag_type; @@ -110,7 +117,6 @@ void ro_gui_popup_menu(wimp_menu *menu, wimp_w w, wimp_i i); void ro_gui_menu_selection(wimp_selection* selection); void ro_gui_menu_warning(wimp_message_menu_warning *warning); void ro_gui_prepare_navigate(gui_window *gui); -void ro_gui_menu_prepare_save(struct content *c); void ro_gui_menu_prepare_scale(void); void ro_gui_menu_prepare_pageinfo(void); @@ -204,6 +210,8 @@ void ro_gui_hotlist_prepare_folder_dialog(bool selected); void ro_gui_hotlist_prepare_entry_dialog(bool selected); /* in save.c */ +void ro_gui_save_open(gui_save_type save_type, struct content *c, + bool sub_menu, int x, int y, wimp_w parent); void ro_gui_save_click(wimp_pointer *pointer); void ro_gui_drag_icon(wimp_pointer *pointer); void ro_gui_save_drag_end(wimp_dragged *drag); |