From e515240297e1d8dd6f23308f0bffcda7464486e7 Mon Sep 17 00:00:00 2001 From: physick Date: Mon, 31 Aug 2026 02:13:58 +0500 Subject: collection element callback --- src/ui_elements/UI.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui_elements') diff --git a/src/ui_elements/UI.h b/src/ui_elements/UI.h index 52d2222..3665de8 100644 --- a/src/ui_elements/UI.h +++ b/src/ui_elements/UI.h @@ -31,6 +31,7 @@ bool IsMouseInRec(Rectangle rec); typedef struct { Scene *parent; + void *userData; void (*OnClick)(Scene *); Texture *atlas; Rectangle textrueLocation; -- cgit v1.3