diff options
| author | Federico Angelilli <code@fedang.net> | 2024-07-08 15:22:41 +0200 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-07-08 15:22:41 +0200 |
| commit | 5d170a634ead0119f6e5a9f63c23b2b064126f75 (patch) | |
| tree | 0447d2dbb0da6358d184a4c62d5557d4d22f5e8d /src/window.h | |
| parent | 92feb3c130966202c7caa6d9bf3a3800c97ca7a1 (diff) | |
Remove old files
Diffstat (limited to 'src/window.h')
| -rw-r--r-- | src/window.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/window.h b/src/window.h deleted file mode 100644 index ea1209a..0000000 --- a/src/window.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef COMET_WINDOW_H -#define COMET_WINDOW_H - -#include <cairo.h> -#include <xcb/xcb.h> -#include <xcb/xcb_aux.h> - -#include "connect.h" - -typedef struct Window Window; - -struct Window { - Connection *con; - xcb_drawable_t window; - uint32_t cw_mask; - xcb_params_cw_t cw_params; - cairo_surface_t *surface; - cairo_t *cr; - int x, y; - int width, height; -}; - -Window *window_create(Connection *con); - -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); - -#endif - -// vim: ts=4 sw=4 et |
