summaryrefslogtreecommitdiff
path: root/riscos/options.h
blob: 5ee3d2d91ae1b281dd2b918c6ae4107f16286b56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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