summaryrefslogtreecommitdiff
path: root/amiga/selectmenu.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-09-05 15:37:34 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2015-09-05 15:37:34 +0100
commit6a002558551b5dd57c062268079aef7a63f444e7 (patch)
treedfa39c0491ebfc59653ed1897431c6c33eec9edd /amiga/selectmenu.h
parent63227a214bb8e0f576ecb684313e5f3a3bdcf96f (diff)
downloadnetsurf-6a002558551b5dd57c062268079aef7a63f444e7.tar.gz
netsurf-6a002558551b5dd57c062268079aef7a63f444e7.tar.bz2
Enable control of core/popupmenu select menus in the prefs GUI.
This at least gives the option for people who prefer the popupmenu-based selection menus to easily switch back to the core ones when the options don't all fit on the screen (as popupmenu can't scroll).
Diffstat (limited to 'amiga/selectmenu.h')
-rwxr-xr-xamiga/selectmenu.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/amiga/selectmenu.h b/amiga/selectmenu.h
index 97f288add..760f58997 100755
--- a/amiga/selectmenu.h
+++ b/amiga/selectmenu.h
@@ -22,7 +22,16 @@
struct gui_window;
struct form_control;
+BOOL popupmenu_lib_ok;
+
void gui_create_form_select_menu(struct gui_window *g, struct form_control *control);
+/**
+ * Opens popupmenu.library to check the version.
+ * Versions older than 53.11 are dangerous!
+ *
+ * \returns TRUE if popupmenu is safe, FALSE otherwise.
+ */
+BOOL ami_selectmenu_is_safe(void);
#endif