diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-04-17 11:35:22 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2016-04-17 11:36:03 -0400 |
commit | 84fae94ab9ca7fd148c786d224c49205a212882e (patch) | |
tree | d3d3e8a16f96e400ee07cc44e2f9110195bea02a /include/client | |
parent | 083316c5cec77a20d29857b2c2743cbc6ded827b (diff) | |
download | sway-84fae94ab9ca7fd148c786d224c49205a212882e.tar.xz |
Flesh out pango markup implementation
Diffstat (limited to 'include/client')
-rw-r--r-- | include/client/pango.h | 8 |
1 files changed, 5 insertions, 3 deletions
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 <cairo/cairo.h> #include <pango/pangocairo.h> #include <stdarg.h> +#include <stdbool.h> -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 |