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