From 403f12872d55a71b04287ed828be0c63be19e856 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Mon, 4 Oct 2004 23:54:42 +0000 Subject: [project @ 2004-10-04 23:54:42 by rjw] Moved GIF file reading to image/, optimisation of plotting for GIFs, JNGs, PNGs and JPEGs, initial work for toolbar customisation. Possibly some other things too. svn path=/import/netsurf/; revision=1301 --- desktop/options.c | 3 +++ desktop/options.h | 1 + 2 files changed, 4 insertions(+) (limited to 'desktop') diff --git a/desktop/options.c b/desktop/options.c index 8dafb98f5..a777f6d12 100644 --- a/desktop/options.c +++ b/desktop/options.c @@ -53,6 +53,8 @@ bool option_ssl_verify_certificates = true; int option_memory_cache_size = 2 * 1024 * 1024; /** Whether to block advertisements */ bool option_block_ads = false; +/** Minimum GIF animation delay */ +int option_minimum_gif_delay = 10; /** Whether to send the referer HTTP header */ bool option_send_referer = true; @@ -76,6 +78,7 @@ struct { { "ssl_verify_certificates", OPTION_BOOL, &option_ssl_verify_certificates }, { "memory_cache_size", OPTION_INTEGER, &option_memory_cache_size }, { "block_advertisements", OPTION_BOOL, &option_block_ads }, + { "minimum_gif_delay", OPTION_INTEGER, &option_minimum_gif_delay }, { "send_referer", OPTION_BOOL, &option_send_referer }, EXTRA_OPTION_TABLE }; diff --git a/desktop/options.h b/desktop/options.h index ee34c2097..0724f8c65 100644 --- a/desktop/options.h +++ b/desktop/options.h @@ -39,6 +39,7 @@ extern char *option_accept_language; extern bool option_ssl_verify_certificates; extern int option_memory_cache_size; extern bool option_block_ads; +extern int option_minimum_gif_delay; extern bool option_send_referer; void options_read(const char *path); -- cgit v1.2.3