summaryrefslogtreecommitdiff
path: root/image/ico.h
diff options
context:
space:
mode:
Diffstat (limited to 'image/ico.h')
-rw-r--r--image/ico.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/image/ico.h b/image/ico.h
index 6ed8b59d2..16db54e94 100644
--- a/image/ico.h
+++ b/image/ico.h
@@ -32,6 +32,7 @@
struct content;
struct hlcache_handle;
struct http_parameter;
+struct rect;
struct content_ico_data {
struct ico_collection *ico; /** ICO collection data */
@@ -41,12 +42,10 @@ bool nsico_create(struct content *c, const struct http_parameter *params);
bool nsico_convert(struct content *c);
void nsico_destroy(struct content *c);
bool nsico_redraw(struct content *c, int x, int y,
- int width, int height,
- int clip_x0, int clip_y0, int clip_x1, int clip_y1,
+ int width, int height, struct rect *clip,
float scale, colour background_colour);
bool nsico_redraw_tiled(struct content *c, int x, int y,
- int width, int height,
- int clip_x0, int clip_y0, int clip_x1, int clip_y1,
+ int width, int height, struct rect *clip,
float scale, colour background_colour,
bool repeat_x, bool repeat_y);
bool nsico_clone(const struct content *old, struct content *new_content);