TextBox_Text_AddA( LCUI_Widget *widget, char *ascii_text ) { wchar_t *unicode_text; LCUICharset_ASCIIToUnicode( ascii_text, &unicode_text ); TextBox_Text_AddW( widget, unicode_text ); free( unicode_text ); }
TextLayer_TextA( LCUI_TextLayer *layer, const char *ascii_text ) { wchar_t *unicode_text; LCUICharset_ASCIIToUnicode( ascii_text, &unicode_text ); TextLayer_TextW( layer, unicode_text ); free( unicode_text ); }
TextLayer_Text_AddA( LCUI_TextLayer *layer, char *ascii_text ) { wchar_t *unicode_text; LCUICharset_ASCIIToUnicode( ascii_text, &unicode_text ); TextLayer_Text_AddW( layer, unicode_text ); free( unicode_text ); return 0; }