2008-10-21 22:04:27 +04:00
|
|
|
/*
|
2011-12-17 22:47:35 +04:00
|
|
|
* Copyright 2008-9, 2011 Chris Young <chris@unsatisfactorysoftware.co.uk>
|
2008-10-21 22:04:27 +04:00
|
|
|
*
|
|
|
|
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
|
|
|
*
|
|
|
|
* NetSurf is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
|
|
|
*
|
|
|
|
* NetSurf is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2015-09-05 17:09:00 +03:00
|
|
|
#ifndef AMIGA_SELECTMENU_H
|
|
|
|
#define AMIGA_SELECTMENU_H
|
2008-10-21 22:04:27 +04:00
|
|
|
|
2015-01-11 02:15:06 +03:00
|
|
|
struct gui_window;
|
|
|
|
struct form_control;
|
2011-12-17 22:47:35 +04:00
|
|
|
|
2015-09-05 17:37:34 +03:00
|
|
|
BOOL popupmenu_lib_ok;
|
|
|
|
|
2014-10-16 15:39:31 +04:00
|
|
|
void gui_create_form_select_menu(struct gui_window *g, struct form_control *control);
|
2014-01-15 03:31:54 +04:00
|
|
|
|
2015-09-05 17:37:34 +03:00
|
|
|
/**
|
|
|
|
* 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);
|
2008-10-21 22:04:27 +04:00
|
|
|
#endif
|
2015-01-11 02:15:06 +03:00
|
|
|
|