From 84fae94ab9ca7fd148c786d224c49205a212882e Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 17 Apr 2016 11:35:22 -0400 Subject: Flesh out pango markup implementation --- include/client/pango.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/client') diff --git a/include/client/pango.h b/include/client/pango.h index 97c31e38..66843041 100644 --- a/include/client/pango.h +++ b/include/client/pango.h @@ -4,9 +4,11 @@ #include #include #include +#include -PangoLayout *get_pango_layout(cairo_t *cairo, const char *font, const char *text); -void get_text_size(cairo_t *cairo, const char *font, int *width, int *height, const char *fmt, ...); -void pango_printf(cairo_t *cairo, const char *font, const char *fmt, ...); +PangoLayout *get_pango_layout(cairo_t *cairo, const char *font, const char *text, bool markup); +void get_text_size(cairo_t *cairo, const char *font, int *width, int *height, + bool markup, const char *fmt, ...); +void pango_printf(cairo_t *cairo, const char *font, bool markup, const char *fmt, ...); #endif -- cgit v1.2.3