From 9d305e4ec0e621ac76adbed65780aa5ea73a0dd9 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Sun, 23 May 2004 12:22:05 +0000 Subject: [project @ 2004-05-23 12:22:05 by rjw] Improved style guide compliance and (incomplete) option to save window starting characteristics. svn path=/import/netsurf/; revision=891 --- riscos/options.h | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'riscos/options.h') diff --git a/riscos/options.h b/riscos/options.h index 095a799c8..3dfb44d4d 100644 --- a/riscos/options.h +++ b/riscos/options.h @@ -4,6 +4,7 @@ * http://www.opensource.org/licenses/gpl-license * Copyright 2003 Phil Mellor * Copyright 2004 James Bursa + * Copyright 2004 Richard Wilson */ /** \file @@ -32,6 +33,13 @@ extern bool option_toolbar_show_buttons; extern bool option_toolbar_show_address; extern bool option_toolbar_show_throbber; extern bool option_animate_images; +extern int option_window_x; +extern int option_window_y; +extern int option_window_width; +extern int option_window_height; +extern int option_window_screen_width; +extern int option_window_screen_height; + #define EXTRA_OPTION_DEFINE \ bool option_use_mouse_gestures = false;\ @@ -51,6 +59,12 @@ bool option_toolbar_show_buttons = true; \ bool option_toolbar_show_address = true; \ bool option_toolbar_show_throbber = true; \ bool option_animate_images = true; +int option_window_x = 0; +int option_window_y = 0; +int option_window_width = 0; +int option_window_height = 0; +int option_window_screen_width = 0; +int option_window_screen_height = 0; #define EXTRA_OPTION_TABLE \ { "use_mouse_gestures", OPTION_BOOL, &option_use_mouse_gestures },\ @@ -69,6 +83,12 @@ bool option_animate_images = true; { "toolbar_show_buttons", OPTION_BOOL, &option_toolbar_show_buttons }, \ { "toolbar_show_address", OPTION_BOOL, &option_toolbar_show_address }, \ { "toolbar_show_throbber", OPTION_BOOL, &option_toolbar_show_throbber }, \ -{ "animate_images", OPTION_BOOL, &option_animate_images } +{ "animate_images", OPTION_BOOL, &option_animate_images }, \ +{ "window_x", OPTION_INTEGER, &option_window_x }, \ +{ "window_y", OPTION_INTEGER, &option_window_y }, \ +{ "window_width", OPTION_INTEGER, &option_window_width }, \ +{ "window_height", OPTION_INTEGER, &option_window_height }, \ +{ "window_screen_width", OPTION_INTEGER, &option_window_screen_width }, \ +{ "window_screen_height", OPTION_INTEGER, &option_window_screen_height } #endif -- cgit v1.2.3