2016-03-29 14:47:30 +02:00
|
|
|
#ifndef _SWAY_BORDER_H
|
|
|
|
#define _SWAY_BORDER_H
|
2016-01-28 14:39:51 +01:00
|
|
|
#include <wlc/wlc.h>
|
2016-03-14 02:10:46 +01:00
|
|
|
#include "container.h"
|
2016-01-28 14:39:51 +01:00
|
|
|
|
2016-04-20 00:22:15 +02:00
|
|
|
struct border {
|
|
|
|
unsigned char *buffer;
|
|
|
|
struct wlc_geometry geometry;
|
|
|
|
};
|
|
|
|
|
2016-01-28 14:39:51 +01:00
|
|
|
void render_view_borders(wlc_handle view);
|
2016-03-14 02:10:46 +01:00
|
|
|
void update_view_border(swayc_t *view);
|
2016-03-30 00:13:39 +02:00
|
|
|
void map_update_view_border(swayc_t *view, void *data);
|
2016-03-29 14:47:30 +02:00
|
|
|
int get_font_text_height(const char *font);
|
2016-01-28 14:39:51 +01:00
|
|
|
|
|
|
|
#endif
|