From c8e796771079794fa315d333c1ba534b554d1a7c Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Fri, 30 Nov 2007 21:51:59 +0000 Subject: [PATCH] Provided webbrowser configuration defaults. --- apps/webbrowser/www.h | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/apps/webbrowser/www.h b/apps/webbrowser/www.h index 257017529..de69c270c 100644 --- a/apps/webbrowser/www.h +++ b/apps/webbrowser/www.h @@ -29,12 +29,46 @@ * * This file is part of the Contiki desktop environment for the C64. * - * $Id: www.h,v 1.2 2007/11/30 11:16:45 oliverschmidt Exp $ + * $Id: www.h,v 1.3 2007/11/30 21:51:59 oliverschmidt Exp $ * */ #ifndef __WWW_H__ #define __WWW_H__ +#ifndef WWW_CONF_WEBPAGE_WIDTH +#define WWW_CONF_WEBPAGE_WIDTH 80 +#endif +#ifndef WWW_CONF_WEBPAGE_HEIGHT +#define WWW_CONF_WEBPAGE_HEIGHT 20 +#endif +#ifndef WWW_CONF_HISTORY_SIZE +#define WWW_CONF_HISTORY_SIZE 40 +#endif +#ifndef WWW_CONF_MAX_URLLEN +#define WWW_CONF_MAX_URLLEN 200 +#endif +#ifndef WWW_CONF_MAX_NUMPAGEWIDGETS +#define WWW_CONF_MAX_NUMPAGEWIDGETS 80 +#endif +#ifndef WWW_CONF_RENDERSTATE +#define WWW_CONF_RENDERSTATE 1 +#endif +#ifndef WWW_CONF_FORMS +#define WWW_CONF_FORMS 1 +#endif +#ifndef WWW_CONF_MAX_FORMACTIONLEN +#define WWW_CONF_MAX_FORMACTIONLEN 200 +#endif +#ifndef WWW_CONF_MAX_FORMNAMELEN +#define WWW_CONF_MAX_FORMNAMELEN 200 +#endif +#ifndef WWW_CONF_MAX_INPUTNAMELEN +#define WWW_CONF_MAX_INPUTNAMELEN 200 +#endif +#ifndef WWW_CONF_MAX_INPUTVALUELEN +#define WWW_CONF_MAX_INPUTVALUELEN 200 +#endif + PROCESS_NAME(www_process); #endif /* __WWW_H__ */