summaryrefslogtreecommitdiff
path: root/desktop/tree.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-01-12 20:59:32 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2013-01-12 20:59:32 +0000
commitc7a37392e49deb5007dc3679e0aa7e65b4ff0c8b (patch)
tree5bd775d01b57690ca6df6fe8add9454fa4a009d2 /desktop/tree.c
parent5124b8a02a2adb72a7352f14e06dc2a773afbc1f (diff)
downloadnetsurf-c7a37392e49deb5007dc3679e0aa7e65b4ff0c8b.tar.gz
netsurf-c7a37392e49deb5007dc3679e0aa7e65b4ff0c8b.tar.bz2
Add background colour to textarea_redraw API. Add source comments.
Diffstat (limited to 'desktop/tree.c')
-rw-r--r--desktop/tree.c5
1 files changed, 4 insertions, 1 deletions
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);
}
}