From 73f7db2a75a7cee2add50973e8861b767f5bb650 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sun, 28 Sep 2003 23:41:07 +0000 Subject: [project @ 2003-09-28 23:41:06 by bursa] Rewrite text and password inputs to stop using wimp icons. svn path=/import/netsurf/; revision=330 --- render/box.h | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'render/box.h') diff --git a/render/box.h b/render/box.h index 0dad5400d..279463346 100644 --- a/render/box.h +++ b/render/box.h @@ -49,20 +49,14 @@ struct gui_gadget { char *value; char *initial_value; struct form* form; - union { + struct box *caret_inline_container; + struct box *caret_text_box; + int caret_char_offset; + unsigned int maxlength; + union { struct { char* value; } hidden; - struct { - unsigned int maxlength; - char* text; - int size; - } textbox; - struct { - unsigned int maxlength; - char* text; - int size; - } password; struct { char* name; char* value; @@ -84,11 +78,6 @@ struct gui_gadget { int selected; char* value; } radio; - struct { - struct box *caret_inline_container; - struct box *caret_text_box; - int caret_char_offset; - } textarea; } data; }; @@ -122,7 +111,8 @@ struct plugin_params { struct box { box_type type; struct css_style * style; - unsigned long x, y, width, height; + long x, y; + unsigned long width, height; unsigned long min_width, max_width; char * text; unsigned int space : 1; /* 1 <=> followed by a space */ -- cgit v1.2.3