--- a/ui/winui/text.h Sat Oct 14 10:55:11 2023 +0200 +++ b/ui/winui/text.h Tue Oct 17 21:00:48 2023 +0200 @@ -33,6 +33,10 @@ #include "../ui/container.h" + +char* ui_string_get(UiString* str, std::wstring& value); +std::wstring ui_string_set(UiString* str, const char* value); + extern "C" char* ui_textfield_get(UiString *str); extern "C" void ui_textfield_set(UiString *str, const char *newvalue);