diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2009-02-02 12:57:30 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2009-02-02 12:57:30 +0000 |
commit | 3cffe17cc79fa4bf6d755b88157d6d24355bb4c2 (patch) | |
tree | 241a0dd32e51a25196a62baefdee6d47f6fc30ad /riscos/window.c | |
parent | b2182b8c503aa56aa7093c9f8475aec27cd6b173 (diff) | |
download | netsurf-3cffe17cc79fa4bf6d755b88157d6d24355bb4c2.tar.gz netsurf-3cffe17cc79fa4bf6d755b88157d6d24355bb4c2.tar.bz2 |
More commenting of what we do with clip rectangle.
svn path=/trunk/netsurf/; revision=6353
Diffstat (limited to 'riscos/window.c')
-rw-r--r-- | riscos/window.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/riscos/window.c b/riscos/window.c index 9835b5fcc..3ff2d5c24 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -1465,11 +1465,13 @@ void ro_gui_window_redraw(wimp_draw *redraw) if (ro_gui_current_redraw_gui->option.buffer_everything) ro_gui_buffer_open(redraw); + /* Set up NetSurf's plotters with current clip rectangle */ plot.clip(clip_x0, clip_y0, clip_x1, clip_y1); if (c->type != CONTENT_HTML) plot.clg(0x00ffffff); + /* Redraw the clip rectangle area of the content */ content_redraw(c, 0, 0, c->width * scale, c->height * scale, clip_x0, clip_y0, clip_x1, clip_y1, @@ -1479,6 +1481,8 @@ void ro_gui_window_redraw(wimp_draw *redraw) if (ro_gui_current_redraw_gui->option.buffer_everything) ro_gui_buffer_close(); + /* Check to see if there are more rectangles to draw and + * get next one */ error = xwimp_get_rectangle(redraw, &more); /* RISC OS 3.7 returns an error here if enough buffer was claimed to cause a new dynamic area to be created. It |