diff options
author | Ole Loots <ole@monochrom.net> | 2013-04-12 01:04:21 +0200 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2013-04-12 01:04:21 +0200 |
commit | 916ca92bfc1f0fb0cc30b1448d71b3259c20796e (patch) | |
tree | dd2a95b06bec043fcabbcf8082c78c61bbb7bee0 /atari/plot | |
parent | 08024af0a5383e79867b5202aa66d63757dcc0af (diff) | |
download | netsurf-916ca92bfc1f0fb0cc30b1448d71b3259c20796e.tar.gz netsurf-916ca92bfc1f0fb0cc30b1448d71b3259c20796e.tar.bz2 |
Improved favicon/iconyfied redraw (obey to visible rectangle list)
Diffstat (limited to 'atari/plot')
-rwxr-xr-x | atari/plot/plot.c | 6 | ||||
-rwxr-xr-x | atari/plot/plot.h | 1 |
2 files changed, 7 insertions, 0 deletions
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, |