aboutsummaryrefslogtreecommitdiff
path: root/include/client/pango.h
blob: e25a2211d2f50d353b7e045991b97d0202f582ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _SWAY_CLIENT_PANGO_H
#define _SWAY_CLIENT_PANGO_H

#include "client/window.h"
#include "client/buffer.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, ...);

#endif