summaryrefslogtreecommitdiff
path: root/src/ui_elements
diff options
context:
space:
mode:
authorphysick <mynameisgennadiy@vk.com>2026-08-31 02:13:58 +0500
committerphysick <mynameisgennadiy@vk.com>2026-08-31 02:13:58 +0500
commite515240297e1d8dd6f23308f0bffcda7464486e7 (patch)
tree3f684236b27b99a8712456f844cba01503d2b360 /src/ui_elements
parentce9cbb6c0dbd8c920fdb87389332028cdd60ccc1 (diff)
collection element callback
Diffstat (limited to 'src/ui_elements')
-rw-r--r--src/ui_elements/UI.h1
1 files changed, 1 insertions, 0 deletions
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;