diff options
author | James Bursa <james@netsurf-browser.org> | 2004-08-11 22:08:26 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-08-11 22:08:26 +0000 |
commit | acfb4c0adb113b0dfaff7f07e93be58fd4238bd6 (patch) | |
tree | 4d0775011a0f7502618b26308eb80139f28d68d3 /riscos/htmlinstance.c | |
parent | 45b241906ed3b29ee6bd0e62fe71f1f5a7facba5 (diff) | |
download | netsurf-acfb4c0adb113b0dfaff7f07e93be58fd4238bd6.tar.gz netsurf-acfb4c0adb113b0dfaff7f07e93be58fd4238bd6.tar.bz2 |
[project @ 2004-08-11 22:08:25 by bursa]
Remove content_add_instance(), content_remove_instance(), content_reshape_instance(). Add content_open(), content_close(). Implement for CONTENT_HTML.
svn path=/import/netsurf/; revision=1213
Diffstat (limited to 'riscos/htmlinstance.c')
-rw-r--r-- | riscos/htmlinstance.c | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/riscos/htmlinstance.c b/riscos/htmlinstance.c deleted file mode 100644 index ca239ddc8..000000000 --- a/riscos/htmlinstance.c +++ /dev/null @@ -1,62 +0,0 @@ -/* - * This file is part of NetSurf, http://netsurf.sourceforge.net/ - * Licensed under the GNU General Public License, - * http://www.opensource.org/licenses/gpl-license - * Copyright 2003 James Bursa <bursa@users.sourceforge.net> - */ - -#include "netsurf/utils/config.h" -#include "netsurf/content/content.h" -#include "netsurf/desktop/browser.h" -#include "netsurf/render/box.h" -#include "netsurf/render/html.h" -#include "netsurf/utils/log.h" - -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); - } -} |