aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2009-01-26 19:14:44 +0000
committerSimon Tatham <anakin@pobox.com>2009-01-26 19:14:44 +0000
commitcc0f957d8206833b09e44e639da078fe0d9278d5 (patch)
tree53ab2933f30ee428dd8f5c9716b6e0a575f004da /puzzles.h
parentd2b0d8cf3fe5dd6c379300e791a24493fac2bb76 (diff)
downloadpuzzles-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/puzzles.h b/puzzles.h
index b375c3b..a1acada 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -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