aboutsummaryrefslogtreecommitdiffstats
path: root/xlib.h
blob: 809645e9b64d0f55ec22ea07b34b0998dfa39a38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _RUNES_XLIB_H
#define _RUNES_XLIB_H

#include <X11/Xlib.h>

struct runes_window {
    Display *dpy;
    Window w;
    GC gc;
    XIC ic;
};

RunesWindow *runes_window_create();
cairo_surface_t *runes_surface_create(RunesWindow *w);
void runes_loop_init(RunesTerm *t, uv_loop_t *loop);
void runes_window_destroy(RunesWindow *w);

#endif