summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-05-09 08:42:49 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-05-09 08:42:49 +0000
commit37b389e699389d0cd2eab96288ab250e8c362d2e (patch)
tree2adca95a4ec358c2a18cdfd5db9c52fb0b904a38 /riscos
parent2d6c0e99ec52d33f23a182df28588de062c9a930 (diff)
downloadnetsurf-37b389e699389d0cd2eab96288ab250e8c362d2e.tar.gz
netsurf-37b389e699389d0cd2eab96288ab250e8c362d2e.tar.bz2
Untested fix and tile implementation for Sprite.
svn path=/trunk/netsurf/; revision=12333
Diffstat (limited to 'riscos')
-rw-r--r--riscos/sprite.c7
1 files changed, 4 insertions, 3 deletions
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;