diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2004-11-02 23:23:07 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2004-11-02 23:23:07 +0000 |
commit | 1fbcdd14d550e005863096ed216f490986a583c1 (patch) | |
tree | 60c17e5f327391a726e5508376a860522af5b665 /riscos/window.c | |
parent | be3ce1f3a9f7fed2613f5cf28c5e4d83fae7497b (diff) | |
download | netsurf-1fbcdd14d550e005863096ed216f490986a583c1.tar.gz netsurf-1fbcdd14d550e005863096ed216f490986a583c1.tar.bz2 |
[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
Diffstat (limited to 'riscos/window.c')
-rw-r--r-- | riscos/window.c | 17 |
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; |