X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=puzzles.h;h=bb9bc6d2d20c209d50b23e9dad6c4585813f2331;hb=2b06c127282a7e4b10308e641977091ee9c20628;hp=69476ae7f5f3336b536fb02d4bc502fb2a726841;hpb=2bdabe31cf42b34f8d7bb6015c383482cfb5d068;p=sgt-puzzles.git 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. */