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#ifndef _NETSURF_FRAMEBUFFER_OPTIONS_H_
20#define _NETSURF_FRAMEBUFFER_OPTIONS_H_
21
22/* currently nothing here */
23
24#endif
25
26/***** surface options *****/
27
28NSOPTION_INTEGER(fb_depth, 32)
29NSOPTION_INTEGER(fb_refresh, 70)
30NSOPTION_STRING(fb_device, NULL)
31NSOPTION_STRING(fb_input_devpath, NULL)
32NSOPTION_STRING(fb_input_glob, NULL)
33
34/***** toolkit options *****/
35
36/** toolkit furniture size */
37NSOPTION_INTEGER(fb_furniture_size, 18)
38/** toolbar furniture size */
39NSOPTION_INTEGER(fb_toolbar_size, 30)
40/** toolbar layout */
41NSOPTION_STRING(fb_toolbar_layout, NULL)
42/** enable on screen keyboard */
43NSOPTION_BOOL(fb_osk, false)
44
45/***** font options *****/
46
47/** render all fonts monochrome */
48NSOPTION_BOOL(fb_font_monochrome, false)
49/** size of font glyph cache in kilobytes. */
50NSOPTION_INTEGER(fb_font_cachesize, 2048)
51
52/* Font face paths. These are treated as absolute paths if they start
53 * with a / otherwise the compile time resource path is searched.
54 */
55NSOPTION_STRING(fb_face_sans_serif, NULL)
56NSOPTION_STRING(fb_face_sans_serif_bold, NULL)
57NSOPTION_STRING(fb_face_sans_serif_italic, NULL)
58NSOPTION_STRING(fb_face_sans_serif_italic_bold, NULL)
59NSOPTION_STRING(fb_face_serif, NULL)
60NSOPTION_STRING(fb_face_serif_bold, NULL)
61NSOPTION_STRING(fb_face_monospace, NULL)
62NSOPTION_STRING(fb_face_monospace_bold, NULL)
63NSOPTION_STRING(fb_face_cursive, NULL)
64NSOPTION_STRING(fb_face_fantasy, NULL)
65
66/*
67 * Local Variables:
68 * c-basic-offset:8
69 * End:
70 */
#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