From bacd8d229c478918f477026bbef2e752d5d67647 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 20 Dec 2019 12:55:54 +0000 Subject: make RISC OS specific window_screen_ options limited to that frontend --- frontends/riscos/options.h | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'frontends/riscos') diff --git a/frontends/riscos/options.h b/frontends/riscos/options.h index cb2b78bd8..bf85f07c2 100644 --- a/frontends/riscos/options.h +++ b/frontends/riscos/options.h @@ -16,12 +16,20 @@ * along with this program. If not, see . */ -/** \file - * RISC OS specific options. +/** + * \file + * Option specific to RISC OS + * + * Platform specific options for RISC OS can be added by editing this file + * + * Global optionsshould be added in the desktop options.h. + * + * This header is specificaly intented to be included multiple times + * with different macro definitions so there is no guard */ -#ifndef _NETSURF_RISCOS_OPTIONS_H_ -#define _NETSURF_RISCOS_OPTIONS_H_ +#ifndef NETSURF_RISCOS_OPTIONS_H_ +#define NETSURF_RISCOS_OPTIONS_H_ #include "riscos/tinct.h" @@ -66,3 +74,13 @@ NSOPTION_BOOL(thumbnail_iconise, true) NSOPTION_BOOL(interactive_help, true) NSOPTION_BOOL(external_hotlists, false) NSOPTION_STRING(external_hotlist_app, NULL) + +/** + * width of screen when window_width option was saved + */ +NSOPTION_INTEGER(window_screen_width, 0) + +/** + * height of screen when window_heigh option was saved + */ +NSOPTION_INTEGER(window_screen_height, 0) -- cgit v1.2.3