diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-01-12 20:59:32 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-01-12 20:59:32 +0000 |
commit | c7a37392e49deb5007dc3679e0aa7e65b4ff0c8b (patch) | |
tree | 5bd775d01b57690ca6df6fe8add9454fa4a009d2 /desktop/tree.c | |
parent | 5124b8a02a2adb72a7352f14e06dc2a773afbc1f (diff) | |
download | netsurf-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.c | 5 |
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); } } |