summaryrefslogtreecommitdiff
path: root/render/textplain.h
diff options
context:
space:
mode:
Diffstat (limited to 'render/textplain.h')
-rw-r--r--render/textplain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/textplain.h b/render/textplain.h
index c94b18074..284585e35 100644
--- a/render/textplain.h
+++ b/render/textplain.h
@@ -30,6 +30,7 @@
struct content;
struct hlcache_handle;
struct http_parameter;
+struct rect;
struct textplain_line {
size_t start;
@@ -58,8 +59,7 @@ void textplain_mouse_action(struct content *c, struct browser_window *bw,
void textplain_reformat(struct content *c, int width, int height);
void textplain_destroy(struct content *c);
bool textplain_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 textplain_clone(const struct content *old, struct content *new_content);