From 01d735dab846c9df1ec40dcc2b0fb7f3d10b84b2 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 12 Nov 2003 22:22:45 +0000 Subject: [project @ 2003-11-12 22:22:45 by jmb] Begin frames support. Just data structure handling for now. None of this code is called atm. svn path=/import/netsurf/; revision=416 --- render/html.c | 50 -------------------------------------------------- 1 file changed, 50 deletions(-) (limited to 'render/html.c') diff --git a/render/html.c b/render/html.c index 7751e652e..e3953597e 100644 --- a/render/html.c +++ b/render/html.c @@ -508,56 +508,6 @@ void html_object_callback(content_msg msg, struct content *object, } -void html_add_instance(struct content *c, struct browser_window *bw, - struct content *page, struct box *box, - struct object_params *params, void **state) -{ - unsigned int i; - for (i = 0; i != c->data.html.object_count; i++) { - if (c->data.html.object[i].content == 0) - continue; - content_add_instance(c->data.html.object[i].content, - bw, c, - c->data.html.object[i].box, - c->data.html.object[i].box->object_params, - &c->data.html.object[i].box->object_state); - } -} - - -void html_reshape_instance(struct content *c, struct browser_window *bw, - struct content *page, struct box *box, - struct object_params *params, void **state) -{ - unsigned int i; - for (i = 0; i != c->data.html.object_count; i++) { - if (c->data.html.object[i].content == 0) - continue; - content_reshape_instance(c->data.html.object[i].content, - bw, c, - c->data.html.object[i].box, - c->data.html.object[i].box->object_params, - &c->data.html.object[i].box->object_state); - } -} - -void html_remove_instance(struct content *c, struct browser_window *bw, - struct content *page, struct box *box, - struct object_params *params, void **state) -{ - unsigned int i; - for (i = 0; i != c->data.html.object_count; i++) { - if (c->data.html.object[i].content == 0) - continue; - content_remove_instance(c->data.html.object[i].content, - bw, c, - c->data.html.object[i].box, - c->data.html.object[i].box->object_params, - &c->data.html.object[i].box->object_state); - } -} - - void html_revive(struct content *c, unsigned int width, unsigned int height) { unsigned int i; -- cgit v1.2.3