NetSurf
selectmenu.h
Go to the documentation of this file.
1/*
2 * Copyright 2008-9, 2011 Chris Young <chris@unsatisfactorysoftware.co.uk>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef AMIGA_SELECTMENU_H
20#define AMIGA_SELECTMENU_H
21
22#include <exec/types.h>
23
24struct gui_window;
25struct form_control;
26
27void gui_create_form_select_menu(struct gui_window *g, struct form_control *control);
28
29/**
30 * Opens popupmenu.library to check the version.
31 * Versions older than 53.11 are dangerous!
32 *
33 * \returns TRUE if popupmenu is safe, FALSE otherwise.
34 */
35BOOL ami_selectmenu_is_safe(void);
36#endif
37
void gui_create_form_select_menu(struct gui_window *g, struct form_control *control)
Definition: selectmenu.c:190
BOOL ami_selectmenu_is_safe(void)
Opens popupmenu.library to check the version.
Definition: selectmenu.c:194
Form control.
Definition: form_internal.h:73
first entry in window list
Definition: gui.c:296