summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2013-12-28 01:24:01 +0100
committerOle Loots <ole@monochrom.net>2013-12-28 01:24:01 +0100
commitad2cbae63e695a3b67c6c4cd9c7f9499231bf4c6 (patch)
tree4aebac53dbe29d124b4394c5ae1f8ea9d86c5e72
parenteaff41259bab9fe3849567dafaa29537fd33bfa6 (diff)
downloadnetsurf-ad2cbae63e695a3b67c6c4cd9c7f9499231bf4c6.tar.gz
netsurf-ad2cbae63e695a3b67c6c4cd9c7f9499231bf4c6.tar.bz2
Use new plot function: plot_set_abs_clipping.
-rwxr-xr-xatari/rootwin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/atari/rootwin.c b/atari/rootwin.c
index 4b8c3bc7f..a291e1aa9 100755
--- a/atari/rootwin.c
+++ b/atari/rootwin.c
@@ -1004,6 +1004,7 @@ void window_place_caret(ROOTWIN *rootwin, short mode, int content_x,
//dbg_pxy("caret screen coords (md_repl)", &pxy[4]);
+ // TODO: walk rectangle list (use MD_REPLACE then)
// draw caret to screen coords:
vrt_cpyfm(vh, /*MD_REPLACE*/ MD_XOR, pxy, &caret->symbol, &screen, colors);
@@ -1053,6 +1054,7 @@ void window_process_redraws(ROOTWIN * rootwin)
//gemtk_wm_clear(rootwin->win);
*/
wind_get_grect(rootwin->aes_handle, WF_FIRSTXYWH, &visible_ro);
+ plot_set_abs_clipping(&visible_ro);
while (visible_ro.g_w > 0 && visible_ro.g_h > 0) {
//dbg_grect("visible ", &visible_ro);