summaryrefslogtreecommitdiff
path: root/src/ui_elements/UI.h
diff options
context:
space:
mode:
authorphysick <mynameisgennadiy@vk.com>2026-07-15 17:46:13 +0500
committerphysick <mynameisgennadiy@vk.com>2026-07-15 17:46:13 +0500
commit8b79b8149d1e23d90b5871f980aec65d8aa7ae23 (patch)
tree88a8788b75270dba53a15cbc2b6e0916f05301c6 /src/ui_elements/UI.h
parentf314b56da42e1ead200e2373e9b214f77290d03b (diff)
Puzzle infrastructure pt 1.
Diffstat (limited to 'src/ui_elements/UI.h')
-rw-r--r--src/ui_elements/UI.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui_elements/UI.h b/src/ui_elements/UI.h
index f461cf5..bab154c 100644
--- a/src/ui_elements/UI.h
+++ b/src/ui_elements/UI.h
@@ -53,11 +53,11 @@ typedef struct {
} TextArea;
TextArea *CreateTextArea(TextAreaDisplayParams *DisplayParams);
+TextArea *CreateTextAreaFromText(TextAreaDisplayParams *DisplayParams, char *text);
+
void DrawTextArea(TextArea *ta, Rectangle rec);
-void InsertChar(TextArea *ta, char new_char);
-void DeleteChar(TextArea *ta);
+void UpdateTextArea(TextArea *ta, Rectangle rec);
-void HandleKeyboard(TextArea *ta);
char *GetText(TextArea *ta);
void FreeTextArea(TextArea *ta);