diff options
author | James Bursa <james@netsurf-browser.org> | 2003-09-26 23:22:00 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-09-26 23:22:00 +0000 |
commit | 311c488f5a29e056fbdc5951bf47c9237ba7dcd1 (patch) | |
tree | 439d1f3dae29b390a51137bea9eaf5a349f21070 /render/box.h | |
parent | ba67140eb5da51be454c7869e372be44309ad41b (diff) | |
download | netsurf-311c488f5a29e056fbdc5951bf47c9237ba7dcd1.tar.gz netsurf-311c488f5a29e056fbdc5951bf47c9237ba7dcd1.tar.bz2 |
[project @ 2003-09-26 23:22:00 by bursa]
Implement button element and more work on input element.
svn path=/import/netsurf/; revision=322
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/render/box.h b/render/box.h index 9e8ce0599..0dad5400d 100644 --- a/render/box.h +++ b/render/box.h @@ -43,9 +43,11 @@ struct box; struct gui_gadget { enum { GADGET_HIDDEN = 0, GADGET_TEXTBOX, GADGET_RADIO, GADGET_CHECKBOX, - GADGET_SELECT, GADGET_TEXTAREA, GADGET_ACTIONBUTTON, - GADGET_IMAGE, GADGET_PASSWORD } type; - char* name; + GADGET_SELECT, GADGET_TEXTAREA, + GADGET_IMAGE, GADGET_PASSWORD, GADGET_SUBMIT, GADGET_RESET } type; + char *name; + char *value; + char *initial_value; struct form* form; union { struct { @@ -62,11 +64,6 @@ struct gui_gadget { int size; } password; struct { - char* butttype; - char* label; - int pressed; - } actionbutt; - struct { char* name; char* value; char* n; |