Introduced a new parameter for ctk_draw_window() that indicates if drawing the window borders is required.

This allows to avoid unnecessary drawing of window borders on calls to ctk_window_redraw() which happen often in the web browser.

Several ctk_draw_window() implementaions don't make use of the new parameter yet.
diff --git a/contiki-c64/ctk/ctk-80col.c b/contiki-c64/ctk/ctk-80col.c
index 7f6b822..b1df7a4 100644
--- a/contiki-c64/ctk/ctk-80col.c
+++ b/contiki-c64/ctk/ctk-80col.c
@@ -30,7 +30,7 @@
  * 
  * Author: Adam Dunkels <adam@sics.se>
  *
- * $Id: ctk-80col.c,v 1.11 2004/12/27 22:04:30 oliverschmidt Exp $
+ * $Id: ctk-80col.c,v 1.12 2005/03/15 15:56:07 oliverschmidt Exp $
  */
 
 #include "contiki.h"
@@ -873,7 +873,8 @@
 /*-----------------------------------------------------------------------------------*/
 static void
 s_ctk_draw_window(struct ctk_window *window, unsigned char focus,
-		  unsigned char clipy1, unsigned char clipy2)
+		  unsigned char clipy1, unsigned char clipy2,
+		  unsigned char draw_borders)
 {
   unsigned char x, y;
   unsigned char h;
diff --git a/contiki-c64/ctk/ctk-hires-service.c b/contiki-c64/ctk/ctk-hires-service.c
index 23efdf2..cd94122 100644
--- a/contiki-c64/ctk/ctk-hires-service.c
+++ b/contiki-c64/ctk/ctk-hires-service.c
@@ -29,7 +29,7 @@
  *
  * This file is part of the "ctk" console GUI toolkit for cc65
  *
- * $Id: ctk-hires-service.c,v 1.3 2004/12/27 22:04:30 oliverschmidt Exp $
+ * $Id: ctk-hires-service.c,v 1.4 2005/03/15 15:56:08 oliverschmidt Exp $
  *
  */
 
@@ -666,7 +666,8 @@
 static void
 s_ctk_draw_window(register struct ctk_window *window,
 		unsigned char focus,
-		unsigned char clipy1, unsigned char clipy2)
+		unsigned char clipy1, unsigned char clipy2,
+		unsigned char draw_borders)
 {
   register struct ctk_widget *w;
 
diff --git a/contiki-c64/ctk/ctk-hires.c b/contiki-c64/ctk/ctk-hires.c
index 2c0f1fc..22ce048 100644
--- a/contiki-c64/ctk/ctk-hires.c
+++ b/contiki-c64/ctk/ctk-hires.c
@@ -29,7 +29,7 @@
  *
  * This file is part of the "ctk" console GUI toolkit for cc65
  *
- * $Id: ctk-hires.c,v 1.14 2004/12/27 22:04:30 oliverschmidt Exp $
+ * $Id: ctk-hires.c,v 1.15 2005/03/15 15:56:08 oliverschmidt Exp $
  *
  */
 
@@ -663,7 +663,8 @@
 void
 ctk_draw_window(register struct ctk_window *window,
 		unsigned char focus,
-		unsigned char clipy1, unsigned char clipy2)
+		unsigned char clipy1, unsigned char clipy2,
+		unsigned char draw_borders)
 {
   register struct ctk_widget *w;