This commit is contained in:
adamdunkels 2006-09-26 22:09:26 +00:00
parent b9607d3be2
commit 15aba3d619

View File

@ -32,7 +32,7 @@
*
* This file is part of the Contiki desktop OS
*
* $Id: contiki-conf.h,v 1.3 2006/08/15 14:48:47 oliverschmidt Exp $
* $Id: contiki-conf.h,v 1.4 2006/09/26 22:09:26 adamdunkels Exp $
*
*/
@ -94,151 +94,6 @@ typedef unsigned long clock_time_t;
#define CLOCK_CONF_SECOND 1000
/*------------------------------------------------------------------------------*/
#include "ctk/ctk-vncarch.h"
/*
* This file is used for setting various compile time settings for the
* CTK GUI toolkit.
*/
/* Toggles mouse support (must have support functions in the
architecture specific files to work). */
#define CTK_CONF_MOUSE_SUPPORT 1
/* Defines which key that is to be used for activating the menus */
#define CTK_CONF_MENU_KEY CH_F1
/* Defines which key that is to be used for switching the frontmost
window. */
#define CTK_CONF_WINDOWSWITCH_KEY CH_F3
/* Defines which key that is to be used for switching to the next
widget. */
#define CTK_CONF_WIDGETDOWN_KEY CH_TAB
/* Defines which key that is to be used for switching to the prevoius
widget. */
#define CTK_CONF_WIDGETUP_KEY CH_F5
/* Toggles support for icons. */
#define CTK_CONF_ICONS 1 /* 107 bytes */
/* Toggles support for icon bitmaps. */
#define CTK_CONF_ICON_BITMAPS 1
/* Toggles support for icon textmaps. */
#define CTK_CONF_ICON_TEXTMAPS 1
/* Toggles support for movable windows. */
#define CTK_CONF_WINDOWMOVE 1 /* 333 bytes */
/* Toggles support for closable windows. */
#define CTK_CONF_WINDOWCLOSE 1 /* 14 bytes */
/* Toggles support for menus. */
#define CTK_CONF_MENUS 1 /* 1384 bytes */
/* Defines the default width of a menu. */
#define CTK_CONF_MENUWIDTH 16
/* The maximum number of menu items in each menu. */
#define CTK_CONF_MAXMENUITEMS 10
#define CTK_CONF_WIDGET_FLAGS 1
/*------------------------------------------------------------------------------*/
#define COLOR_BLACK 0
#define COLOR_WHITE 1
#define BORDERCOLOR COLOR_BLACK
#define SCREENCOLOR COLOR_BLACK
#define WINDOWCOLOR_FOCUS COLOR_WHITE
#define WINDOWCOLOR COLOR_WHITE
#define DIALOGCOLOR COLOR_WHITE
#define WIDGETCOLOR_HLINK COLOR_WHITE
#define WIDGETCOLOR_FWIN COLOR_WHITE
#define WIDGETCOLOR COLOR_WHITE
#define WIDGETCOLOR_DIALOG COLOR_WHITE
#define WIDGETCOLOR_FOCUS COLOR_WHITE
#define MENUCOLOR COLOR_WHITE
#define OPENMENUCOLOR COLOR_WHITE
#define ACTIVEMENUITEMCOLOR COLOR_WHITE
/*------------------------------------------------------------------------------*/
/* Maximum number of clients to the telnet server */
#define CTK_TERM_CONF_MAX_TELNET_CLIENTS 3
/* Telnet server port */
#define CTK_TERM_CONF_TELNET_PORT 23
/* Serial server output buffer size */
#define CTK_TERM_CONF_SERIAL_BUFFER_SIZE 300
/* Maximum number of clients to the terminal module.
Should be set to CTK_TERM_CONF_MAX_TELNET_CLIENTS or
CTK_TERM_CONF_MAX_TELNET_CLIENTS+1 if the serial server is used too
*/
#define CTK_TERM_CONF_MAX_CLIENTS (CTK_TERM_CONF_MAX_TELNET_CLIENTS+1)
/*------------------------------------------------------------------------------*/
#define CTK_VNCSERVER_CONF_NUMCONNS 10
#define CTK_VNCSERVER_CONF_MAX_ICONS 16
/*------------------------------------------------------------------------------*/
#define EMAIL_CONF_WIDTH 36
#define EMAIL_CONF_HEIGHT 16
/*------------------------------------------------------------------------------*/
#define IRC_CONF_WIDTH 78
#define IRC_CONF_HEIGHT 21
#define IRC_CONF_SYSTEM_STRING "GTK simulation"
/*------------------------------------------------------------------------------*/
#define LIBCONIO_CONF_SCREEN_WIDTH 80
#define LIBCONIO_CONF_SCREEN_HEIGHT 45
/*------------------------------------------------------------------------------*/
#define LOG_CONF_ENABLED 1
/*------------------------------------------------------------------------------*/
#define PROGRAM_HANDLER_CONF_MAX_NUMDSCS 10
/*------------------------------------------------------------------------------*/
#define SHELL_GUI_CONF_XSIZE 46
#define SHELL_GUI_CONF_YSIZE 22
/*------------------------------------------------------------------------------*/
#define TELNETD_CONF_LINELEN 80
#define TELNETD_CONF_NUMLINES 16
/*------------------------------------------------------------------------------*/
#define UIP_CONF_MAX_CONNECTIONS 40
@ -255,45 +110,6 @@ architecture specific files to work). */
#define UIP_CONF_UDP_CHECKSUMS 0
/*------------------------------------------------------------------------------*/
#define VNC_CONF_VIEWPORT_WIDTH (32*8)
#define VNC_CONF_VIEWPORT_HEIGHT (16*8)
#define VNC_CONF_REFRESH_ROWS 8
/*------------------------------------------------------------------------------*/
/* The size of the HTML viewing area. */
#define WWW_CONF_WEBPAGE_WIDTH 76
#define WWW_CONF_WEBPAGE_HEIGHT 30
/* The size of the "Back" history. */
#define WWW_CONF_HISTORY_SIZE 40
/* Defines the maximum length of an URL */
#define WWW_CONF_MAX_URLLEN 200
/* The maxiumum number of widgets (i.e., hyperlinks, form elements) on
a page. */
#define WWW_CONF_MAX_NUMPAGEWIDGETS 80
/* Turns <center> support on or off; must be on for forms to work. */
#define WWW_CONF_RENDERSTATE 1
/* Toggles support for HTML forms. */
#define WWW_CONF_FORMS 1
/* Maximum lengths for various HTML form parameters. */
#define WWW_CONF_MAX_FORMACTIONLEN 200
#define WWW_CONF_MAX_FORMNAMELEN 200
#define WWW_CONF_MAX_INPUTNAMELEN 200
#define WWW_CONF_MAX_INPUTVALUELEN 240
#define WWW_CONF_PAGEVIEW 1
#define LOADER_CONF_ARCH "loader/dlloader.h"
#endif /* __CONTIKI_CONF_H__ */