From 916ca92bfc1f0fb0cc30b1448d71b3259c20796e Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Fri, 12 Apr 2013 01:04:21 +0200 Subject: Improved favicon/iconyfied redraw (obey to visible rectangle list) --- atari/plot/plot.c | 6 ++++++ atari/plot/plot.h | 1 + 2 files changed, 7 insertions(+) (limited to 'atari/plot') diff --git a/atari/plot/plot.c b/atari/plot/plot.c index 2a8fd6868..e926deb77 100755 --- a/atari/plot/plot.c +++ b/atari/plot/plot.c @@ -1883,6 +1883,8 @@ bool plot_set_dimensions(int x, int y, int w, int h) if (doupdate==true) update_visible_rect(); + //dbg_rect("plot_set_dimensions", &newclip); + plot_clip(&newclip); return(true); } @@ -1946,6 +1948,10 @@ bool plot_clip(const struct rect *clip) return ( true ); } +VdiHdl plot_get_vdi_handle(void) +{ + return(atari_plot_vdi_handle); +} bool plot_get_clip(struct rect * out) { diff --git a/atari/plot/plot.h b/atari/plot/plot.h index b0ec58b5a..3c9461d69 100755 --- a/atari/plot/plot.h +++ b/atari/plot/plot.h @@ -111,6 +111,7 @@ bool plot_get_clip(struct rect * out); /* Get clipping for current framebuffer as GRECT */ void plot_get_clip_grect(GRECT * out); bool plot_clip(const struct rect *clip); +VdiHdl plot_get_vdi_handle(void); bool plot_rectangle( int x0, int y0, int x1, int y1,const plot_style_t *style ); bool plot_line( int x0, int y0, int x1, int y1, const plot_style_t *style ); bool plot_blit_bitmap(struct bitmap * bmp, int x, int y, -- cgit v1.2.3