Added configuration values for the IRC client example.

This commit is contained in:
oliverschmidt 2010-01-31 18:30:50 +00:00
parent 8c93dd3e99
commit 6111814aec
2 changed files with 10 additions and 2 deletions

View file

@ -30,7 +30,7 @@
* *
* Author: Oliver Schmidt <ol.sc@web.de> * Author: Oliver Schmidt <ol.sc@web.de>
* *
* $Id: contiki-conf.h,v 1.16 2010/01/30 20:48:31 oliverschmidt Exp $ * $Id: contiki-conf.h,v 1.17 2010/01/31 18:30:50 oliverschmidt Exp $
*/ */
#ifndef __CONTIKI_CONF_H__ #ifndef __CONTIKI_CONF_H__
@ -48,9 +48,13 @@
#define MOUSE_CONF_XTOC(x) ((x) * 2 / 7) #define MOUSE_CONF_XTOC(x) ((x) * 2 / 7)
#define MOUSE_CONF_YTOC(y) ((y) / 8) #define MOUSE_CONF_YTOC(y) ((y) / 8)
#define IRC_CONF_WIDTH 80
#define IRC_CONF_HEIGHT 23
#define WEBSERVER_CONF_CGI_CONNS UIP_CONNS #define WEBSERVER_CONF_CGI_CONNS UIP_CONNS
#define WEBSERVER_CONF_CFS_CONNS 7 #define WEBSERVER_CONF_CFS_CONNS 7
#define WWW_CONF_WEBPAGE_WIDTH 80
#define WWW_CONF_WEBPAGE_HEIGHT 19 #define WWW_CONF_WEBPAGE_HEIGHT 19
#define WWW_CONF_HISTORY_SIZE 4 #define WWW_CONF_HISTORY_SIZE 4
#define WWW_CONF_MAX_URLLEN 78 #define WWW_CONF_MAX_URLLEN 78

View file

@ -30,7 +30,7 @@
* *
* Author: Oliver Schmidt <ol.sc@web.de> * Author: Oliver Schmidt <ol.sc@web.de>
* *
* $Id: contiki-conf.h,v 1.17 2010/01/30 20:48:31 oliverschmidt Exp $ * $Id: contiki-conf.h,v 1.18 2010/01/31 18:30:50 oliverschmidt Exp $
*/ */
#ifndef __CONTIKI_CONF_H__ #ifndef __CONTIKI_CONF_H__
@ -56,10 +56,14 @@
#define WIDGETCOLOR_FWIN COLOR_LIGHTBLUE #define WIDGETCOLOR_FWIN COLOR_LIGHTBLUE
#define WIDGETCOLOR_HLINK COLOR_CYAN #define WIDGETCOLOR_HLINK COLOR_CYAN
#define IRC_CONF_WIDTH 40
#define IRC_CONF_HEIGHT 24
#define WEBSERVER_CONF_CGI_CONNS UIP_CONNS #define WEBSERVER_CONF_CGI_CONNS UIP_CONNS
#define WEBSERVER_CONF_CFS_CONNS 8 #define WEBSERVER_CONF_CFS_CONNS 8
#define WWW_CONF_WEBPAGE_WIDTH 40 #define WWW_CONF_WEBPAGE_WIDTH 40
#define WWW_CONF_WEBPAGE_HEIGHT 20
#define WWW_CONF_HISTORY_SIZE 4 #define WWW_CONF_HISTORY_SIZE 4
#define WWW_CONF_MAX_URLLEN 38 #define WWW_CONF_MAX_URLLEN 38
#define WWW_CONF_MAX_NUMPAGEWIDGETS 20 #define WWW_CONF_MAX_NUMPAGEWIDGETS 20