diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/bar/status_line.h | 1 | ||||
-rw-r--r-- | include/client/pango.h | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/include/bar/status_line.h b/include/bar/status_line.h index 273542dc..f890ff8c 100644 --- a/include/bar/status_line.h +++ b/include/bar/status_line.h @@ -23,6 +23,7 @@ struct status_block { char *name, *instance; bool separator; int separator_block_width; + bool markup; // Airblader features uint32_t background; uint32_t border; 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 |