summaryrefslogtreecommitdiff
path: root/riscos/options.h
diff options
context:
space:
mode:
authorPhil Mellor <phil@monkeyson.info>2003-06-01 23:02:56 +0000
committerPhil Mellor <phil@monkeyson.info>2003-06-01 23:02:56 +0000
commit9f81422aeaca41d8c93e2b69c3c525d84a9c633b (patch)
treebff8eb0e329f82f907b3d96500d785c92fa74336 /riscos/options.h
parentcbd104704bb11b6141c2b5c3bde88950157e5fcf (diff)
downloadnetsurf-9f81422aeaca41d8c93e2b69c3c525d84a9c633b.tar.gz
netsurf-9f81422aeaca41d8c93e2b69c3c525d84a9c633b.tar.bz2
[project @ 2003-06-01 23:02:56 by monkeyson]
Configuration windows added. HTTP Proxy support (untested). svn path=/import/netsurf/; revision=145
Diffstat (limited to 'riscos/options.h')
-rw-r--r--riscos/options.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/riscos/options.h b/riscos/options.h
new file mode 100644
index 000000000..5ee3d2d91
--- /dev/null
+++ b/riscos/options.h
@@ -0,0 +1,51 @@
+
+#ifndef _NETSURF_RISCOS_OPTIONS_H_
+#define _NETSURF_RISCOS_OPTIONS_H_
+
+#include "netsurf/desktop/options.h"
+
+#define PLATFORM_OPTIONS \
+ int use_mouse_gestures;\
+ int allow_text_selection;\
+ int use_riscos_elements;\
+ int show_toolbar;\
+ int show_print_preview;\
+ \
+ char* theme;
+
+/* choices made easier for the dialogue boxes. only used by the interface */
+
+struct browser_choices
+{
+ int use_mouse_gestures;
+ int allow_text_selection;
+ int use_riscos_elements;
+ int show_toolbar;
+ int show_print_preview;
+} ;
+
+struct proxy_choices
+{
+ int http;
+ char http_proxy[256];
+ int http_port;
+} ;
+
+struct theme_choices
+{
+ char name[256];
+};
+
+struct ro_choices
+{
+ struct browser_choices browser;
+ struct proxy_choices proxy;
+ struct theme_choices theme;
+};
+
+void options_to_ro(struct options* opt, struct ro_choices* ro);
+void ro_to_options(struct ro_choices* ro, struct options* opt);
+
+#endif
+
+