summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2003-11-12 22:22:45 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2003-11-12 22:22:45 +0000
commit01d735dab846c9df1ec40dcc2b0fb7f3d10b84b2 (patch)
tree84799f646ff0b3756bbcc17a9cb1d5c2dc5939b9 /render
parentbf202492f94f0db33e35ead79b897e6cc9ad8817 (diff)
downloadnetsurf-01d735dab846c9df1ec40dcc2b0fb7f3d10b84b2.tar.gz
netsurf-01d735dab846c9df1ec40dcc2b0fb7f3d10b84b2.tar.bz2
[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
Diffstat (limited to 'render')
-rw-r--r--render/html.c50
-rw-r--r--render/html.h4
2 files changed, 4 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;
diff --git a/render/html.h b/render/html.h
index b4d72f417..db41f7f11 100644
--- a/render/html.h
+++ b/render/html.h
@@ -57,6 +57,8 @@ void html_revive(struct content *c, unsigned int width, unsigned int height);
void html_reformat(struct content *c, unsigned int width, unsigned int height);
void html_destroy(struct content *c);
void html_fetch_object(struct content *c, char *url, struct box *box);
+
+/* in riscos/htmlinstance.c */
void html_add_instance(struct content *c, struct browser_window *bw,
struct content *page, struct box *box,
struct object_params *params, void **state);
@@ -66,6 +68,8 @@ void html_reshape_instance(struct content *c, struct browser_window *bw,
void html_remove_instance(struct content *c, struct browser_window *bw,
struct content *page, struct box *box,
struct object_params *params, void **state);
+
+/* in riscos/htmlredraw.c */
void html_redraw(struct content *c, long x, long y,
unsigned long width, unsigned long height,
long clip_x0, long clip_y0, long clip_x1, long clip_y1);