diff options
Diffstat (limited to 'xlib.h')
-rw-r--r-- | xlib.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,17 @@ +#ifndef _RUNES_XLIB_H +#define _RUNES_XLIB_H + +#include <X11/Xlib.h> + +typedef struct { + Display *dpy; + Window w; + GC gc; +} RunesWindow; + +RunesWindow *runes_window_create(); +cairo_surface_t *runes_surface_create(RunesWindow *w); +void runes_window_flush(RunesWindow *w); +void runes_window_destroy(RunesWindow *w); + +#endif |