Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * Copyright 2004 James Bursa <bursa@users.sourceforge.net>
  3.  *
  4.  * This file is part of NetSurf, http://www.netsurf-browser.org/
  5.  *
  6.  * NetSurf is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; version 2 of the License.
  9.  *
  10.  * NetSurf is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  * GNU General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU General Public License
  16.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  17.  */
  18.  
  19. /** \file
  20.  * Option available on all platforms
  21.  *
  22.  * Non-platform specific options can be added by editing this file
  23.  *
  24.  * Platform specific options should be added in the platform options.h.
  25.  *
  26.  * The following types of options are supported:
  27.  *  - bool (OPTION_BOOL) boolean
  28.  *  - int (OPTION_INTEGER) integer
  29.  *  - colour (OPTION_COLOUR) colour
  30.  *  - char* (OPTION_STRING) must be allocated on heap, may be NULL
  31.  */
  32.  
  33. #ifndef _NETSURF_DESKTOP_OPTIONS_MAIN_H_
  34. #define _NETSURF_DESKTOP_OPTIONS_MAIN_H_
  35.  
  36. #define NSOPTION_MAIN_DEFINE                    \
  37.         /** An HTTP proxy should be used. */    \
  38.         bool http_proxy;                        \
  39.         /** Hostname of proxy. */               \
  40.         char *http_proxy_host;                  \
  41.         /** Proxy port. */                      \
  42.         int http_proxy_port;                    \
  43.         /** Proxy authentication method. */     \
  44.         int http_proxy_auth;                    \
  45.         /** Proxy authentication user name */   \
  46.         char *http_proxy_auth_user;             \
  47.         /** Proxy authentication password */    \
  48.         char *http_proxy_auth_pass;             \
  49.         /** Default font size / 0.1pt. */       \
  50.         int font_size;                          \
  51.         /** Minimum font size. */               \
  52.         int font_min_size;                      \
  53.         /** Default sans serif font */          \
  54.         char *font_sans;                        \
  55.         /** Default serif font */               \
  56.         char *font_serif;                       \
  57.         /** Default monospace font */           \
  58.         char *font_mono;                        \
  59.         /** Default cursive font */             \
  60.         char *font_cursive;                     \
  61.         /** Default fantasy font */             \
  62.         char *font_fantasy;                     \
  63.         /** Accept-Language header. */          \
  64.         char *accept_language;                  \
  65.         /** Accept-Charset header. */           \
  66.         char *accept_charset;                                   \
  67.         /** Preferred maximum size of memory cache / bytes. */  \
  68.         int memory_cache_size;                                  \
  69.         /** Preferred expiry size of disc cache / bytes. */     \
  70.         int disc_cache_size;                                    \
  71.         /** Preferred expiry age of disc cache / days. */       \
  72.         int disc_cache_age;                                     \
  73.         /** Whether to block advertisements */                  \
  74.         bool block_ads;                                         \
  75.         /** Disable website tracking, see                       \
  76.          * http://www.w3.org/Submission/2011/SUBM-web-tracking-protection-20110224/#dnt-uas */  \
  77.         bool do_not_track;                                      \
  78.         /** Minimum GIF animation delay */                      \
  79.         int minimum_gif_delay;                                  \
  80.         /** Whether to send the referer HTTP header */          \
  81.         bool send_referer;                                      \
  82.         /** Whether to fetch foreground images */               \
  83.         bool foreground_images;                                 \
  84.         /** Whether to fetch background images */               \
  85.         bool background_images;                                 \
  86.         /** Whether to animate images */                        \
  87.         bool animate_images;                                    \
  88.         /** Whether to execute javascript */                    \
  89.         bool enable_javascript;                                 \
  90.         /** How many days to retain URL data for */             \
  91.         int expire_url;                                         \
  92.         /** Default font family */                              \
  93.         int font_default;                                       \
  94.         /** ca-bundle location */                               \
  95.         char *ca_bundle;                                        \
  96.         /** ca-path location */                                 \
  97.         char *ca_path;                                          \
  98.         /** Cookie file location */                             \
  99.         char *cookie_file;                                      \
  100.         /** Cookie jar location */                              \
  101.         char *cookie_jar;                                       \
  102.         /** Home page location */                               \
  103.         char *homepage_url;                                     \
  104.         /** search web from url bar */                          \
  105.         bool search_url_bar;                                    \
  106.         /** URL completion in url bar */                        \
  107.         bool url_suggestion;                                    \
  108.         /** default web search provider */                      \
  109.         int search_provider;                                    \
  110.         /** default x position of new windows */                \
  111.         int window_x;                                           \
  112.         /** default y position of new windows */                \
  113.         int window_y;                                           \
  114.         /** default width of new windows */                     \
  115.         int window_width;                                       \
  116.         /** default height of new windows */                    \
  117.         int window_height;                                      \
  118.         /** width of screen when above options were saved */    \
  119.         int window_screen_width;                                \
  120.         /** height of screen when above options were saved */   \
  121.         int window_screen_height;                               \
  122.         /** default size of status bar vs. h scroll bar */      \
  123.         int toolbar_status_width;                               \
  124.         /** default window scale */                             \
  125.         int scale;                                                      \
  126.         /* Whether to reflow web pages while objects are fetching */    \
  127.         bool incremental_reflow;                                        \
  128.         /* Minimum time between HTML reflows while objects are fetching */ \
  129.         unsigned int min_reflow_period; /* time in cs */                \
  130.         bool core_select_menu;                                          \
  131.         /** top margin of exported page */                              \
  132.         int margin_top;                                                 \
  133.         /** bottom margin of exported page */                           \
  134.         int margin_bottom;                                              \
  135.         /** left margin of exported page */                             \
  136.         int margin_left;                                                \
  137.         /** right margin of exported page*/                             \
  138.         int margin_right;                                               \
  139.         /** scale of exported content*/                                 \
  140.         int export_scale;                                               \
  141.         /** suppressing images in printed content*/                     \
  142.         bool suppress_images;                                           \
  143.         /** turning off all backgrounds for printed content*/           \
  144.         bool remove_backgrounds;                                        \
  145.         /** turning on content loosening for printed content*/          \
  146.         bool enable_loosening;                                          \
  147.         /** compression of PDF documents*/                              \
  148.         bool enable_PDF_compression;                                    \
  149.         /** setting a password and encoding PDF documents*/             \
  150.         bool enable_PDF_password;                                       \
  151.                                                                         \
  152.         /* Fetcher configuration */                                     \
  153.         /** Maximum simultaneous active fetchers */                     \
  154.         int max_fetchers;                                               \
  155.         /** Maximum simultaneous active fetchers per host.              \
  156.          * (<=option_max_fetchers else it makes no sense) Note that     \
  157.          * rfc2616 section 8.1.4 says that there should be no more      \
  158.          * than two keepalive connections per host. None of the main    \
  159.          * browsers follow this as it slows page fetches down           \
  160.          * considerably.  See                                           \
  161.          * https://bugzilla.mozilla.org/show_bug.cgi?id=423377#c4       \
  162.          */                                                             \
  163.         int max_fetchers_per_host;                                      \
  164.         /** Maximum number of inactive fetchers cached.  The total      \
  165.          * number of handles netsurf will therefore have open is this   \
  166.          * plus option_max_fetchers.                                    \
  167.          */                                                             \
  168.         int max_cached_fetch_handles;                                   \
  169.         /** Suppress debug output from cURL. */                         \
  170.         bool suppress_curl_debug;                                       \
  171.                                                                         \
  172.         /** Whether to allow target="_blank" */                         \
  173.         bool target_blank;                                              \
  174.                                                                         \
  175.         /** Whether second mouse button opens in new tab */             \
  176.         bool button_2_tab;                                              \
  177.                                                                         \
  178.         /* system colours */                                            \
  179.         colour sys_colour_ActiveBorder;                                 \
  180.         colour sys_colour_ActiveCaption;                                \
  181.         colour sys_colour_AppWorkspace;                                 \
  182.         colour sys_colour_Background;                                   \
  183.         colour sys_colour_ButtonFace;                                   \
  184.         colour sys_colour_ButtonHighlight;                              \
  185.         colour sys_colour_ButtonShadow;                                 \
  186.         colour sys_colour_ButtonText;                                   \
  187.         colour sys_colour_CaptionText;                                  \
  188.         colour sys_colour_GrayText;                                     \
  189.         colour sys_colour_Highlight;                                    \
  190.         colour sys_colour_HighlightText;                                \
  191.         colour sys_colour_InactiveBorder;                               \
  192.         colour sys_colour_InactiveCaption;                              \
  193.         colour sys_colour_InactiveCaptionText;                          \
  194.         colour sys_colour_InfoBackground;                               \
  195.         colour sys_colour_InfoText;                                     \
  196.         colour sys_colour_Menu;                                         \
  197.         colour sys_colour_MenuText;                                     \
  198.         colour sys_colour_Scrollbar;                                    \
  199.         colour sys_colour_ThreeDDarkShadow;                             \
  200.         colour sys_colour_ThreeDFace;                                   \
  201.         colour sys_colour_ThreeDHighlight;                              \
  202.         colour sys_colour_ThreeDLightShadow;                            \
  203.         colour sys_colour_ThreeDShadow;                                 \
  204.         colour sys_colour_Window;                                       \
  205.         colour sys_colour_WindowFrame;                                  \
  206.         colour sys_colour_WindowText
  207.  
  208. #define NSOPTION_MAIN_DEFAULTS                          \
  209.         .http_proxy = false,                            \
  210.         .http_proxy_host = NULL,                        \
  211.         .http_proxy_port = 8080,                        \
  212.         .http_proxy_auth = OPTION_HTTP_PROXY_AUTH_NONE, \
  213.         .http_proxy_auth_user = NULL,                   \
  214.         .http_proxy_auth_pass = NULL,                   \
  215.         .font_size = 128,                               \
  216.         .font_min_size = 85,                            \
  217.         .font_sans = NULL,                              \
  218.         .font_serif = NULL,                             \
  219.         .font_mono = NULL,                              \
  220.         .font_cursive = NULL,                           \
  221.         .font_fantasy = NULL,                           \
  222.         .accept_language = NULL,                        \
  223.         .accept_charset = NULL,                         \
  224.         .memory_cache_size = 12 * 1024 * 1024,          \
  225.         .disc_cache_size = 1024 * 1024 * 1024,          \
  226.         .disc_cache_age = 28,                           \
  227.         .block_ads = false,                             \
  228.         .do_not_track = false,                          \
  229.         .minimum_gif_delay = 10,                        \
  230.         .send_referer = true,                           \
  231.         .foreground_images = true,                      \
  232.         .background_images = true,                      \
  233.         .animate_images = true,                         \
  234.         .expire_url = 28,                               \
  235.         .font_default = PLOT_FONT_FAMILY_SANS_SERIF,    \
  236.         .ca_bundle = NULL,                              \
  237.         .ca_path = NULL,                                \
  238.         .cookie_file = NULL,                            \
  239.         .cookie_jar = NULL,                             \
  240.         .homepage_url = NULL,                           \
  241.         .search_url_bar = false,                        \
  242.         .url_suggestion = true,                         \
  243.         .search_provider = 0,                           \
  244.         .window_x = 0,                                  \
  245.         .window_y = 0,                                  \
  246.         .window_width = 0,                              \
  247.         .window_height = 0,                             \
  248.         .window_screen_width = 0,                       \
  249.         .window_screen_height = 0,                      \
  250.         .toolbar_status_width = 6667,                   \
  251.         .scale = 100,                                   \
  252.         .incremental_reflow = true,                     \
  253.         .min_reflow_period = DEFAULT_REFLOW_PERIOD,     \
  254.         .core_select_menu = false,                      \
  255.         .margin_top = DEFAULT_MARGIN_TOP_MM,            \
  256.         .margin_bottom = DEFAULT_MARGIN_BOTTOM_MM,      \
  257.         .margin_left = DEFAULT_MARGIN_LEFT_MM,          \
  258.         .margin_right = DEFAULT_MARGIN_RIGHT_MM,        \
  259.         .export_scale = DEFAULT_EXPORT_SCALE * 100,     \
  260.         .suppress_images = false,                       \
  261.         .remove_backgrounds = false,                    \
  262.         .enable_loosening = true,                       \
  263.         .enable_PDF_compression = true,                 \
  264.         .enable_PDF_password = false,                   \
  265.         .max_fetchers = 24,                             \
  266.         .max_fetchers_per_host = 5,                     \
  267.         .max_cached_fetch_handles = 6,                  \
  268.         .suppress_curl_debug = true,                    \
  269.         .target_blank = true,                           \
  270.         .button_2_tab = true,                           \
  271.         .enable_javascript = true
  272.  
  273. #define NSOPTION_MAIN_SYS_COLOUR_DEFAULTS               \
  274.         .sys_colour_ActiveBorder = 0x00000000,          \
  275.         .sys_colour_ActiveCaption = 0x00000000,         \
  276.         .sys_colour_AppWorkspace = 0x00000000,          \
  277.         .sys_colour_Background = 0x00000000,            \
  278.         .sys_colour_ButtonFace = 0x00000000,            \
  279.         .sys_colour_ButtonHighlight = 0x00000000,       \
  280.         .sys_colour_ButtonShadow = 0x00000000,          \
  281.         .sys_colour_ButtonText = 0x00000000,            \
  282.         .sys_colour_CaptionText = 0x0000000,            \
  283.         .sys_colour_GrayText = 0x00000000,              \
  284.         .sys_colour_Highlight = 0x00000000,             \
  285.         .sys_colour_HighlightText = 0x00000000,         \
  286.         .sys_colour_InactiveBorder = 0x00000000,        \
  287.         .sys_colour_InactiveCaption = 0x00000000,       \
  288.         .sys_colour_InactiveCaptionText = 0x00000000,   \
  289.         .sys_colour_InfoBackground = 0x00000000,        \
  290.         .sys_colour_InfoText = 0x00000000,              \
  291.         .sys_colour_Menu = 0x00000000,                  \
  292.         .sys_colour_MenuText = 0x0000000,               \
  293.         .sys_colour_Scrollbar = 0x0000000,              \
  294.         .sys_colour_ThreeDDarkShadow = 0x000000,        \
  295.         .sys_colour_ThreeDFace = 0x000000,              \
  296.         .sys_colour_ThreeDHighlight = 0x000000,         \
  297.         .sys_colour_ThreeDLightShadow = 0x000000,       \
  298.         .sys_colour_ThreeDShadow = 0x000000,            \
  299.         .sys_colour_Window = 0x000000,                  \
  300.         .sys_colour_WindowFrame = 0x000000,             \
  301.         .sys_colour_WindowText = 0x000000
  302.  
  303.  
  304. #define NSOPTION_MAIN_TABLE                                             \
  305.         { "http_proxy",         OPTION_BOOL,    &nsoptions.http_proxy }, \
  306.         { "http_proxy_host",    OPTION_STRING,  &nsoptions.http_proxy_host }, \
  307.         { "http_proxy_port",    OPTION_INTEGER, &nsoptions.http_proxy_port }, \
  308.         { "http_proxy_auth",    OPTION_INTEGER, &nsoptions.http_proxy_auth }, \
  309.         { "http_proxy_auth_user", OPTION_STRING, &nsoptions.http_proxy_auth_user }, \
  310.         { "http_proxy_auth_pass", OPTION_STRING, &nsoptions.http_proxy_auth_pass }, \
  311.         { "font_size",          OPTION_INTEGER, &nsoptions.font_size }, \
  312.         { "font_min_size",      OPTION_INTEGER, &nsoptions.font_min_size }, \
  313.         { "font_sans",          OPTION_STRING,  &nsoptions.font_sans }, \
  314.         { "font_serif",         OPTION_STRING,  &nsoptions.font_serif }, \
  315.         { "font_mono",          OPTION_STRING,  &nsoptions.font_mono }, \
  316.         { "font_cursive",       OPTION_STRING,  &nsoptions.font_cursive }, \
  317.         { "font_fantasy",       OPTION_STRING,  &nsoptions.font_fantasy }, \
  318.         { "accept_language",    OPTION_STRING,  &nsoptions.accept_language }, \
  319.         { "accept_charset",     OPTION_STRING,  &nsoptions.accept_charset }, \
  320.         { "memory_cache_size",  OPTION_INTEGER, &nsoptions.memory_cache_size }, \
  321.         { "disc_cache_size",    OPTION_INTEGER, &nsoptions.disc_cache_size },   \
  322.         { "disc_cache_age",     OPTION_INTEGER, &nsoptions.disc_cache_age }, \
  323.         { "block_advertisements", OPTION_BOOL,  &nsoptions.block_ads }, \
  324.         { "do_not_track", OPTION_BOOL,  &nsoptions.do_not_track },      \
  325.         { "minimum_gif_delay",  OPTION_INTEGER, &nsoptions.minimum_gif_delay }, \
  326.         { "send_referer",       OPTION_BOOL,    &nsoptions.send_referer }, \
  327.         { "foreground_images",  OPTION_BOOL,    &nsoptions.foreground_images }, \
  328.         { "background_images",  OPTION_BOOL,    &nsoptions.background_images }, \
  329.         { "animate_images",     OPTION_BOOL,    &nsoptions.animate_images }, \
  330.         { "enable_javascript",  OPTION_BOOL,    &nsoptions.enable_javascript},  \
  331.         { "expire_url",         OPTION_INTEGER, &nsoptions.expire_url }, \
  332.         { "font_default",       OPTION_INTEGER, &nsoptions.font_default }, \
  333.         { "ca_bundle",          OPTION_STRING,  &nsoptions.ca_bundle }, \
  334.         { "ca_path",            OPTION_STRING,  &nsoptions.ca_path },   \
  335.         { "cookie_file",        OPTION_STRING,  &nsoptions.cookie_file }, \
  336.         { "cookie_jar",         OPTION_STRING,  &nsoptions.cookie_jar }, \
  337.         { "homepage_url",       OPTION_STRING,  &nsoptions.homepage_url }, \
  338.         { "search_url_bar",     OPTION_BOOL,    &nsoptions.search_url_bar}, \
  339.         { "search_provider",    OPTION_INTEGER, &nsoptions.search_provider}, \
  340.         { "url_suggestion",     OPTION_BOOL,    &nsoptions.url_suggestion }, \
  341.         { "window_x",           OPTION_INTEGER, &nsoptions.window_x },  \
  342.         { "window_y",           OPTION_INTEGER, &nsoptions.window_y },  \
  343.         { "window_width",       OPTION_INTEGER, &nsoptions.window_width }, \
  344.         { "window_height",      OPTION_INTEGER, &nsoptions.window_height }, \
  345.         { "window_screen_width", OPTION_INTEGER, &nsoptions.window_screen_width }, \
  346.         { "window_screen_height", OPTION_INTEGER, &nsoptions.window_screen_height }, \
  347.         { "toolbar_status_size", OPTION_INTEGER, &nsoptions.toolbar_status_width }, \
  348.         { "scale",              OPTION_INTEGER, &nsoptions.scale },     \
  349.         { "incremental_reflow", OPTION_BOOL,    &nsoptions.incremental_reflow }, \
  350.         { "min_reflow_period",  OPTION_INTEGER, &nsoptions.min_reflow_period }, \
  351.         { "core_select_menu",   OPTION_BOOL,    &nsoptions.core_select_menu }, \
  352.                 /* Fetcher options */                                   \
  353.         { "max_fetchers",       OPTION_INTEGER, &nsoptions.max_fetchers }, \
  354.         { "max_fetchers_per_host", OPTION_INTEGER, &nsoptions.max_fetchers_per_host }, \
  355.         { "max_cached_fetch_handles", OPTION_INTEGER, &nsoptions.max_cached_fetch_handles }, \
  356.         { "suppress_curl_debug",OPTION_BOOL,    &nsoptions.suppress_curl_debug }, \
  357.         { "target_blank",       OPTION_BOOL,    &nsoptions.target_blank }, \
  358.         { "button_2_tab",       OPTION_BOOL,    &nsoptions.button_2_tab }, \
  359.                 /* PDF / Print options*/                                \
  360.         { "margin_top",         OPTION_INTEGER, &nsoptions.margin_top}, \
  361.         { "margin_bottom",      OPTION_INTEGER, &nsoptions.margin_bottom}, \
  362.         { "margin_left",        OPTION_INTEGER, &nsoptions.margin_left}, \
  363.         { "margin_right",       OPTION_INTEGER, &nsoptions.margin_right}, \
  364.         { "export_scale",       OPTION_INTEGER, &nsoptions.export_scale}, \
  365.         { "suppress_images",    OPTION_BOOL,    &nsoptions.suppress_images}, \
  366.         { "remove_backgrounds", OPTION_BOOL,    &nsoptions.remove_backgrounds}, \
  367.         { "enable_loosening",   OPTION_BOOL,    &nsoptions.enable_loosening}, \
  368.         { "enable_PDF_compression", OPTION_BOOL, &nsoptions.enable_PDF_compression}, \
  369.         { "enable_PDF_password", OPTION_BOOL,   &nsoptions.enable_PDF_password}, \
  370.                                                                         \
  371.                 /* System colours */                                    \
  372.         { "sys_colour_ActiveBorder",OPTION_COLOUR,&nsoptions.sys_colour_ActiveBorder }, \
  373.         { "sys_colour_ActiveCaption",OPTION_COLOUR,&nsoptions.sys_colour_ActiveCaption }, \
  374.         { "sys_colour_AppWorkspace",OPTION_COLOUR,&nsoptions.sys_colour_AppWorkspace }, \
  375.         { "sys_colour_Background",OPTION_COLOUR,&nsoptions.sys_colour_Background }, \
  376.         { "sys_colour_ButtonFace",OPTION_COLOUR,&nsoptions.sys_colour_ButtonFace }, \
  377.         { "sys_colour_ButtonHighlight",OPTION_COLOUR,&nsoptions.sys_colour_ButtonHighlight }, \
  378.         { "sys_colour_ButtonShadow",OPTION_COLOUR,&nsoptions.sys_colour_ButtonShadow }, \
  379.         { "sys_colour_ButtonText",OPTION_COLOUR,&nsoptions.sys_colour_ButtonText }, \
  380.         { "sys_colour_CaptionText",OPTION_COLOUR,&nsoptions.sys_colour_CaptionText }, \
  381.         { "sys_colour_GrayText",OPTION_COLOUR,&nsoptions.sys_colour_GrayText }, \
  382.         { "sys_colour_Highlight",OPTION_COLOUR,&nsoptions.sys_colour_Highlight }, \
  383.         { "sys_colour_HighlightText",OPTION_COLOUR,&nsoptions.sys_colour_HighlightText }, \
  384.         { "sys_colour_InactiveBorder",OPTION_COLOUR,&nsoptions.sys_colour_InactiveBorder }, \
  385.         { "sys_colour_InactiveCaption",OPTION_COLOUR,&nsoptions.sys_colour_InactiveCaption }, \
  386.         { "sys_colour_InactiveCaptionText",OPTION_COLOUR,&nsoptions.sys_colour_InactiveCaptionText }, \
  387.         { "sys_colour_InfoBackground",OPTION_COLOUR,&nsoptions.sys_colour_InfoBackground }, \
  388.         { "sys_colour_InfoText",OPTION_COLOUR,&nsoptions.sys_colour_InfoText }, \
  389.         { "sys_colour_Menu",OPTION_COLOUR,&nsoptions.sys_colour_Menu }, \
  390.         { "sys_colour_MenuText",OPTION_COLOUR,&nsoptions.sys_colour_MenuText }, \
  391.         { "sys_colour_Scrollbar",OPTION_COLOUR,&nsoptions.sys_colour_Scrollbar }, \
  392.         { "sys_colour_ThreeDDarkShadow",OPTION_COLOUR,&nsoptions.sys_colour_ThreeDDarkShadow }, \
  393.         { "sys_colour_ThreeDFace",OPTION_COLOUR,&nsoptions.sys_colour_ThreeDFace }, \
  394.         { "sys_colour_ThreeDHighlight",OPTION_COLOUR,&nsoptions.sys_colour_ThreeDHighlight }, \
  395.         { "sys_colour_ThreeDLightShadow", OPTION_COLOUR,&nsoptions.sys_colour_ThreeDLightShadow }, \
  396.         { "sys_colour_ThreeDShadow", OPTION_COLOUR,&nsoptions.sys_colour_ThreeDShadow },        \
  397.         { "sys_colour_Window", OPTION_COLOUR,&nsoptions.sys_colour_Window }, \
  398.         { "sys_colour_WindowFrame", OPTION_COLOUR,&nsoptions.sys_colour_WindowFrame }, \
  399.         { "sys_colour_WindowText", OPTION_COLOUR,&nsoptions.sys_colour_WindowText }
  400.  
  401. #endif
  402.