diff options
Diffstat (limited to 'puzzles.h')
| -rw-r--r-- | puzzles.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 */ |