GNUstep compatibility: stop using the API feature isFlipped/setFlipped
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 6 May 2012 14:01:35 +0000 (14:01 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 6 May 2012 14:01:35 +0000 (14:01 +0000)
commit58bd2ef17516ac538b7b5a08b63b177343cfe4f2
tree7cdf7c45e3d0a897ce2bf1b2c5e8b69d0b297890
parent496b5dfb3053d5ecc0d260d3d4e8fa8689282725
GNUstep compatibility: stop using the API feature isFlipped/setFlipped
to translate y-coordinates from the default of up-from-bottom to the
down-from-top expected by these puzzles, because it doesn't work right
on GNUstep. Instead, we run the API in its default mode (probably a
more robust choice anyway) and translate coordinates manually in the
front end.

In the process, I've separates the processButton: method into one for
mouse buttons and one for keys, since that was the easiest way to
ensure the coordinates passed to the mid-end for the latter are -1,-1
_after_ translation rather than before.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9502 cda61777-01e9-0310-a592-d414129be87e
osx.m