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/pango.h | |
parent | Merge pull request #590 from mikkeloscar/i686-warnings (diff) | |
download | sway-84fae94ab9ca7fd148c786d224c49205a212882e.tar.gz sway-84fae94ab9ca7fd148c786d224c49205a212882e.tar.zst sway-84fae94ab9ca7fd148c786d224c49205a212882e.zip |
Flesh out pango markup implementation
Diffstat (limited to 'include/client/pango.h')
-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 @@ | |||
4 | #include <cairo/cairo.h> | 4 | #include <cairo/cairo.h> |
5 | #include <pango/pangocairo.h> | 5 | #include <pango/pangocairo.h> |
6 | #include <stdarg.h> | 6 | #include <stdarg.h> |
7 | #include <stdbool.h> | ||
7 | 8 | ||
8 | PangoLayout *get_pango_layout(cairo_t *cairo, const char *font, const char *text); | 9 | PangoLayout *get_pango_layout(cairo_t *cairo, const char *font, const char *text, bool markup); |
9 | void get_text_size(cairo_t *cairo, const char *font, int *width, int *height, const char *fmt, ...); | 10 | void get_text_size(cairo_t *cairo, const char *font, int *width, int *height, |
10 | void pango_printf(cairo_t *cairo, const char *font, const char *fmt, ...); | 11 | bool markup, const char *fmt, ...); |
12 | void pango_printf(cairo_t *cairo, const char *font, bool markup, const char *fmt, ...); | ||
11 | 13 | ||
12 | #endif | 14 | #endif |