summaryrefslogtreecommitdiff
path: root/amiga/gui_options.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-06-20 22:29:43 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-06-20 22:29:43 +0000
commit040da4cf7b5cdef29ee7811cd9250cade778036e (patch)
treefdecb34ba4858112417b85cfee1a054299b06f31 /amiga/gui_options.h
parent6dd385591dcda09a4b2a4fe34d812a2c33e9db02 (diff)
downloadnetsurf-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_options.h')
-rwxr-xr-xamiga/gui_options.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/amiga/gui_options.h b/amiga/gui_options.h
new file mode 100755
index 000000000..0ac9b07e0
--- /dev/null
+++ b/amiga/gui_options.h
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2009 Chris Young <chris@unsatisfactorysoftware.co.uk>
+ *
+ * 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/>.
+ */
+
+#ifndef AMIGA_GUI_OPTIONS_H
+#define AMIGA_GUI_OPTIONS_H
+
+#include <exec/types.h>
+#include <intuition/classusr.h>
+#include "amiga/gui.h"
+
+enum
+{
+ GID_OPTS_MAIN=0,
+ GID_OPTS_CANCEL,
+ GID_OPTS_LAST
+};
+
+struct ami_gui_opts_window {
+ struct Window *win;
+ Object *objects[OID_LAST];
+ struct Gadget *gadgets[GID_OPTS_LAST];
+ struct nsObject *node;
+ ULONG pad[6];
+};
+
+void ami_opts_open(void);
+BOOL ami_opts_event(void);
+#endif