From 4ade97334ad45b3dabb464c285ee1c94a5a1cfac Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Mon, 23 Jul 2012 14:48:50 +0200 Subject: Changed toolbar_bg_color to type "colour", Now the toolbar background can be configured as RGB colour. --- atari/plot/plot.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'atari/plot') diff --git a/atari/plot/plot.c b/atari/plot/plot.c index 1d12ebab2..8499ac7a6 100755 --- a/atari/plot/plot.c +++ b/atari/plot/plot.c @@ -1846,6 +1846,7 @@ static bool plot_polygon(const int *p, unsigned int n, bool plot_set_dimensions(int x, int y, int w, int h) { bool doupdate = false; + struct rect newclip = {0, 0, w, h}; if (!(w == view.w && h == view.h)) { struct rect newclip = { 0, 0, w-1, h-1 }; @@ -1860,6 +1861,8 @@ bool plot_set_dimensions(int x, int y, int w, int h) } if (doupdate==true) update_visible_rect(); + + plot_clip(&newclip); return(true); } -- cgit v1.2.3