From: simon Date: Sun, 6 May 2012 14:01:35 +0000 (+0000) Subject: GNUstep compatibility: stop using the API feature isFlipped/setFlipped X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/commitdiff_plain/58bd2ef17516ac538b7b5a08b63b177343cfe4f2?hp=58bd2ef17516ac538b7b5a08b63b177343cfe4f2 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 ---