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.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);