From ad2cbae63e695a3b67c6c4cd9c7f9499231bf4c6 Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Sat, 28 Dec 2013 01:24:01 +0100 Subject: Use new plot function: plot_set_abs_clipping. --- atari/rootwin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'atari/rootwin.c') 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); -- cgit v1.2.3