summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/box.c5
-rw-r--r--render/box.h3
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;