summaryrefslogtreecommitdiff
path: root/src/ui_elements/UI.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui_elements/UI.h')
-rw-r--r--src/ui_elements/UI.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui_elements/UI.h b/src/ui_elements/UI.h
index c23faf7..532dd68 100644
--- a/src/ui_elements/UI.h
+++ b/src/ui_elements/UI.h
@@ -25,9 +25,10 @@ typedef struct {
void (*OnClick)(Scene *);
Texture *atlas;
Rectangle textrueLocation;
+ Rectangle previousFramePosition;
} Button;
-void UpdateButton(Button *btn, Rectangle *location);
+void UpdateButton(Button *btn);
void DrawButton(Button *btn, Rectangle *location);
// ========== TEXT EDITOR ==========