aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2009-12-22 16:47:42 +0000
committerSimon Tatham <anakin@pobox.com>2009-12-22 16:47:42 +0000
commit2b06c127282a7e4b10308e641977091ee9c20628 (patch)
tree99aff731c99b1e1d4c756c7c254d630ae6591722 /puzzles.h
parent2bdabe31cf42b34f8d7bb6015c383482cfb5d068 (diff)
downloadpuzzles-2b06c127282a7e4b10308e641977091ee9c20628.zip
puzzles-2b06c127282a7e4b10308e641977091ee9c20628.tar.gz
puzzles-2b06c127282a7e4b10308e641977091ee9c20628.tar.bz2
puzzles-2b06c127282a7e4b10308e641977091ee9c20628.tar.xz
Keyboard control for Dominosa (patch largely due to James H, though
with considerable meddling from me). [originally from svn r8788]
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/puzzles.h b/puzzles.h
index 69476ae..bb9bc6d 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -303,6 +303,9 @@ void shuffle(void *array, int nelts, int eltsize, random_state *rs);
void draw_rect_outline(drawing *dr, int x, int y, int w, int h,
int colour);
+/* Draw a set of rectangle corners (e.g. for a cursor display). */
+void draw_rect_corners(drawing *dr, int cx, int cy, int r, int col);
+
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. */