From c7a37392e49deb5007dc3679e0aa7e65b4ff0c8b Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 12 Jan 2013 20:59:32 +0000 Subject: Add background colour to textarea_redraw API. Add source comments. --- desktop/tree.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'desktop/tree.c') diff --git a/desktop/tree.c b/desktop/tree.c index df2e9263f..a48b615a0 100644 --- a/desktop/tree.c +++ b/desktop/tree.c @@ -2078,7 +2078,10 @@ void tree_draw(struct tree *tree, int x, int y, y = y + tree->editing->box.y; if (tree->editing->type == NODE_ELEMENT_TEXT_PLUS_ICON) x += NODE_INSTEP; - textarea_redraw(tree->textarea, x, y, &clip, &new_ctx); + textarea_redraw(tree->textarea, x, y, + plot_style_fill_tree_background. + fill_colour, + &clip, &new_ctx); } } -- cgit v1.2.3