aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2009-02-22 12:05:38 +0000
committerSimon Tatham <anakin@pobox.com>2009-02-22 12:05:38 +0000
commit407f29c46f35910ce3d7ddd41f13e94213c2597e (patch)
treea276576d6d3161c345015f69447d474f5918a562 /puzzles.h
parent9249f096192b0a50e607024bf04736ef0506b5ea (diff)
downloadpuzzles-407f29c46f35910ce3d7ddd41f13e94213c2597e.zip
puzzles-407f29c46f35910ce3d7ddd41f13e94213c2597e.tar.gz
puzzles-407f29c46f35910ce3d7ddd41f13e94213c2597e.tar.bz2
puzzles-407f29c46f35910ce3d7ddd41f13e94213c2597e.tar.xz
Introduce some infrastructure to permit games' print functions to
draw dotted lines. No puzzle yet uses this, but one's about to. [originally from svn r8453]
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/puzzles.h b/puzzles.h
index a1acada..0e0cf97 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -217,6 +217,7 @@ int print_rgb_grey_colour(drawing *dr, float r, float g, float b, float grey);
int print_rgb_hatched_colour(drawing *dr, float r, float g, float b,
int hatch);
void print_line_width(drawing *dr, int width);
+void print_line_dotted(drawing *dr, int dotted);
/*
* midend.c
@@ -505,6 +506,7 @@ struct drawing_api {
void (*end_page)(void *handle, int number);
void (*end_doc)(void *handle);
void (*line_width)(void *handle, float width);
+ void (*line_dotted)(void *handle, int dotted);
};
/*