ui/winui/text.h

branch
newapi
changeset 374
eae5d6623fd3
parent 231
e160bb392148
equal deleted inserted replaced
373:2eede3d98aba 374:eae5d6623fd3
61 }; 61 };
62 62
63 char* ui_wstring_get(UiString* str, std::wstring& value); 63 char* ui_wstring_get(UiString* str, std::wstring& value);
64 std::wstring ui_wstring_set(UiString* str, const char* value); 64 std::wstring ui_wstring_set(UiString* str, const char* value);
65 65
66 extern "C" char* ui_textarea_get(UiText *text);
67 extern "C" void ui_textarea_set(UiText *text, const char *newvalue);
68 extern "C" char* ui_textarea_getsubstr(UiText*, int, int);
69 extern "C" void ui_textarea_insert(UiText*, int, char*);
70 extern "C" void ui_textarea_setposition(UiText*,int);
71 extern "C" int ui_textarea_position(UiText*);
72 extern "C" void ui_textarea_selection(UiText*, int*, int*);
73 extern "C" int ui_textarea_length(UiText*);
74 extern "C" void ui_textarea_remove(UiText*, int, int);
75
66 extern "C" char* ui_textfield_get(UiString *str); 76 extern "C" char* ui_textfield_get(UiString *str);
67 extern "C" void ui_textfield_set(UiString *str, const char *newvalue); 77 extern "C" void ui_textfield_set(UiString *str, const char *newvalue);
68 78
69 extern "C" char* ui_passwordfield_get(UiString * str); 79 extern "C" char* ui_passwordfield_get(UiString * str);
70 extern "C" void ui_passwordfield_set(UiString * str, const char* newvalue); 80 extern "C" void ui_passwordfield_set(UiString * str, const char* newvalue);

mercurial