NetSurf
options.h
Go to the documentation of this file.
1/*
2 * Copyright 2008 - 2025 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_last, false)
41NSOPTION_BOOL(tab_close_warn, true)
42NSOPTION_BOOL(tab_always_show, false)
43NSOPTION_BOOL(tab_new_session, false) /* When NetSurf is already running, open new tab */
44NSOPTION_BOOL(kiosk_mode, false)
45NSOPTION_STRING(search_engines_file, "PROGDIR:Resources/SearchEngines")
46NSOPTION_STRING(arexx_dir, "PROGDIR:Rexx")
47NSOPTION_STRING(arexx_startup, "Startup.nsrx")
48NSOPTION_STRING(arexx_shutdown, "Shutdown.nsrx")
49NSOPTION_BOOL(arexx_allow_exec, false)
51NSOPTION_BOOL(download_notify, true)
52NSOPTION_BOOL(download_notify_progress, false)
53NSOPTION_BOOL(faster_scroll, true)
54NSOPTION_BOOL(scale_quality, false)
55NSOPTION_INTEGER(dither_quality, 0)
56NSOPTION_INTEGER(mask_alpha, 0)
57NSOPTION_BOOL(ask_overwrite, true)
58NSOPTION_INTEGER(printer_unit, 0)
60NSOPTION_BOOL(startup_no_window, false)
61NSOPTION_BOOL(close_no_quit, false)
62NSOPTION_BOOL(hide_docky_icon, false)
63NSOPTION_STRING(font_unicode, NULL)
64NSOPTION_STRING(font_surrogate, NULL)
65NSOPTION_STRING(font_unicode_file, NULL)
66NSOPTION_BOOL(font_unicode_only, false)
67NSOPTION_BOOL(font_antialiasing, true)
68NSOPTION_BOOL(bitmap_fonts, false)
69NSOPTION_BOOL(drag_save_icons, true)
70NSOPTION_INTEGER(web_search_width, 0)
71NSOPTION_BOOL(window_simple_refresh, true)
72NSOPTION_BOOL(resize_with_contents, false)
73NSOPTION_INTEGER(reformat_delay, 0)
74NSOPTION_INTEGER(redraw_tile_size_x, 0)
75NSOPTION_INTEGER(redraw_tile_size_y, 0)
76NSOPTION_INTEGER(monitor_aspect_x, 0)
77NSOPTION_INTEGER(monitor_aspect_y, 0)
78NSOPTION_BOOL(accept_lang_locale, true)
79
80/* Local charset when using iconv */
81NSOPTION_STRING(local_charset, "ISO-8859-1")
82
83#ifdef __amigaos4__
84/** Options relevant for OS4 only **/
85
86/* Local charset IANA number when using codesets */
87NSOPTION_INTEGER(local_codeset, 0)
88
89/* Use ExtMem */
90NSOPTION_BOOL(use_extmem, true)
91
92/* Don't invert alpha channel (guigfx) */
93NSOPTION_BOOL(invert_alpha, false)
94
95#else
96/** Options relevant for OS3 only **/
97
98NSOPTION_BOOL(friend_bitmap, false)
99
100/* Invert alpha channel (guigfx)
101 * Workaround for guigfx/render bug
102 */
103NSOPTION_BOOL(invert_alpha, true)
104
105#endif
106
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