diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2004-01-20 19:08:34 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2004-01-20 19:08:34 +0000 |
commit | 0dab93fe7652dd1f1c656356a62f01d4053bb2ff (patch) | |
tree | 3b3d7bc784d3f39f2474b231e4727288144b5902 /riscos | |
parent | 10b546f7f974ac8e157426ee42d7abdd52dbf14b (diff) | |
download | netsurf-0dab93fe7652dd1f1c656356a62f01d4053bb2ff.tar.gz netsurf-0dab93fe7652dd1f1c656356a62f01d4053bb2ff.tar.bz2 |
[project @ 2004-01-20 19:08:34 by jmb]
Allow toggling of POST support.
Add new toolbar icon numbers to riscos/gui.h
svn path=/import/netsurf/; revision=490
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/gui.h | 7 | ||||
-rw-r--r-- | riscos/history.c | 7 | ||||
-rw-r--r-- | riscos/mouseactions.c | 7 | ||||
-rw-r--r-- | riscos/window.c | 6 |
4 files changed, 24 insertions, 3 deletions
diff --git a/riscos/gui.h b/riscos/gui.h index fa0b783c3..a943851b8 100644 --- a/riscos/gui.h +++ b/riscos/gui.h @@ -166,6 +166,13 @@ void ro_gui_history_click(wimp_pointer *pointer); #define ICON_TOOLBAR_STATUS 3 #define ICON_TOOLBAR_HISTORY 4 #define ICON_TOOLBAR_RELOAD 5 +#define ICON_TOOLBAR_STOP 6 +#define ICON_TOOLBAR_BACK 7 +#define ICON_TOOLBAR_FORWARD 8 +#define ICON_TOOLBAR_BOOKMARK 9 +#define ICON_TOOLBAR_SAVE 10 +#define ICON_TOOLBAR_PRINT 11 +#define ICON_TOOLBAR_HOME 12 #define ICON_CONFIG_SAVE 0 #define ICON_CONFIG_CANCEL 1 diff --git a/riscos/history.c b/riscos/history.c index 42711a20c..49fbf956f 100644 --- a/riscos/history.c +++ b/riscos/history.c @@ -10,6 +10,7 @@ #include "oslib/colourtrans.h" #include "oslib/font.h" #include "oslib/wimp.h" +#include "netsurf/utils/config.h" #include "netsurf/riscos/gui.h" #include "netsurf/utils/log.h" #include "netsurf/utils/utils.h" @@ -256,7 +257,11 @@ void ro_gui_history_click(wimp_pointer *pointer) history_bw->history_entry = he; wimp_create_menu(wimp_CLOSE_MENU, 0, 0); browser_window_open_location_historical(history_bw, - he->url, 0, 0); + he->url +#ifdef WITH_POST + , 0, 0 +#endif + ); } } diff --git a/riscos/mouseactions.c b/riscos/mouseactions.c index b5e3fc550..9c7f76ea6 100644 --- a/riscos/mouseactions.c +++ b/riscos/mouseactions.c @@ -9,6 +9,7 @@ #include "oslib/os.h" +#include "netsurf/utils/config.h" #include "netsurf/desktop/browser.h" #include "netsurf/desktop/options.h" #include "netsurf/riscos/gui.h" @@ -56,7 +57,11 @@ void ro_gui_mouse_action(gui_window *g) { case mouseaction_RELOAD: browser_window_open_location_historical(g->data.browser.bw, - g->data.browser.bw->url, 0, 0); + g->data.browser.bw->url +#ifdef WITH_POST + , 0, 0 +#endif + ); break; default: break; diff --git a/riscos/window.c b/riscos/window.c index ddee5cedf..540f7000a 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -565,7 +565,11 @@ void ro_gui_toolbar_click(gui_window* g, wimp_pointer* pointer) break; case ICON_TOOLBAR_RELOAD: browser_window_open_location_historical(g->data.browser.bw, - g->data.browser.bw->url, 0, 0); + g->data.browser.bw->url +#ifdef WITH_POST + , 0, 0 +#endif + ); break; } } |