summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-02-21 14:48:55 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-02-21 14:48:55 +0000
commitcd40c260b9cecbe9d658a00e231aa4d82734e22d (patch)
treec32114f6cad7f296e96fdd23ed35d3ea30606873 /render
parent1b5d9f07c8877121ecaa1391857ee6f130cb6205 (diff)
downloadnetsurf-cd40c260b9cecbe9d658a00e231aa4d82734e22d.tar.gz
netsurf-cd40c260b9cecbe9d658a00e231aa4d82734e22d.tar.bz2
Remove knockout from html_redraw, and use it in browser_window_redraw and thumbnail_redraw.
svn path=/trunk/netsurf/; revision=11746
Diffstat (limited to 'render')
-rw-r--r--render/html_redraw.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/render/html_redraw.c b/render/html_redraw.c
index 7a24acc4e..383bf287e 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -37,7 +37,6 @@
#include "css/utils.h"
#include "desktop/gui.h"
#include "desktop/plotters.h"
-#include "desktop/knockout.h"
#include "desktop/selection.h"
#include "desktop/textinput.h"
#include "desktop/options.h"
@@ -116,7 +115,7 @@ bool html_redraw(struct content *c, int x, int y,
float scale, colour background_colour)
{
struct box *box;
- bool result = true, want_knockout;
+ bool result = true;
bool select, select_only;
plot_style_t pstyle_fill_bg = {
.fill_type = PLOT_OP_TYPE_SOLID,
@@ -126,10 +125,6 @@ bool html_redraw(struct content *c, int x, int y,
box = c->data.html.layout;
assert(box);
- want_knockout = plot.option_knockout;
- if (want_knockout)
- knockout_plot_start(&plot);
-
/* The select menu needs special treating because, when opened, it
* reaches beyond its layout box.
*/
@@ -174,9 +169,6 @@ bool html_redraw(struct content *c, int x, int y,
x + menu_x, y + menu_y,
current_redraw_browser->scale, clip);
}
-
- if (want_knockout)
- knockout_plot_end();
return result;