From 912b3bcde80ad2a9a168d0201513da371ed148b0 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 5 Mar 2011 11:42:31 +0000 Subject: Enable selection of rendering engine (graphics.library, Cairo) at runtime, if we're compiled with Cairo support. svn path=/trunk/netsurf/; revision=11912 --- amiga/options.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'amiga/options.h') diff --git a/amiga/options.h b/amiga/options.h index d1e39b8ec..46928e7ad 100644 --- a/amiga/options.h +++ b/amiga/options.h @@ -1,5 +1,5 @@ /* - * Copyright 2008 - 2010 Chris Young + * Copyright 2008 - 2011 Chris Young * * This file is part of NetSurf, http://www.netsurf-browser.org/ * @@ -63,6 +63,7 @@ extern int option_cookies_window_xpos; extern int option_cookies_window_ypos; extern int option_cookies_window_xsize; extern int option_cookies_window_ysize; +extern int option_cairo_renderer; #define EXTRA_OPTION_DEFINE \ char *option_url_file = 0; \ @@ -108,6 +109,7 @@ int option_cookies_window_xpos = 0; \ int option_cookies_window_ypos = 0; \ int option_cookies_window_xsize = 0; \ int option_cookies_window_ysize = 0; \ +int option_cairo_renderer = 1; \ #define EXTRA_OPTION_TABLE \ { "url_file", OPTION_STRING, &option_url_file }, \ @@ -152,5 +154,6 @@ int option_cookies_window_ysize = 0; \ { "cookies_window_xpos", OPTION_INTEGER, &option_cookies_window_xpos}, \ { "cookies_window_ypos", OPTION_INTEGER, &option_cookies_window_ypos}, \ { "cookies_window_xsize", OPTION_INTEGER, &option_cookies_window_xsize}, \ -{ "cookies_window_ysize", OPTION_INTEGER, &option_cookies_window_ysize}, +{ "cookies_window_ysize", OPTION_INTEGER, &option_cookies_window_ysize}, \ +{ "cairo_renderer", OPTION_INTEGER, &option_cairo_renderer}, #endif -- cgit v1.2.3