From f36b910104dd6b34d42659eaa0cf63ae8b0dcc58 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Mon, 29 May 2023 22:54:23 +0200 Subject: Add new functions to CherryWidget --- src/widget.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/widget.h') diff --git a/src/widget.h b/src/widget.h index c7cc757..c324e0b 100644 --- a/src/widget.h +++ b/src/widget.h @@ -24,5 +24,10 @@ typedef struct CherryWidget { CherryWidget *cherry_widget_new(void); void cherry_widget_get_dimension(CherryWidget *, int *, int *); +void cherry_widget_set_dimension(CherryWidget *, int, int); +int cherry_widget_is_visible(CherryWidget *); +void cherry_widget_set_visible(CherryWidget *, int); +void cherry_widget_get_position(CherryWidget *, int *, int *); +void cherry_widget_set_position(CherryWidget *, int, int); #endif /* __CHERRY_WIDGET_H__ */ -- cgit v1.2.3