diff options
| author | Federico Angelilli <code@fedang.net> | 2023-11-03 22:57:12 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2023-11-03 22:57:12 +0100 |
| commit | 3868d1918c76e963a077ca0a56ef7de7409beb05 (patch) | |
| tree | 68ee99b2650ca71c5a1db9ed87a7fd00f0a53be3 /x11.h | |
| parent | 58eb86428f90926d25219f4e15b80945b00b1810 (diff) | |
Improve draw and add other x11 functionalities
Diffstat (limited to 'x11.h')
| -rw-r--r-- | x11.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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); |
