summaryrefslogtreecommitdiffstats
path: root/src/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/font.h')
-rw-r--r--src/font.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/font.h b/src/font.h
index f82f2a0..27cc08e 100644
--- a/src/font.h
+++ b/src/font.h
@@ -30,13 +30,13 @@ struct font *
font_find(const char *name) __attribute__((pure));
int
-font_get_width(struct font *font) __attribute__((pure));
+font_get_width(const struct font *font) __attribute__((pure));
int
-font_get_height(struct font *font) __attribute__((pure));
+font_get_height(const struct font *font) __attribute__((pure));
void
-font_render(struct font *font, png_const_colorp fg, png_const_colorp bg,
+font_render(const struct font *font, png_const_colorp fg, png_const_colorp bg,
unsigned char ch, png_bytepp rows, int row, int col);
#endif /* FONT_H_ */