#ifndef COMET_X11_H #define COMET_X11_H #include typedef struct Window Window; Window *window_create(void); cairo_t *window_get_context(Window *win); void window_update_scale(Window *win); double window_get_scale(Window *win); void window_get_screen_size(Window *win, int *width, int *height); void window_set_transparency(Window *win, double alpha); void window_move(Window *win, int x, int y); void window_resize(Window *win, int width, int height); 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