diff options
author | James Bursa <james@netsurf-browser.org> | 2003-10-25 00:35:49 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-10-25 00:35:49 +0000 |
commit | f1375fe19db064fcebf00433ce73eab99be038ef (patch) | |
tree | 19e239a41a8a68baab5b444447adc3aae5bf04fa /riscos/htmlredraw.c | |
parent | 099d537267e8e4114128e59e2614c99d77dd4feb (diff) | |
download | netsurf-f1375fe19db064fcebf00433ce73eab99be038ef.tar.gz netsurf-f1375fe19db064fcebf00433ce73eab99be038ef.tar.bz2 |
[project @ 2003-10-25 00:35:49 by bursa]
Split out and clean up form submit code.
svn path=/import/netsurf/; revision=374
Diffstat (limited to 'riscos/htmlredraw.c')
-rw-r--r-- | riscos/htmlredraw.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/riscos/htmlredraw.c b/riscos/htmlredraw.c index 83e7b4009..d60d97a31 100644 --- a/riscos/htmlredraw.c +++ b/riscos/htmlredraw.c @@ -13,6 +13,7 @@ #include "oslib/font.h" #include "netsurf/css/css.h" #include "netsurf/content/content.h" +#include "netsurf/render/form.h" #include "netsurf/render/html.h" #include "netsurf/riscos/gui.h" #include "netsurf/utils/log.h" @@ -56,14 +57,9 @@ void html_redraw(struct content *c, long x, long y, /* validation strings can't be const */ -static char validation_textarea[] = "R7;L"; -static char validation_textbox[] = ""; -static char validation_password[] = "D*"; static char validation_select[] = "R2"; static char validation_checkbox_selected[] = "Sopton"; static char validation_checkbox_unselected[] = "Soptoff"; -static char validation_radio_selected[] = "Sradioon"; -static char validation_radio_unselected[] = "Sradiooff"; static char select_text_multiple[] = "<Multiple>"; /* TODO: read from messages */ static char select_text_none[] = "<None>"; @@ -79,7 +75,7 @@ void html_redraw_box(struct content *content, struct box * box, { struct box *c; char *select_text; - struct formoption *opt; + struct form_option *opt; int width, height, x0, y0, x1, y1; x += box->x * 2; |