summaryrefslogtreecommitdiff
path: root/render/html.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-06-10 20:41:26 +0000
committerJames Bursa <james@netsurf-browser.org>2004-06-10 20:41:26 +0000
commit08177fa58119f9e67fdffb32ee20dbf05bd4fa78 (patch)
treedaa1124c9304e218045d12b9d531bd35e3a51565 /render/html.h
parentff5e70f86538bfd5a08a0ebbb7bc484ae9b841e6 (diff)
downloadnetsurf-08177fa58119f9e67fdffb32ee20dbf05bd4fa78.tar.gz
netsurf-08177fa58119f9e67fdffb32ee20dbf05bd4fa78.tar.bz2
[project @ 2004-06-10 20:41:26 by bursa]
Add global content list. Better error handling in content code. Improved code documentation. Remove some obsolete functions. Implement debug window listing contents. svn path=/import/netsurf/; revision=951
Diffstat (limited to 'render/html.h')
-rw-r--r--render/html.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/render/html.h b/render/html.h
index 683c5dc73..9580beacb 100644
--- a/render/html.h
+++ b/render/html.h
@@ -83,11 +83,10 @@ struct content_html_data {
};
-void html_create(struct content *c, const char *params[]);
-void html_process_data(struct content *c, char *data, unsigned long size);
-int html_convert(struct content *c, unsigned int width, unsigned int height);
-void html_revive(struct content *c, unsigned int width, unsigned int height);
-void html_reformat(struct content *c, unsigned int width, unsigned int height);
+bool html_create(struct content *c, const char *params[]);
+bool html_process_data(struct content *c, char *data, unsigned int size);
+bool html_convert(struct content *c, int width, int height);
+void html_reformat(struct content *c, int width, int height);
void html_destroy(struct content *c);
void html_fetch_object(struct content *c, char *url, struct box *box,
const content_type *permitted_types,
@@ -106,9 +105,9 @@ void html_remove_instance(struct content *c, struct browser_window *bw,
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,
+void html_redraw(struct content *c, int x, int y,
+ int width, int height,
+ int clip_x0, int clip_y0, int clip_x1, int clip_y1,
float scale);
#endif