summaryrefslogtreecommitdiff
path: root/atari/plot/plot.c
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2012-07-23 14:48:50 +0200
committerOle Loots <ole@monochrom.net>2012-07-23 14:48:50 +0200
commit4ade97334ad45b3dabb464c285ee1c94a5a1cfac (patch)
tree308040146a1bcee943525a21e771a30baebfa7b6 /atari/plot/plot.c
parent957f9dc7c8f98b7c81fa1cb93491095f5e10251f (diff)
downloadnetsurf-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-xatari/plot/plot.c3
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);
}