diff options
author | Ole Loots <ole@monochrom.net> | 2012-07-23 14:48:50 +0200 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2012-07-23 14:48:50 +0200 |
commit | 4ade97334ad45b3dabb464c285ee1c94a5a1cfac (patch) | |
tree | 308040146a1bcee943525a21e771a30baebfa7b6 /atari/plot/plot.c | |
parent | 957f9dc7c8f98b7c81fa1cb93491095f5e10251f (diff) | |
download | netsurf-4ade97334ad45b3dabb464c285ee1c94a5a1cfac.tar.gz netsurf-4ade97334ad45b3dabb464c285ee1c94a5a1cfac.tar.bz2 |
Changed toolbar_bg_color to type "colour",
Now the toolbar background can be configured
as RGB colour.
Diffstat (limited to 'atari/plot/plot.c')
-rwxr-xr-x | atari/plot/plot.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |