summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
Diffstat (limited to 'image')
-rw-r--r--image/bmp.c4
-rw-r--r--image/gif.c4
-rw-r--r--image/ico.c4
-rw-r--r--image/jpeg.c4
-rw-r--r--image/mng.c4
-rw-r--r--image/nssprite.c2
-rw-r--r--image/rsvg.c2
7 files changed, 12 insertions, 12 deletions
diff --git a/image/bmp.c b/image/bmp.c
index 74b03e77b..1025edd94 100644
--- a/image/bmp.c
+++ b/image/bmp.c
@@ -98,7 +98,7 @@ bool nsbmp_redraw(struct content *c, int x, int y,
if (!c->data.bmp.bmp->decoded)
bmp_decode(c->data.bmp.bmp);
c->bitmap = c->data.bmp.bmp->bitmap;
- return plot.bitmap(x, y, width, height, c->bitmap, background_colour);
+ return plot.bitmap(x, y, width, height, c->bitmap, background_colour, c);
}
@@ -112,7 +112,7 @@ bool nsbmp_redraw_tiled(struct content *c, int x, int y,
bmp_decode(c->data.bmp.bmp);
c->bitmap = c->data.bmp.bmp->bitmap;
return plot.bitmap_tile(x, y, width, height, c->bitmap,
- background_colour, repeat_x, repeat_y);
+ background_colour, repeat_x, repeat_y, c);
}
diff --git a/image/gif.c b/image/gif.c
index 02cb89bcb..52e057920 100644
--- a/image/gif.c
+++ b/image/gif.c
@@ -141,7 +141,7 @@ bool nsgif_redraw(struct content *c, int x, int y,
if (c->data.gif.current_frame != c->data.gif.gif->decoded_frame)
nsgif_get_frame(c);
c->bitmap = c->data.gif.gif->frame_image;
- return plot.bitmap(x, y, width, height, c->bitmap, background_colour);
+ return plot.bitmap(x, y, width, height, c->bitmap, background_colour, c);
}
@@ -155,7 +155,7 @@ bool nsgif_redraw_tiled(struct content *c, int x, int y,
nsgif_get_frame(c);
c->bitmap = c->data.gif.gif->frame_image;
return plot.bitmap_tile(x, y, width, height, c->bitmap, background_colour,
- repeat_x, repeat_y);
+ repeat_x, repeat_y, c);
}
diff --git a/image/ico.c b/image/ico.c
index fa82c1619..bf2647710 100644
--- a/image/ico.c
+++ b/image/ico.c
@@ -101,7 +101,7 @@ bool nsico_redraw(struct content *c, int x, int y,
bmp_decode(bmp);
c->bitmap = bmp->bitmap;
return plot.bitmap(x, y, width, height, c->bitmap,
- background_colour);
+ background_colour, c);
}
@@ -115,7 +115,7 @@ bool nsico_redraw_tiled(struct content *c, int x, int y,
bmp_decode(bmp);
c->bitmap = bmp->bitmap;
return plot.bitmap_tile(x, y, width, height, c->bitmap,
- background_colour, repeat_x, repeat_y);
+ background_colour, repeat_x, repeat_y, c);
}
diff --git a/image/jpeg.c b/image/jpeg.c
index d4f5f537d..10ff5736e 100644
--- a/image/jpeg.c
+++ b/image/jpeg.c
@@ -235,7 +235,7 @@ bool nsjpeg_redraw(struct content *c, int x, int y,
float scale, unsigned long background_colour)
{
return plot.bitmap(x, y, width, height,
- c->bitmap, background_colour);
+ c->bitmap, background_colour, c);
}
@@ -251,7 +251,7 @@ bool nsjpeg_redraw_tiled(struct content *c, int x, int y,
{
return plot.bitmap_tile(x, y, width, height,
c->bitmap, background_colour,
- repeat_x, repeat_y);
+ repeat_x, repeat_y, c);
}
diff --git a/image/mng.c b/image/mng.c
index 7e92193cf..e4e375922 100644
--- a/image/mng.c
+++ b/image/mng.c
@@ -505,7 +505,7 @@ bool nsmng_redraw(struct content *c, int x, int y,
}
ret = plot.bitmap(x, y, width, height,
- c->bitmap, background_colour);
+ c->bitmap, background_colour, c);
/* Check if we need to restart the animation
*/
@@ -534,7 +534,7 @@ bool nsmng_redraw_tiled(struct content *c, int x, int y,
ret = plot.bitmap_tile(x, y, width, height,
c->bitmap, background_colour,
- repeat_x, repeat_y);
+ repeat_x, repeat_y, c);
/* Check if we need to restart the animation
*/
diff --git a/image/nssprite.c b/image/nssprite.c
index e7e40683b..ce472fea0 100644
--- a/image/nssprite.c
+++ b/image/nssprite.c
@@ -131,7 +131,7 @@ bool nssprite_redraw(struct content *c, int x, int y,
float scale, colour background_colour)
{
return plot.bitmap(x, y, width, height,
- c->bitmap, background_colour);
+ c->bitmap, background_colour, c);
}
#endif
diff --git a/image/rsvg.c b/image/rsvg.c
index bc483e8d3..c25870aa9 100644
--- a/image/rsvg.c
+++ b/image/rsvg.c
@@ -182,7 +182,7 @@ bool rsvg_redraw(struct content *c, int x, int y, int width, int height,
int clip_x0, int clip_y0, int clip_x1, int clip_y1,
float scale, unsigned long background_colour)
{
- plot.bitmap(x, y, width, height, c->bitmap, background_colour);
+ plot.bitmap(x, y, width, height, c->bitmap, background_colour, c);
return true;
}