⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 contiki-conf.h

📁 伟大的Contiki工程, 短小精悍 的操作系统, 学习编程不可不看
💻 H
📖 第 1 页 / 共 2 页
字号:
#define CTK_CONF_MOUSE_SUPPORT        0/* Toggles support for icons. */#define CTK_CONF_ICONS                1/* 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/* Toggles support for closable windows. */#define CTK_CONF_WINDOWCLOSE          1/* Toggles support for menus. */#define CTK_CONF_MENUS                1/* 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/* Toggles support for screen savers. */#define CTK_CONF_SCREENSAVER          1/* * CTK conio configuration. */#if 0/* Light gray inverted color scheme: */#define BORDERCOLOR         COLOR_WHITE#define SCREENCOLOR         COLOR_WHITE#define BACKGROUNDCOLOR     COLOR_WHITE#define WINDOWCOLOR_FOCUS   COLOR_BLACK#define WINDOWCOLOR         COLOR_GRAY2#define DIALOGCOLOR         COLOR_RED#define WIDGETCOLOR_HLINK   COLOR_BLUE#define WIDGETCOLOR_FWIN    COLOR_BLACK#define WIDGETCOLOR         COLOR_GRAY1#define WIDGETCOLOR_DIALOG  COLOR_RED#define WIDGETCOLOR_FOCUS   COLOR_BLACK#define MENUCOLOR           COLOR_BLACK#define OPENMENUCOLOR       COLOR_BLACK#define ACTIVEMENUITEMCOLOR COLOR_BLACK#endif /* 0 */#if 0/* Blue color scheme: */#define BORDERCOLOR         COLOR_LIGHTBLUE#define SCREENCOLOR         COLOR_BLUE#define BACKGROUNDCOLOR     COLOR_BLUE#define WINDOWCOLOR_FOCUS   COLOR_LIGHTBLUE#define WINDOWCOLOR         COLOR_GRAY1#define DIALOGCOLOR         COLOR_WHITE#define WIDGETCOLOR_HLINK   COLOR_CYAN#define WIDGETCOLOR_FWIN    COLOR_LIGHTBLUE#define WIDGETCOLOR         COLOR_GRAY1#define WIDGETCOLOR_DIALOG  COLOR_WHITE#define WIDGETCOLOR_FOCUS   COLOR_YELLOW#define MENUCOLOR           COLOR_WHITE#define OPENMENUCOLOR       COLOR_LIGHTBLUE#define ACTIVEMENUITEMCOLOR COLOR_YELLOW#endif /* 0 */#if 0/* Black and white monocrome color scheme: */#define BORDERCOLOR         COLOR_BLACK#define SCREENCOLOR         COLOR_BLACK#define BACKGROUNDCOLOR     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#endif /* 0 */#if 0/* Blue monocrome color scheme: */#define BORDERCOLOR         COLOR_BLUE#define SCREENCOLOR         COLOR_BLUE#define BACKGROUNDCOLOR     COLOR_BLUE#define WINDOWCOLOR_FOCUS   COLOR_LIGHTBLUE#define WINDOWCOLOR         COLOR_LIGHTBLUE#define DIALOGCOLOR         COLOR_LIGHTBLUE#define WIDGETCOLOR_HLINK   COLOR_LIGHTBLUE#define WIDGETCOLOR_FWIN    COLOR_LIGHTBLUE#define WIDGETCOLOR         COLOR_LIGHTBLUE#define WIDGETCOLOR_DIALOG  COLOR_LIGHTBLUE#define WIDGETCOLOR_FOCUS   COLOR_LIGHTBLUE#define MENUCOLOR           COLOR_LIGHTBLUE#define OPENMENUCOLOR       COLOR_LIGHTBLUE#define ACTIVEMENUITEMCOLOR COLOR_LIGHTBLUE#endif /* 0 */#if 1/* Gray color scheme: */#define BORDERCOLOR         COLOR_GRAY1#define SCREENCOLOR         COLOR_GRAY1#define BACKGROUNDCOLOR     COLOR_GRAY1#define WINDOWCOLOR_FOCUS   COLOR_GRAY3#define WINDOWCOLOR         COLOR_GRAY2#define DIALOGCOLOR         COLOR_WHITE#define WIDGETCOLOR_HLINK   COLOR_LIGHTBLUE#define WIDGETCOLOR_FWIN    COLOR_GRAY3#define WIDGETCOLOR         COLOR_GRAY2#define WIDGETCOLOR_DIALOG  COLOR_WHITE#define WIDGETCOLOR_FOCUS   COLOR_YELLOW#define MENUCOLOR           COLOR_GRAY3#define OPENMENUCOLOR       COLOR_WHITE#define ACTIVEMENUITEMCOLOR COLOR_YELLOW#endif /* 0 */#if 0/* Red color scheme: */#define BORDERCOLOR         COLOR_BLACK#define SCREENCOLOR         COLOR_BLACK#define BACKGROUNDCOLOR     COLOR_BLACK#define WINDOWCOLOR_FOCUS   COLOR_LIGHTRED#define WINDOWCOLOR         COLOR_RED#define DIALOGCOLOR         COLOR_WHITE#define WIDGETCOLOR_HLINK   COLOR_LIGHTBLUE#define WIDGETCOLOR_FWIN    COLOR_YELLOW#define WIDGETCOLOR         COLOR_LIGHTRED#define WIDGETCOLOR_DIALOG  COLOR_WHITE#define WIDGETCOLOR_FOCUS   COLOR_YELLOW#define MENUCOLOR           COLOR_LIGHTRED#define OPENMENUCOLOR       COLOR_WHITE#define ACTIVEMENUITEMCOLOR COLOR_YELLOW#endif /* 0 *//* CTK VNC server configuration. */#define CTK_VNCSERVER_CONF_NUMCONNS 1#define CTK_VNCSERVER_CONF_MAX_ICONS 4#define CTK_VNCSERVER_CONF_SCREEN (u8_t *)0x0400/* Email program configuration. */#define EMAIL_CONF_WIDTH 36#define EMAIL_CONF_HEIGHT 17/* IRC program configuration. */#define IRC_CONF_WIDTH 78#define IRC_CONF_HEIGHT 21#define IRC_CONF_SYSTEM_STRING "c64"/* Libconio configuration. */#define LIBCONIO_CONF_SCREEN_WIDTH  80#define LIBCONIO_CONF_SCREEN_HEIGHT 25/* Logging configuration. */#define LOG_CONF_ENABLED 1/* Program handler configuration. */#define PROGRAM_HANDLER_CONF_MAX_NUMDSCS 10/* Shell GUI configuration. */#define SHELL_GUI_CONF_XSIZE 26#define SHELL_GUI_CONF_YSIZE 12/* Telnet daemon configuration. */#define TELNETD_CONF_LINELEN 32#define TELNETD_CONF_NUMLINES 12#define TELNETD_CONF_GUI     1/* uIP configuration. */#define UIP_CONF_MAX_CONNECTIONS 10#define UIP_CONF_MAX_LISTENPORTS 10#define UIP_CONF_BUFFER_SIZE     400#define UIP_CONF_RECEIVE_WINDOW  320#define UIP_CONF_BYTE_ORDER      UIP_LITTLE_ENDIAN#define UIP_CONF_ARBTAB_SIZE 4#define UIP_CONF_RESOLV_ENTRIES  4#define UIP_CONF_PINGADDRCONF    0#define UIP_CONF_LOGGING         0#define UIP_CONF_UDP_CONNS       6#define UIP_CONF_BROADCAST       0#define UIP_CONF_UDP_CHECKSUMS   0#define UIP_ARCH_ADD32           1#define UIP_ARCH_CHKSUM          1/** * The 8-bit unsigned data type. * * This may have to be tweaked for your particular compiler. "unsigned * char" works for most compilers. */typedef unsigned char u8_t;/** * The 16-bit unsigned data type. * * This may have to be tweaked for your particular compiler. "unsigned * short" works for most compilers. */typedef unsigned short u16_t;/** * The 32-bit unsigned data type. * * This may have to be tweaked for your particular compiler. "unsigned * long" works for most compilers. */typedef unsigned long u32_t;/** * The statistics data type. * * This datatype determines how high the statistics counters are able * to count. */typedef unsigned short uip_stats_t;/* VNC viewer configuration. */#define VNC_CONF_VIEWPORT_WIDTH  (32*8)#define VNC_CONF_VIEWPORT_HEIGHT (16*8)#define VNC_CONF_REFRESH_ROWS    8/* Web browser configuration. */#define WWW_CONF_HOMEPAGE "http://contiki.c64.org/"/* The size of the HTML viewing area. */#define WWW_CONF_WEBPAGE_WIDTH 36#define WWW_CONF_WEBPAGE_HEIGHT 17/* The size of the "Back" history. */#define WWW_CONF_HISTORY_SIZE 2/* Defines the maximum length of an URL */#define WWW_CONF_MAX_URLLEN 55/* The maxiumum number of widgets (i.e., hyperlinks, form elements) on   a page. */#define WWW_CONF_MAX_NUMPAGEWIDGETS 8/* Turns <center> support on or off; must be on for forms to work. */#define WWW_CONF_RENDERSTATE 0/* Toggles support for HTML forms. */#define WWW_CONF_FORMS       0/* Maximum lengths for various HTML form parameters. */#define WWW_CONF_MAX_FORMACTIONLEN  30#define WWW_CONF_MAX_FORMNAMELEN    20#define WWW_CONF_MAX_INPUTNAMELEN   20#define WWW_CONF_MAX_INPUTVALUELEN  (WWW_CONF_WEBPAGE_WIDTH - 1)#endif /* __CONTIKI_CONF_H__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -