aboutsummaryrefslogtreecommitdiffstats
path: root/include/client/pango.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/client/pango.h')
-rw-r--r--include/client/pango.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/client/pango.h b/include/client/pango.h
index e25a2211..97c31e38 100644
--- a/include/client/pango.h
+++ b/include/client/pango.h
@@ -1,12 +1,12 @@
1#ifndef _SWAY_CLIENT_PANGO_H 1#ifndef _SWAY_CLIENT_PANGO_H
2#define _SWAY_CLIENT_PANGO_H 2#define _SWAY_CLIENT_PANGO_H
3 3
4#include "client/window.h" 4#include <cairo/cairo.h>
5#include "client/buffer.h" 5#include <pango/pangocairo.h>
6#include <stdarg.h> 6#include <stdarg.h>
7 7
8PangoLayout *get_pango_layout(struct window *window, struct buffer *buffer, const char *text); 8PangoLayout *get_pango_layout(cairo_t *cairo, const char *font, const char *text);
9void get_text_size(struct window *window, int *width, int *height, const char *fmt, ...); 9void get_text_size(cairo_t *cairo, const char *font, int *width, int *height, const char *fmt, ...);
10void pango_printf(struct window *window, const char *fmt, ...); 10void pango_printf(cairo_t *cairo, const char *font, const char *fmt, ...);
11 11
12#endif 12#endif