mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 01:09:39 +03:00
1319ff78c8
Clean up and rewrite options code. svn path=/import/netsurf/; revision=536
36 lines
1.1 KiB
C
36 lines
1.1 KiB
C
/*
|
|
* This file is part of NetSurf, http://netsurf.sourceforge.net/
|
|
* Licensed under the GNU General Public License,
|
|
* http://www.opensource.org/licenses/gpl-license
|
|
* Copyright 2003 Phil Mellor <monkeyson@users.sourceforge.net>
|
|
* Copyright 2004 James Bursa <bursa@users.sourceforge.net>
|
|
*/
|
|
|
|
/** \file
|
|
* RISC OS specific options.
|
|
*/
|
|
|
|
#ifndef _NETSURF_RISCOS_OPTIONS_H_
|
|
#define _NETSURF_RISCOS_OPTIONS_H_
|
|
|
|
#include "netsurf/desktop/options.h"
|
|
|
|
extern int option_use_mouse_gestures;
|
|
extern int option_allow_text_selection;
|
|
extern int option_show_toolbar;
|
|
extern char *option_theme;
|
|
|
|
#define EXTRA_OPTION_DEFINE \
|
|
int option_use_mouse_gestures = false;\
|
|
int option_allow_text_selection = true;\
|
|
int option_show_toolbar = true;\
|
|
char *option_theme = 0;
|
|
|
|
#define EXTRA_OPTION_TABLE \
|
|
{ "use_mouse_gestures", OPTION_BOOL, &option_use_mouse_gestures },\
|
|
{ "allow_text_selection", OPTION_BOOL, &option_allow_text_selection },\
|
|
{ "show_toolbar", OPTION_BOOL, &option_show_toolbar },\
|
|
{ "theme", OPTION_STRING, &option_theme }
|
|
|
|
#endif
|