summaryrefslogtreecommitdiffstats
path: root/src/font.h
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-18 02:43:45 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-18 02:43:45 (EDT)
commitc5da456687d8b51d8d2360cabc1966387ebc72b9 (patch)
tree23f97459ec1fcb4f4620e6985fa632e353e03a6f /src/font.h
parentf0351693ac1558505cf15c61c3ea4a1f12c3d67b (diff)
font_*(), text_*(), image_*(): Add const qualifiers
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_ */