diff options
| author | Physick <96335032+DegustatorPonos@users.noreply.github.com> | 2026-08-03 00:46:21 +0500 |
|---|---|---|
| committer | Physick <96335032+DegustatorPonos@users.noreply.github.com> | 2026-08-03 00:46:21 +0500 |
| commit | 56f152cf57e0bd3491be74195905b863519d9fca (patch) | |
| tree | 671022de4608efbeb7efa7278d9404e8ae9b5303 /src/ui_elements/UI.h | |
| parent | d1a1ebd54cabc6646f20f6b1b341751a2bf3c2ec (diff) | |
memory leak issues + qol stull
Diffstat (limited to 'src/ui_elements/UI.h')
| -rw-r--r-- | src/ui_elements/UI.h | 3 |
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 ========== |
