summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/content.c7
-rw-r--r--content/content.h2
2 files changed, 5 insertions, 4 deletions
diff --git a/content/content.c b/content/content.c
index a74892eb9..4fd6c9b71 100644
--- a/content/content.c
+++ b/content/content.c
@@ -154,7 +154,7 @@ struct handler_entry {
bool (*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);
+ float scale, unsigned long background_colour);
void (*open)(struct content *c, struct browser_window *bw,
struct content *page, struct box *box,
struct object_params *params);
@@ -697,12 +697,13 @@ void content_quit(void)
bool content_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)
+ float scale, unsigned long background_colour)
{
assert(c != 0);
if (handler_map[c->type].redraw)
return handler_map[c->type].redraw(c, x, y, width, height,
- clip_x0, clip_y0, clip_x1, clip_y1, scale);
+ clip_x0, clip_y0, clip_x1, clip_y1, scale,
+ background_colour);
return true;
}
diff --git a/content/content.h b/content/content.h
index 48a15ed00..4a28eb442 100644
--- a/content/content.h
+++ b/content/content.h
@@ -277,7 +277,7 @@ void content_quit(void);
bool content_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);
+ float scale, unsigned long background_colour);
void content_add_user(struct content *c,
void (*callback)(content_msg msg, struct content *c, void *p1,
void *p2, union content_msg_data data),