aboutsummaryrefslogtreecommitdiff
path: root/x11.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2023-11-03 22:57:12 +0100
committerFederico Angelilli <code@fedang.net>2023-11-03 22:57:12 +0100
commit3868d1918c76e963a077ca0a56ef7de7409beb05 (patch)
tree68ee99b2650ca71c5a1db9ed87a7fd00f0a53be3 /x11.h
parent58eb86428f90926d25219f4e15b80945b00b1810 (diff)
Improve draw and add other x11 functionalities
Diffstat (limited to 'x11.h')
-rw-r--r--x11.h6
1 files changed, 6 insertions, 0 deletions
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);