From 76ec9e7be4286a942975d07cbe84ea43a30e7b28 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Mon, 29 May 2023 23:17:42 +0200 Subject: Remove `dimension` from CherryWindow --- src/window.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/window.h') diff --git a/src/window.h b/src/window.h index 6906c04..e32b258 100644 --- a/src/window.h +++ b/src/window.h @@ -3,12 +3,11 @@ #ifndef __CHERRY_WINDOW_H__ #define __CHERRY_WINDOW_H__ -#include "dimension.h" +#include "widget.h" #include "event.h" typedef struct CherryWindow { char *title; - CherryDimension *dimension; int x, y; int visible; @@ -23,6 +22,7 @@ CherryWindow *cherry_window_new(void); void cherry_window_dispose_on_exit(CherryWindow *); char *cherry_window_get_title(CherryWindow *); void cherry_window_set_title(CherryWindow *, char *); +void cherry_window_get_dimension(CherryWindow *, int *, int *); void cherry_window_set_dimension(CherryWindow *, int, int); void cherry_window_set_position(CherryWindow *, int, int); void cherry_window_set_visible(CherryWindow *, int); -- cgit v1.2.3