From 37b389e699389d0cd2eab96288ab250e8c362d2e Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 9 May 2011 08:42:49 +0000 Subject: Untested fix and tile implementation for Sprite. svn path=/trunk/netsurf/; revision=12333 --- riscos/sprite.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'riscos') diff --git a/riscos/sprite.c b/riscos/sprite.c index e14f8b19a..3e11e7f63 100644 --- a/riscos/sprite.c +++ b/riscos/sprite.c @@ -54,7 +54,8 @@ static bool sprite_convert(struct content *c); static void sprite_destroy(struct content *c); static bool sprite_redraw(struct content *c, int x, int y, int width, int height, const struct rect *clip, - float scale, colour background_colour); + float scale, colour background_colour, + bool repeat_x, bool repeat_y); static nserror sprite_clone(const struct content *old, struct content **newc); static content_type sprite_content_type(lwc_string *mime_type); @@ -70,7 +71,6 @@ static const content_handler sprite_content_handler = { sprite_redraw, NULL, NULL, - NULL, sprite_clone, NULL, sprite_content_type, @@ -218,7 +218,8 @@ void sprite_destroy(struct content *c) bool sprite_redraw(struct content *c, int x, int y, int width, int height, const struct rect *clip, - float scale, colour background_colour) + float scale, colour background_colour, + bool repeat_x, bool repeat_y) { sprite_content *sprite = (sprite_content *) c; -- cgit v1.2.3