summaryrefslogtreecommitdiff
path: root/src/ui_elements
diff options
context:
space:
mode:
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;