summaryrefslogtreecommitdiff
path: root/frontends/riscos/options.h
blob: bf85f07c2adc792fa2158045dd785f9e739468cd (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/*
 * Copyright 2012 Vincent Sanders <vince@netsurf-browser.org>
 *
 * 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/>.
 */

/**
 * \file
 * Option specific to RISC OS
 *
 * Platform specific options for RISC OS can be added by editing this file
 *
 * Global optionsshould be added in the desktop options.h.
 *
 * This header is specificaly intented to be included multiple times
 *   with different macro definitions so there is no guard
 */

#ifndef NETSURF_RISCOS_OPTIONS_H_
#define NETSURF_RISCOS_OPTIONS_H_

#include "riscos/tinct.h"

/* setup longer default reflow time */
#define DEFAULT_REFLOW_PERIOD 100 /* time in cs */

#define CHOICES_PREFIX "<Choices$Write>.WWW.NetSurf."

#endif

NSOPTION_STRING(theme, "Aletheia")
NSOPTION_STRING(language, NULL)
NSOPTION_INTEGER(plot_fg_quality, tinct_ERROR_DIFFUSE)
NSOPTION_INTEGER(plot_bg_quality, tinct_DITHER)
NSOPTION_BOOL(history_tooltip, true)
NSOPTION_BOOL(toolbar_show_buttons, true)
NSOPTION_BOOL(toolbar_show_address, true)
NSOPTION_BOOL(toolbar_show_throbber, true)
NSOPTION_STRING(toolbar_browser, "0123|58|9")
NSOPTION_STRING(toolbar_hotlist, "40|12|3")
NSOPTION_STRING(toolbar_history, "0|12|3")
NSOPTION_STRING(toolbar_cookies, "0|12")
NSOPTION_BOOL(window_stagger, true)
NSOPTION_BOOL(window_size_clone, true)
NSOPTION_BOOL(buffer_animations, true)
NSOPTION_BOOL(buffer_everything, true)
NSOPTION_BOOL(open_browser_at_startup, false)
NSOPTION_BOOL(no_plugins, false)
NSOPTION_BOOL(block_popups, false)
NSOPTION_BOOL(strip_extensions, false)
NSOPTION_BOOL(confirm_overwrite, true)
NSOPTION_BOOL(confirm_hotlist_remove, true)
NSOPTION_STRING(url_path, "NetSurf:URL")
NSOPTION_STRING(url_save, CHOICES_PREFIX "URL")
NSOPTION_STRING(hotlist_path, "NetSurf:Hotlist")
NSOPTION_STRING(hotlist_save, CHOICES_PREFIX "Hotlist")
NSOPTION_STRING(recent_path, "NetSurf:Recent")
NSOPTION_STRING(recent_save, CHOICES_PREFIX "Recent")
NSOPTION_STRING(theme_path, "NetSurf:Themes")
NSOPTION_STRING(theme_save, CHOICES_PREFIX "Themes")
NSOPTION_BOOL(thumbnail_iconise, true)
NSOPTION_BOOL(interactive_help, true)
NSOPTION_BOOL(external_hotlists, false)
NSOPTION_STRING(external_hotlist_app, NULL)

/**
 * width of screen when window_width option was saved
 */
NSOPTION_INTEGER(window_screen_width, 0)

/**
 * height of screen when window_heigh option was saved
 */
NSOPTION_INTEGER(window_screen_height, 0)