NetSurf
options.h
Go to the documentation of this file.
1/*
2 * Copyright 2008 - 2020 Chris Young <chris@unsatisfactorysoftware.co.uk>
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#ifndef AMIGA_OPTIONS_H
20#define AMIGA_OPTIONS_H
21
22/* currently nothing here */
23
24#endif
25
26
27
28NSOPTION_STRING(url_file, NULL)
29NSOPTION_STRING(hotlist_file, NULL)
30NSOPTION_STRING(pubscreen_name, NULL)
31NSOPTION_STRING(screen_modeid, NULL)
32NSOPTION_INTEGER(screen_compositing, -1)
33NSOPTION_INTEGER(screen_ydpi, 85)
34NSOPTION_INTEGER(cache_bitmaps, 0)
35NSOPTION_STRING(theme, "PROGDIR:Resources/Themes/Default")
36NSOPTION_BOOL(clipboard_write_utf8, false)
37NSOPTION_BOOL(truecolour_mouse_pointers, false)
38NSOPTION_BOOL(os_mouse_pointers, true)
39NSOPTION_BOOL(use_openurl_lib, false)
40NSOPTION_BOOL(new_tab_is_active, false)
41NSOPTION_BOOL(new_tab_last, false)
42NSOPTION_BOOL(tab_close_warn, true)
43NSOPTION_BOOL(tab_always_show, false)
44NSOPTION_BOOL(tab_new_session, false) /* When NetSurf is already running, open new tab */
45NSOPTION_BOOL(kiosk_mode, false)
46NSOPTION_STRING(search_engines_file, "PROGDIR:Resources/SearchEngines")
47NSOPTION_STRING(arexx_dir, "PROGDIR:Rexx")
48NSOPTION_STRING(arexx_startup, "Startup.nsrx")
49NSOPTION_STRING(arexx_shutdown, "Shutdown.nsrx")
50NSOPTION_BOOL(arexx_allow_exec, false)
52NSOPTION_BOOL(download_notify, true)
53NSOPTION_BOOL(download_notify_progress, false)
54NSOPTION_BOOL(faster_scroll, true)
55NSOPTION_BOOL(scale_quality, false)
56NSOPTION_INTEGER(dither_quality, 0)
57NSOPTION_INTEGER(mask_alpha, 0)
58NSOPTION_BOOL(ask_overwrite, true)
59NSOPTION_INTEGER(printer_unit, 0)
61NSOPTION_BOOL(startup_no_window, false)
62NSOPTION_BOOL(close_no_quit, false)
63NSOPTION_BOOL(hide_docky_icon, false)
64NSOPTION_STRING(font_unicode, NULL)
65NSOPTION_STRING(font_surrogate, NULL)
66NSOPTION_STRING(font_unicode_file, NULL)
67NSOPTION_BOOL(font_unicode_only, false)
68NSOPTION_BOOL(font_antialiasing, true)
69NSOPTION_BOOL(bitmap_fonts, false)
70NSOPTION_BOOL(drag_save_icons, true)
71NSOPTION_INTEGER(hotlist_window_xpos, 0)
72NSOPTION_INTEGER(hotlist_window_ypos, 0)
73NSOPTION_INTEGER(hotlist_window_xsize, 0)
74NSOPTION_INTEGER(hotlist_window_ysize, 0)
75NSOPTION_INTEGER(history_window_xpos, 0)
76NSOPTION_INTEGER(history_window_ypos, 0)
77NSOPTION_INTEGER(history_window_xsize, 0)
78NSOPTION_INTEGER(history_window_ysize, 0)
79NSOPTION_INTEGER(cookies_window_xpos, 0)
80NSOPTION_INTEGER(cookies_window_ypos, 0)
81NSOPTION_INTEGER(cookies_window_xsize, 0)
82NSOPTION_INTEGER(cookies_window_ysize, 0)
83NSOPTION_INTEGER(web_search_width, 0)
84NSOPTION_BOOL(window_simple_refresh, true)
85NSOPTION_BOOL(resize_with_contents, false)
86NSOPTION_INTEGER(reformat_delay, 0)
87NSOPTION_INTEGER(redraw_tile_size_x, 0)
88NSOPTION_INTEGER(redraw_tile_size_y, 0)
89NSOPTION_INTEGER(monitor_aspect_x, 0)
90NSOPTION_INTEGER(monitor_aspect_y, 0)
91NSOPTION_BOOL(accept_lang_locale, true)
92
93/* Local charset when using iconv */
94NSOPTION_STRING(local_charset, "ISO-8859-1")
95
96#ifdef __amigaos4__
97/** Options relevant for OS4 only **/
98
99/* Local charset IANA number when using codesets */
100NSOPTION_INTEGER(local_codeset, 0)
101
102/* Use ExtMem */
103NSOPTION_BOOL(use_extmem, true)
104
105#else
106/** Options relevant for OS3 only **/
107
108NSOPTION_BOOL(friend_bitmap, false)
109#endif
110
static char * download_dir
Current download directory.
Definition: download.c:144
static float print_scale
Definition: print.c:87
Definition: theme.h:64
#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