diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-05 00:35:58 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-05 00:35:58 -0400 |
commit | 2f1c8d35e6a824544714c7eed274f88121322618 (patch) | |
tree | 7cd0eafb9b436a9aca5a428fe8473d0230bafe7e /xlib.h | |
download | runes-2f1c8d35e6a824544714c7eed274f88121322618.tar.gz runes-2f1c8d35e6a824544714c7eed274f88121322618.zip |
initial commit
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 |