summaryrefslogtreecommitdiff
path: root/render/textplain.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2011-05-08 19:54:35 +0000
committerVincent Sanders <vince@netsurf-browser.org>2011-05-08 19:54:35 +0000
commit8be1e85e919d5b6c12979dca0d57f7cd67d2cb79 (patch)
treec0887e7c26229de5f543b03eb9bdb8d5561e9787 /render/textplain.c
parent8f6c343309dd32c3193622961df5e2f785915665 (diff)
downloadnetsurf-8be1e85e919d5b6c12979dca0d57f7cd67d2cb79.tar.gz
netsurf-8be1e85e919d5b6c12979dca0d57f7cd67d2cb79.tar.bz2
consolidate content redraw
more cleanups ready for image content refactor svn path=/trunk/netsurf/; revision=12317
Diffstat (limited to 'render/textplain.c')
-rw-r--r--render/textplain.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/render/textplain.c b/render/textplain.c
index a394b8251..6ec2f2521 100644
--- a/render/textplain.c
+++ b/render/textplain.c
@@ -104,7 +104,8 @@ static void textplain_reformat(struct content *c, int width, int height);
static void textplain_destroy(struct content *c);
static bool textplain_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 redraw_x, bool redraw_y);
static nserror textplain_clone(const struct content *old,
struct content **newc);
static content_type textplain_content_type(lwc_string *mime_type);
@@ -131,7 +132,6 @@ static const content_handler textplain_content_handler = {
textplain_redraw,
NULL,
NULL,
- NULL,
textplain_clone,
NULL,
textplain_content_type,
@@ -687,7 +687,8 @@ void textplain_mouse_action(struct content *c, struct browser_window *bw,
bool textplain_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)
{
textplain_content *text = (textplain_content *) c;
struct browser_window *bw = current_redraw_browser;