diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-02-14 19:17:08 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-02-14 19:17:08 +0000 |
commit | f42ed976e5e4c59b25250ad106527ac7b4447f68 (patch) | |
tree | 0886af935d7a79210ee43ea9f5b11c8387f89036 /content | |
parent | c05333fa62c6dfdd76f20d8a4056bd66f6e9cddd (diff) | |
download | netsurf-f42ed976e5e4c59b25250ad106527ac7b4447f68.tar.gz netsurf-f42ed976e5e4c59b25250ad106527ac7b4447f68.tar.bz2 |
Constify
svn path=/trunk/netsurf/; revision=11680
Diffstat (limited to 'content')
-rw-r--r-- | content/content.c | 8 | ||||
-rw-r--r-- | content/content.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/content/content.c b/content/content.c index d3fc32388..60996f6a0 100644 --- a/content/content.c +++ b/content/content.c @@ -275,10 +275,10 @@ struct handler_entry { void (*mouse_action)(struct content *c, struct browser_window *bw, browser_mouse_state mouse, int x, int y); bool (*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 (*redraw_tiled)(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 repeat_x, bool repeat_y); void (*open)(struct content *c, struct browser_window *bw, @@ -901,7 +901,7 @@ void content_request_redraw(struct hlcache_handle *h, */ bool content_redraw(hlcache_handle *h, 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 content *c = hlcache_handle_get_content(h); @@ -929,7 +929,7 @@ bool content_redraw(hlcache_handle *h, int x, int y, */ bool content_redraw_tiled(hlcache_handle *h, 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 repeat_x, bool repeat_y) { diff --git a/content/content.h b/content/content.h index 1abb40be6..c92fdd4a2 100644 --- a/content/content.h +++ b/content/content.h @@ -125,10 +125,10 @@ void content_mouse_track(struct hlcache_handle *h, struct browser_window *bw, void content_mouse_action(struct hlcache_handle *h, struct browser_window *bw, browser_mouse_state mouse, int x, int y); bool content_redraw(struct hlcache_handle *h, 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 content_redraw_tiled(struct hlcache_handle *h, 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 repeat_x, bool repeat_y); void content_open(struct hlcache_handle *h, struct browser_window *bw, |