aboutsummaryrefslogtreecommitdiff
path: root/x11.h
blob: ca26617056fc51650f3576458147f679a772a04f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef COMET_X11_H
#define COMET_X11_H

#include <cairo.h>

typedef struct Window Window;

Window *window_create(void);

cairo_t *window_get_context(Window *win);

double window_get_scale(Window *win);

void window_paint_surface(Window *win, cairo_surface_t *surface, int width, int height);

void window_destroy(Window *win);

#endif

// vim: ts=4 sw=4 et