diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-07-03 17:09:11 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-07-03 17:09:11 +0100 |
commit | ea9932dd00cc5384bc9f19d2addf683712983a4f (patch) | |
tree | 390a3e195f1166d65903adfbdcfe20e31d8e16e7 /frontends/amiga/menu.h | |
parent | 65bf58e4a1999fca0de1279e143f714acc19fe8d (diff) | |
download | netsurf-ea9932dd00cc5384bc9f19d2addf683712983a4f.tar.gz netsurf-ea9932dd00cc5384bc9f19d2addf683712983a4f.tar.bz2 |
Handle closing windows and quitting from the menu differently
Diffstat (limited to 'frontends/amiga/menu.h')
-rwxr-xr-x | frontends/amiga/menu.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/frontends/amiga/menu.h b/frontends/amiga/menu.h index 91077b662..ac74f38a2 100755 --- a/frontends/amiga/menu.h +++ b/frontends/amiga/menu.h @@ -129,14 +129,9 @@ enum { #define AMI_MENU_BACKIMG FULLMENUNUM(2,8,1) #define AMI_MENU_JS FULLMENUNUM(2,9,0) -/** A special value for ami_menu_window_close */ -#define AMI_MENU_WINDOW_CLOSE_ALL (void *)1 - struct gui_window; struct gui_window_2; -extern struct gui_window_2 *ami_menu_window_close; - void ami_free_menulabs(struct gui_window_2 *gwin); struct Menu *ami_menu_create(struct gui_window_2 *gwin); void ami_menu_refresh(struct gui_window_2 *gwin); @@ -158,5 +153,12 @@ void ami_menu_set_check_toggled(void); * \return true if the menus need refreshing */ bool ami_menu_get_check_toggled(void); + +/** + * Gets if NetSurf has been quit from the menu + * + * \return true if NetSurf has been quit + */ +bool ami_menu_quit_selected(void); #endif |