NetSurf
options.h
Go to the documentation of this file.
1/*
2 * Copyright 2012 Vincent Sanders <vince@netsurf-browser.org>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19/**
20 * \file
21 * Option specific to RISC OS
22 *
23 * Platform specific options for RISC OS can be added by editing this file
24 *
25 * Global optionsshould be added in the desktop options.h.
26 *
27 * This header is specificaly intented to be included multiple times
28 * with different macro definitions so there is no guard
29 */
30
31#ifndef NETSURF_RISCOS_OPTIONS_H_
32#define NETSURF_RISCOS_OPTIONS_H_
33
34#include "riscos/tinct.h"
35
36/* setup longer default reflow time */
37#define DEFAULT_REFLOW_PERIOD 100 /* time in cs */
38
39#define CHOICES_PREFIX "<Choices$Write>.WWW.NetSurf."
40
41#endif
42
43NSOPTION_STRING(theme, "Aletheia")
44NSOPTION_STRING(language, NULL)
46NSOPTION_INTEGER(plot_bg_quality, tinct_DITHER)
47NSOPTION_BOOL(history_tooltip, true)
48NSOPTION_BOOL(toolbar_show_buttons, true)
49NSOPTION_BOOL(toolbar_show_address, true)
50NSOPTION_BOOL(toolbar_show_throbber, true)
51NSOPTION_STRING(toolbar_browser, "0123|58|9")
52NSOPTION_STRING(toolbar_hotlist, "40|12|3")
53NSOPTION_STRING(toolbar_history, "0|12|3")
54NSOPTION_STRING(toolbar_cookies, "0|12")
55NSOPTION_BOOL(window_stagger, true)
56NSOPTION_BOOL(window_size_clone, true)
57NSOPTION_BOOL(buffer_animations, true)
58NSOPTION_BOOL(buffer_everything, true)
59NSOPTION_BOOL(open_browser_at_startup, false)
60NSOPTION_BOOL(no_plugins, false)
61NSOPTION_BOOL(block_popups, false)
62NSOPTION_BOOL(strip_extensions, false)
63NSOPTION_BOOL(confirm_overwrite, true)
64NSOPTION_BOOL(confirm_hotlist_remove, true)
65NSOPTION_STRING(url_path, "NetSurf:URL")
66NSOPTION_STRING(url_save, CHOICES_PREFIX "URL")
67NSOPTION_STRING(hotlist_path, "NetSurf:Hotlist")
69NSOPTION_STRING(recent_path, "NetSurf:Recent")
70NSOPTION_STRING(recent_save, CHOICES_PREFIX "Recent")
71NSOPTION_STRING(theme_path, "NetSurf:Themes")
72NSOPTION_STRING(theme_save, CHOICES_PREFIX "Themes")
73NSOPTION_BOOL(thumbnail_iconise, true)
74NSOPTION_BOOL(interactive_help, true)
75NSOPTION_BOOL(external_hotlists, false)
76NSOPTION_STRING(external_hotlist_app, NULL)
77
78/**
79 * width of screen when window_width option was saved
80 */
81NSOPTION_INTEGER(window_screen_width, 0)
82
83/**
84 * height of screen when window_heigh option was saved
85 */
86NSOPTION_INTEGER(window_screen_height, 0)
static nserror hotlist_save(const char *path)
Definition: hotlist.c:113
#define CHOICES_PREFIX
Definition: options.h:39
Definition: theme.h:64
Tinct SWI numbers and flags for version 0.11.
#define tinct_ERROR_DIFFUSE
Definition: tinct.h:136
#define tinct_DITHER
Definition: tinct.h:135
#define NSOPTION_INTEGER(NAME, DEFAULT)
Definition: nsoption.c:54
#define NSOPTION_BOOL(NAME, DEFAULT)
Definition: nsoption.c:48
#define NSOPTION_STRING(NAME, DEFAULT)
Definition: nsoption.c:51