From 0d831c4ab68d48e2ff114a217d5ce8df61cf0fe3 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 8 Feb 2013 23:25:40 +0000 Subject: Scaled textarea rendering support. Ugly. --- desktop/textarea.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'desktop/textarea.h') diff --git a/desktop/textarea.h b/desktop/textarea.h index 566e0cf6c..d01cd12c6 100644 --- a/desktop/textarea.h +++ b/desktop/textarea.h @@ -169,10 +169,11 @@ int textarea_get_caret(struct textarea *ta); * \param x x coordinate of textarea top * \param y y coordinate of textarea left * \param bg background colour under textarea + * \param scale scale to render at * \param clip clip rectangle * \param ctx current redraw context */ -void textarea_redraw(struct textarea *ta, int x, int y, colour bg, +void textarea_redraw(struct textarea *ta, int x, int y, colour bg, float scale, const struct rect *clip, const struct redraw_context *ctx); /** -- cgit v1.2.3