summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-12-23 22:39:25 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-12-23 22:39:25 +0000
commit67f2470d5a13109af213714efa99e42a4473cfd2 (patch)
tree01b8b9c870d2abf357a164222e56da9902f5bbb5 /riscos
parent879383e21ef3400eb2433579265ffd9db6faf801 (diff)
downloadnetsurf-67f2470d5a13109af213714efa99e42a4473cfd2.tar.gz
netsurf-67f2470d5a13109af213714efa99e42a4473cfd2.tar.bz2
Pass whether background images are wanted in redraw_context.
svn path=/trunk/netsurf/; revision=13335
Diffstat (limited to 'riscos')
-rw-r--r--riscos/gui/url_bar.c1
-rw-r--r--riscos/history.c1
-rw-r--r--riscos/print.c2
-rw-r--r--riscos/save_draw.c1
-rw-r--r--riscos/thumbnail.c1
-rw-r--r--riscos/treeview.c1
-rw-r--r--riscos/window.c2
7 files changed, 9 insertions, 0 deletions
diff --git a/riscos/gui/url_bar.c b/riscos/gui/url_bar.c
index 6614a8ac5..74fe2806b 100644
--- a/riscos/gui/url_bar.c
+++ b/riscos/gui/url_bar.c
@@ -584,6 +584,7 @@ void ro_gui_url_bar_redraw(struct url_bar *url_bar, wimp_draw *redraw)
struct content_redraw_data data;
struct redraw_context ctx = {
.interactive = true,
+ .background_images = true,
.plot = &ro_plotters
};
diff --git a/riscos/history.c b/riscos/history.c
index 09770f90f..c8094e5a0 100644
--- a/riscos/history.c
+++ b/riscos/history.c
@@ -141,6 +141,7 @@ void ro_gui_history_redraw(wimp_draw *redraw)
os_error *error;
struct redraw_context ctx = {
.interactive = true,
+ .background_images = true,
.plot = &ro_plotters
};
diff --git a/riscos/print.c b/riscos/print.c
index e8c162fed..7827fce7c 100644
--- a/riscos/print.c
+++ b/riscos/print.c
@@ -686,6 +686,7 @@ bool print_document(struct gui_window *g, const char *filename)
/* TODO: turn knockout off for print */
struct redraw_context ctx = {
.interactive = false,
+ .background_images = false,
.plot = &ro_plotters
};
@@ -806,6 +807,7 @@ const char *print_declare_fonts(hlcache_handle *h)
os_error *error;
struct redraw_context ctx = {
.interactive = false,
+ .background_images = false,
.plot = &print_fonts_plotters
};
diff --git a/riscos/save_draw.c b/riscos/save_draw.c
index 1fc1a12d3..e0823323b 100644
--- a/riscos/save_draw.c
+++ b/riscos/save_draw.c
@@ -95,6 +95,7 @@ bool save_as_draw(hlcache_handle *h, const char *path)
os_error *error;
struct redraw_context ctx = {
.interactive = false,
+ .background_images = true,
.plot = &ro_save_draw_plotters
};
diff --git a/riscos/thumbnail.c b/riscos/thumbnail.c
index c6e2b0d8e..a9ee005af 100644
--- a/riscos/thumbnail.c
+++ b/riscos/thumbnail.c
@@ -88,6 +88,7 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap,
_kernel_oserror *error;
struct redraw_context ctx = {
.interactive = false,
+ .background_images = true,
.plot = &ro_plotters
};
diff --git a/riscos/treeview.c b/riscos/treeview.c
index 25181725e..68fb4a7f7 100644
--- a/riscos/treeview.c
+++ b/riscos/treeview.c
@@ -445,6 +445,7 @@ void ro_treeview_redraw_loop(wimp_draw *redraw, ro_treeview *tv, osbool more)
os_error *error;
struct redraw_context ctx = {
.interactive = true,
+ .background_images = true,
.plot = &ro_plotters
};
diff --git a/riscos/window.c b/riscos/window.c
index e4685677d..d3aeb612f 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -1419,6 +1419,7 @@ void ro_gui_window_redraw(wimp_draw *redraw)
os_error *error;
struct redraw_context ctx = {
.interactive = true,
+ .background_images = true,
.plot = &ro_plotters
};
@@ -4097,6 +4098,7 @@ void ro_gui_window_update_boxes(void)
struct gui_window *g;
struct redraw_context ctx = {
.interactive = true,
+ .background_images = true,
.plot = &ro_plotters
};