chiark / gitweb /
Switch the Windows builds over to clang-cl.
[sgt-puzzles.git] / puzzles.h
index ace66900f2ffc700043cefcefc6e068c7651d013..03af2ca18671183233049537b9384022796476e0 100644 (file)
--- 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
  */