From 9aca901eb1db3b6f373882fe8b707e44959e2ec1 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 29 Mar 2010 22:33:21 +0000 Subject: The convert stage of a content's state progression no longer reflows the content to the provided dimensions. It is now defined as converting the content into a state in which it is ready for use. The user of the content is now responsible for performing an initial reformat (sic) of the content before it can be redrawn. Purge width/height parameters from hlcache_handle_retrieve/content_convert/*_convert APIs. Fix up content handlers affected by the above change in semantics. Ensure that browser_window_callback performs an initial reformat of its content. svn path=/trunk/netsurf/; revision=10207 --- render/textplain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render/textplain.h') diff --git a/render/textplain.h b/render/textplain.h index 50e29c5be..355695a4d 100644 --- a/render/textplain.h +++ b/render/textplain.h @@ -50,7 +50,7 @@ struct content_textplain_data { bool textplain_create(struct content *c, const struct http_parameter *params); bool textplain_process_data(struct content *c, char *data, unsigned int size); -bool textplain_convert(struct content *c, int width, int height); +bool textplain_convert(struct content *c); void textplain_reformat(struct content *c, int width, int height); void textplain_destroy(struct content *c); bool textplain_redraw(struct content *c, int x, int y, -- cgit v1.2.3