diff options
author | James Bursa <james@netsurf-browser.org> | 2003-05-22 13:21:45 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-05-22 13:21:45 +0000 |
commit | 80fe931f803b4a0e96b8dad7f1095d04f58076a0 (patch) | |
tree | 7e88a3c4bacc7ef4d56bea6ae79fdbdba91ee6e4 /render | |
parent | 27d93c182c7202c8d2a4ff5c9e05a85c3444cca6 (diff) | |
download | netsurf-80fe931f803b4a0e96b8dad7f1095d04f58076a0.tar.gz netsurf-80fe931f803b4a0e96b8dad7f1095d04f58076a0.tar.bz2 |
[project @ 2003-05-22 13:21:45 by bursa]
Form GET support (John M Bell)
svn path=/import/netsurf/; revision=130
Diffstat (limited to 'render')
-rw-r--r-- | render/box.c | 5 | ||||
-rw-r--r-- | render/box.h | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/render/box.c b/render/box.c index 9e0788fc0..188132745 100644 --- a/render/box.c +++ b/render/box.c @@ -1,5 +1,5 @@ /** - * $Id: box.c,v 1.43 2003/04/25 08:03:15 bursa Exp $ + * $Id: box.c,v 1.44 2003/05/22 13:21:45 bursa Exp $ */ #include <assert.h> @@ -1270,6 +1270,9 @@ struct box* box_input(xmlNode * n, struct css_style* style, struct form* current if ((s = (char *) xmlGetProp(n, (const xmlChar *) "name"))) { box->gadget->name = s; } + + box->gadget->data.actionbutt.butttype = strdup(type); + add_gadget_element(elements, box->gadget); } diff --git a/render/box.h b/render/box.h index 5adb69554..fb5e4c5bd 100644 --- a/render/box.h +++ b/render/box.h @@ -1,5 +1,5 @@ /** - * $Id: box.h,v 1.24 2003/04/15 17:53:00 bursa Exp $ + * $Id: box.h,v 1.25 2003/05/22 13:21:45 bursa Exp $ */ #ifndef _NETSURF_RENDER_BOX_H_ @@ -49,6 +49,7 @@ struct gui_gadget { int size; } textbox; struct { + char* butttype; char* label; int pressed; } actionbutt; |