ui/winui/text.h

branch
newapi
changeset 379
958bae372271
parent 374
eae5d6623fd3
equal deleted inserted replaced
378:d41b1ffc5f77 379:958bae372271
58 void* ondragcompletedata; 58 void* ondragcompletedata;
59 ui_callback ondrop; 59 ui_callback ondrop;
60 void* ondropdata; 60 void* ondropdata;
61 }; 61 };
62 62
63 char* ui_wtext_get(UiText *text, std::wstring &value);
64 std::wstring ui_wtext_set(UiText *text, const char* value);
65
63 char* ui_wstring_get(UiString* str, std::wstring& value); 66 char* ui_wstring_get(UiString* str, std::wstring& value);
64 std::wstring ui_wstring_set(UiString* str, const char* value); 67 std::wstring ui_wstring_set(UiString* str, const char* value);
65 68
66 extern "C" char* ui_textarea_get(UiText *text); 69 extern "C" char* ui_textarea_get(UiText *text);
67 extern "C" void ui_textarea_set(UiText *text, const char *newvalue); 70 extern "C" void ui_textarea_set(UiText *text, const char *newvalue);

mercurial