From 611ec68e46d77168ff16b00e083d362e29be007d Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 2 Jan 2006 23:31:29 +0000 Subject: [project @ 2006-01-02 23:31:28 by jmb] Implement font default option properly svn path=/import/netsurf/; revision=1969 --- desktop/options.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'desktop/options.c') diff --git a/desktop/options.c b/desktop/options.c index ad8f17042..2310b3a27 100644 --- a/desktop/options.c +++ b/desktop/options.c @@ -21,6 +21,7 @@ #include #include "libxml/HTMLparser.h" #include "libxml/HTMLtree.h" +#include "netsurf/css/css.h" #include "netsurf/desktop/options.h" #include "netsurf/desktop/tree.h" #include "netsurf/utils/log.h" @@ -67,6 +68,8 @@ bool option_send_referer = true; bool option_animate_images = true; /** How many days to retain URL data for */ int option_expire_url = 28; +/** Default font family */ +int option_font_default = CSS_FONT_FAMILY_SANS_SERIF; EXTRA_OPTION_DEFINE @@ -91,7 +94,8 @@ struct { { "minimum_gif_delay", OPTION_INTEGER, &option_minimum_gif_delay }, { "send_referer", OPTION_BOOL, &option_send_referer }, { "animate_images", OPTION_BOOL, &option_animate_images }, - { "expire_url", OPTION_INTEGER, &option_expire_url }, \ + { "expire_url", OPTION_INTEGER, &option_expire_url }, + { "font_default", OPTION_INTEGER, &option_font_default }, EXTRA_OPTION_TABLE }; -- cgit v1.2.3