From f42ed976e5e4c59b25250ad106527ac7b4447f68 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 14 Feb 2011 19:17:08 +0000 Subject: Constify svn path=/trunk/netsurf/; revision=11680 --- render/html.h | 4 ++-- render/html_redraw.c | 4 ++-- render/textplain.c | 2 +- render/textplain.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'render') diff --git a/render/html.h b/render/html.h index 324e795f0..ee2f041bf 100644 --- a/render/html.h +++ b/render/html.h @@ -209,7 +209,7 @@ void html_redraw_a_box(struct hlcache_handle *h, struct box *box); /* in render/html_redraw.c */ bool html_redraw(struct content *c, int x, int y, - int width, int height, struct rect *clip, + int width, int height, const struct rect *clip, float scale, colour background_colour); /* in render/html_interaction.c */ @@ -228,7 +228,7 @@ bool text_redraw(const char *utf8_text, size_t utf8_len, size_t offset, bool space, const plot_font_style_t *fstyle, int x, int y, - struct rect *clip, + const struct rect *clip, int height, float scale, bool excluded); diff --git a/render/html_redraw.c b/render/html_redraw.c index 019b99ed7..8468d3007 100644 --- a/render/html_redraw.c +++ b/render/html_redraw.c @@ -110,7 +110,7 @@ bool html_redraw_debug = false; */ bool html_redraw(struct content *c, int x, int y, - int width, int height, struct rect *clip, + int width, int height, const struct rect *clip, float scale, colour background_colour) { struct box *box; @@ -841,7 +841,7 @@ bool html_redraw_text_box(struct box *box, int x, int y, bool text_redraw(const char *utf8_text, size_t utf8_len, size_t offset, bool space, const plot_font_style_t *fstyle, - int x, int y, struct rect *clip, + int x, int y, const struct rect *clip, int height, float scale, bool excluded) diff --git a/render/textplain.c b/render/textplain.c index ada008f35..2a31c6272 100644 --- a/render/textplain.c +++ b/render/textplain.c @@ -546,7 +546,7 @@ void textplain_mouse_action(struct content *c, struct browser_window *bw, */ bool textplain_redraw(struct content *c, int x, int y, - int width, int height, struct rect *clip, + int width, int height, const struct rect *clip, float scale, colour background_colour) { struct browser_window *bw = current_redraw_browser; diff --git a/render/textplain.h b/render/textplain.h index 284585e35..c338220d1 100644 --- a/render/textplain.h +++ b/render/textplain.h @@ -59,7 +59,7 @@ void textplain_mouse_action(struct content *c, struct browser_window *bw, 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, - int width, int height, struct rect *clip, + int width, int height, const struct rect *clip, float scale, colour background_colour); bool textplain_clone(const struct content *old, struct content *new_content); -- cgit v1.2.3