From 3868d1918c76e963a077ca0a56ef7de7409beb05 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Fri, 3 Nov 2023 22:57:12 +0100 Subject: Improve draw and add other x11 functionalities --- x11.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'x11.h') diff --git a/x11.h b/x11.h index ca26617..0d8cd4c 100644 --- a/x11.h +++ b/x11.h @@ -11,6 +11,12 @@ cairo_t *window_get_context(Window *win); double window_get_scale(Window *win); +void window_get_screen_size(Window *win, int *width, int *height); + +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); -- cgit v1.2.3