diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-06-20 22:29:43 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-06-20 22:29:43 +0000 |
commit | 040da4cf7b5cdef29ee7811cd9250cade778036e (patch) | |
tree | fdecb34ba4858112417b85cfee1a054299b06f31 /amiga/gui.c | |
parent | 6dd385591dcda09a4b2a4fe34d812a2c33e9db02 (diff) | |
download | netsurf-040da4cf7b5cdef29ee7811cd9250cade778036e.tar.gz netsurf-040da4cf7b5cdef29ee7811cd9250cade778036e.tar.bz2 |
Amiga Options GUI template code and a bonus "redraw" option in the menu
svn path=/trunk/netsurf/; revision=7900
Diffstat (limited to 'amiga/gui.c')
-rwxr-xr-x | amiga/gui.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/amiga/gui.c b/amiga/gui.c index 23b5d0311..a36f04541 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -75,6 +75,7 @@ #include "amiga/font.h" #include "amiga/download.h" #include <graphics/blitattr.h> +#include "amiga/gui_options.h" #ifdef NS_AMIGA_CAIRO #include <cairo/cairo-amigaos.h> @@ -793,6 +794,23 @@ void ami_handle_msg(void) continue; } } + else if(node->Type == AMINS_GUIOPTSWINDOW) + { + if(ami_gui_opts_event()) + { + if(IsMinListEmpty(window_list)) + { + /* last window closed, so exit */ + netsurf_quit = true; + } + break; + } + else + { + node = nnode; + continue; + } + } while((result = RA_HandleInput(gwin->objects[OID_MAIN],&code)) != WMHI_LASTMSG) { |