aboutsummaryrefslogtreecommitdiff
path: root/PuzzleApplet.java
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2012-05-06 14:01:35 +0000
committerSimon Tatham <anakin@pobox.com>2012-05-06 14:01:35 +0000
commitcdd53f182d40af6acb45d42d8fd6d857d9aeab13 (patch)
tree7cdf7c45e3d0a897ce2bf1b2c5e8b69d0b297890 /PuzzleApplet.java
parent9d3c8fbde0c39ed2be33008fe81accc149f3325a (diff)
downloadpuzzles-cdd53f182d40af6acb45d42d8fd6d857d9aeab13.zip
puzzles-cdd53f182d40af6acb45d42d8fd6d857d9aeab13.tar.gz
puzzles-cdd53f182d40af6acb45d42d8fd6d857d9aeab13.tar.bz2
puzzles-cdd53f182d40af6acb45d42d8fd6d857d9aeab13.tar.xz
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 separated 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. [originally from svn r9502]
Diffstat (limited to 'PuzzleApplet.java')
0 files changed, 0 insertions, 0 deletions