aboutsummaryrefslogtreecommitdiffstats
path: root/xlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlib.h')
-rw-r--r--xlib.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/xlib.h b/xlib.h
new file mode 100644
index 0000000..083bfb6
--- /dev/null
+++ b/xlib.h
@@ -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