aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/puzzles.h b/puzzles.h
index ace6690..03af2ca 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -376,6 +376,11 @@ void pos2c(int w, int h, int pos, int *cx, int *cy);
void draw_text_outline(drawing *dr, int x, int y, int fonttype,
int fontsize, int align,
int text_colour, int outline_colour, char *text);
+
+/* Copies text left-justified with spaces. Length of string must be
+ * less than buffer size. */
+void copy_left_justified(char *buf, size_t sz, const char *str);
+
/*
* dsf.c
*/