aboutsummaryrefslogtreecommitdiff
path: root/x11.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2023-11-15 22:35:41 +0100
committerFederico Angelilli <code@fedang.net>2023-11-15 22:35:41 +0100
commit22086e50382b99de092899a203e520c30f50b618 (patch)
tree90ca79a7e9fedd52b21d458cf91f1fbd8a56bd06 /x11.h
parent7d795eede96e08bf7673a3264648b33693adea21 (diff)
Add `Connection` to separate xcb setup from window logic
Diffstat (limited to 'x11.h')
-rw-r--r--x11.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/x11.h b/x11.h
deleted file mode 100644
index daf6aff..0000000
--- a/x11.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#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);
-
-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_opacity(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