summaryrefslogtreecommitdiff
path: root/riscos/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/window.c')
-rw-r--r--riscos/window.c17
1 files changed, 13 insertions, 4 deletions
diff --git a/riscos/window.c b/riscos/window.c
index 0ef336453..b86fb61e9 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -22,6 +22,7 @@
#include "oslib/wimp.h"
#include "oslib/wimpspriteop.h"
#include "netsurf/utils/config.h"
+#include "netsurf/content/content.h"
#include "netsurf/css/css.h"
#include "netsurf/desktop/plotters.h"
#include "netsurf/render/box.h"
@@ -364,6 +365,18 @@ void gui_window_redraw(struct gui_window *g, int x0, int y0, int x1, int y1)
/**
+ * Redraws the content for all windows.
+ */
+
+void ro_gui_window_redraw_all(void)
+{
+ struct gui_window *g;
+ for (g = window_list; g; g = g->next)
+ gui_window_redraw_window(g);
+}
+
+
+/**
* Force a redraw of the entire contents of a browser window.
*
* \param g gui_window to redraw
@@ -1772,8 +1785,6 @@ void ro_gui_window_clone_options(struct browser_window *new_bw,
*/
if (!old_gui) {
new_gui->option.scale = ((float)option_scale) / 100;
- new_gui->option.dither_sprites = option_dither_sprites;
- new_gui->option.filter_sprites = option_filter_sprites;
new_gui->option.animate_images = option_animate_images;
new_gui->option.background_images = option_background_images;
new_gui->option.background_blending = option_background_blending;
@@ -1824,8 +1835,6 @@ void ro_gui_window_default_options(struct browser_window *bw) {
/* Save the basic options
*/
option_scale = gui->option.scale * 100;
- option_dither_sprites = gui->option.dither_sprites;
- option_filter_sprites = gui->option.filter_sprites;
option_animate_images = gui->option.animate_images;
option_background_blending = gui->option.background_blending;
option_buffer_animations = gui->option.buffer_animations;