summaryrefslogtreecommitdiffstats
path: root/include/border.h
blob: c99c02ea75918a098505e47bf0c9354a9b6ec967 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _SWAY_BORDER_H
#define _SWAY_BORDER_H
#include <wlc/wlc.h>
#include "container.h"

struct border {
	unsigned char *buffer;
	struct wlc_geometry geometry;
};

void render_view_borders(wlc_handle view);
void update_view_border(swayc_t *view);
void map_update_view_border(swayc_t *view, void *data);
int get_font_text_height(const char *font);

#endif