path: root/render/form.h
diff options
authorMichael Drake <>2010-06-04 09:35:08 +0000
committerMichael Drake <>2010-06-04 09:35:08 +0000
commitb010a257712b3d104035cbfc15aba8f517ffacb5 (patch)
treeba220c9c0c2c02ea1a8441ad8ace44d4c0bc5164 /render/form.h
parentbc9fef0a1a7a45a640d37353f97e72006e1e09b6 (diff)
+ Refactor input handling from browser window code into content
handlers. + Disentangle all box tree manipulation from browser window code and put it where it belongs. + Move other content specific and other irrelevant code from browser window handling to appropriate places. + Put mouse state enum in new mouse header, since it's not just used by browser window code, and it is used by treeview windows on the treeview branch. svn path=/trunk/netsurf/; revision=10561
Diffstat (limited to 'render/form.h')
1 files changed, 7 insertions, 0 deletions
diff --git a/render/form.h b/render/form.h
index d5026e039..9da24b8b9 100644
--- a/render/form.h
+++ b/render/form.h
@@ -157,6 +157,8 @@ bool form_open_select_menu(void *client_data,
struct form_control *control,
select_menu_redraw_callback redraw_callback,
struct browser_window *bw);
+void form_select_menu_callback(void *client_data,
+ int x, int y, int width, int height);
void form_free_select_menu(struct form_control *control);
bool form_redraw_select_menu(struct form_control *control, int x, int y,
float scale,
@@ -169,5 +171,10 @@ void form_select_mouse_drag_end(struct form_control *control,
browser_mouse_state mouse, int x, int y);
void form_select_get_dimensions(struct form_control *control,
int *width, int *height);
+void form_select_process_selection(hlcache_handle *h,
+ struct form_control *control, int item);
+void form_submit(struct hlcache_handle *h, struct browser_window *target,
+ struct form *form, struct form_control *submit_button);
+void form_radio_set(struct hlcache_handle *content, struct form_control *radio);