2012-07-31 14:32:13 +02:00
|
|
|
#ifndef _UTILS_H
|
|
|
|
#define _UTILS_H
|
|
|
|
|
2012-08-20 22:38:29 +02:00
|
|
|
#include <stdarg.h>
|
|
|
|
#include <xcb/xcb.h>
|
|
|
|
#include <xcb/xcb_event.h>
|
2012-08-21 13:27:14 +02:00
|
|
|
#include "types.h"
|
2012-07-30 14:54:20 +02:00
|
|
|
|
2012-07-30 17:29:10 +02:00
|
|
|
void die(const char *, ...);
|
2012-08-20 22:38:29 +02:00
|
|
|
uint32_t color_pixel(char *);
|
|
|
|
uint32_t get_color(char *);
|
2012-09-07 12:32:24 +02:00
|
|
|
window_location_t locate_window(xcb_window_t);
|
|
|
|
bool is_managed(xcb_window_t);
|
2012-08-29 18:37:31 +02:00
|
|
|
void draw_triple_border(node_t *, uint32_t);
|
2012-07-31 14:32:13 +02:00
|
|
|
|
|
|
|
#endif
|