diff options
Diffstat (limited to 'render/html.c')
-rw-r--r-- | render/html.c | 50 |
1 files changed, 0 insertions, 50 deletions
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; |