From 1fbcdd14d550e005863096ed216f490986a583c1 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Tue, 2 Nov 2004 23:23:07 +0000 Subject: [project @ 2004-11-02 23:23:07 by rjw] Fix for recent GIF decoding bug. Rectangular pixel mode-friendly sprites for hotlist. Slight change to history image size to please Tinct. Support for foreground and background image quality settings. Support for error diffusion and bi-linear filtering (Tinct still requires some further work) svn path=/import/netsurf/; revision=1336 --- riscos/window.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'riscos/window.c') 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" @@ -363,6 +364,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. * @@ -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; -- cgit v1.2.3