diff options
| author | Simon Tatham <anakin@pobox.com> | 2009-01-26 19:14:44 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2009-01-26 19:14:44 +0000 |
| commit | cc0f957d8206833b09e44e639da078fe0d9278d5 (patch) | |
| tree | 53ab2933f30ee428dd8f5c9716b6e0a575f004da /puzzles.h | |
| parent | d2b0d8cf3fe5dd6c379300e791a24493fac2bb76 (diff) | |
| download | puzzles-cc0f957d8206833b09e44e639da078fe0d9278d5.zip puzzles-cc0f957d8206833b09e44e639da078fe0d9278d5.tar.gz puzzles-cc0f957d8206833b09e44e639da078fe0d9278d5.tar.bz2 puzzles-cc0f957d8206833b09e44e639da078fe0d9278d5.tar.xz | |
Patch from James H to add keyboard control in Sixteen and Netslide
(and also belatedly document the keyboard support in Unequal).
[originally from svn r8432]
Diffstat (limited to 'puzzles.h')
| -rw-r--r-- | puzzles.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -306,6 +306,7 @@ void move_cursor(int button, int *x, int *y, int maxw, int maxh, int wrap); /* Used in netslide.c and sixteen.c for cursor movement around edge. */ int c2pos(int w, int h, int cx, int cy); +int c2diff(int w, int h, int cx, int cy, int button); void pos2c(int w, int h, int pos, int *cx, int *cy); /* Draws text with an 'outline' formed by offsetting the text |