diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-12-20 12:55:54 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-12-20 12:59:28 +0000 |
commit | bacd8d229c478918f477026bbef2e752d5d67647 (patch) | |
tree | f757239e79f5d9f48e57a6f58877b184d3246dc8 /frontends | |
parent | eba05b0d389a83d09798099e8894e297c973ac6e (diff) | |
download | netsurf-bacd8d229c478918f477026bbef2e752d5d67647.tar.gz netsurf-bacd8d229c478918f477026bbef2e752d5d67647.tar.bz2 |
make RISC OS specific window_screen_ options limited to that frontend
Diffstat (limited to 'frontends')
-rw-r--r-- | frontends/riscos/options.h | 26 |
1 files changed, 22 insertions, 4 deletions
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 <http://www.gnu.org/licenses/>. */ -/** \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) |