aboutsummaryrefslogtreecommitdiff
path: root/include/client
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-03-30 07:41:13 -0400
committerDrew DeVault <sir@cmpwn.com>2016-03-30 07:41:13 -0400
commit4bf10d77713f5ea9fdc05c084a26a5eb1d5bc3c5 (patch)
treeac04166d4e75b4cf7617705e31214f73f2398655 /include/client
parent3ffff5e4f246fd444b8059820825df42e627fef1 (diff)
parent0af55539a8afe38fa1a1beb6af15b0891030985a (diff)
downloadsway-4bf10d77713f5ea9fdc05c084a26a5eb1d5bc3c5.tar.xz
Merge pull request #551 from mikkeloscar/window-borders
Implement Window borders
Diffstat (limited to 'include/client')
-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 @@
#ifndef _SWAY_CLIENT_PANGO_H
#define _SWAY_CLIENT_PANGO_H
-#include "client/window.h"
-#include "client/buffer.h"
+#include <cairo/cairo.h>
+#include <pango/pangocairo.h>
#include <stdarg.h>
-PangoLayout *get_pango_layout(struct window *window, struct buffer *buffer, const char *text);
-void get_text_size(struct window *window, int *width, int *height, const char *fmt, ...);
-void pango_printf(struct window *window, const char *fmt, ...);
+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, ...);
#endif