New puzzle: `Tents'. Requires a potentially shared algorithms module

maxflow.c. Also in this checkin, fixes to the OS X and GTK back ends
to get ALIGN_VNORMAL right. This is the first time I've used it! :-)

[originally from svn r6390]
This commit is contained in:
Simon Tatham
2005-10-13 18:30:24 +00:00
parent 29afca3ef9
commit 669bb81f08
8 changed files with 2664 additions and 2 deletions

2
osx.m
View File

@ -1341,6 +1341,8 @@ static void osx_draw_text(void *handle, int x, int y, int fonttype,
point.x -= size.width / 2;
if (align & ALIGN_VCENTRE)
point.y -= size.height / 2;
else
point.y -= size.height;
[string drawAtPoint:point withAttributes:attr];
}