@kisvegabor
Upgrade Complete
Hi, I have basically completed the upgrade and demonstrated the effect:
video: https://www.bilibili.com/video/BV1DY41147xX

Sample code
void lv_100ask_pinyin_ime_simple_test(void)
{
lv_obj_t * pinyin_ime = lv_100ask_pinyin_ime_create(lv_scr_act());
lv_obj_set_style_text_font(pinyin_ime, &lv_font_source_han_sans_bold_16, 0); // set font
//lv_pinyin_ime_set_dict(your_dict); // Use a custom thesaurus. If it is not set, the built-in thesaurus will be used
lv_obj_t * kb = lv_100ask_pinyin_ime_get_kb(pinyin_ime);
/* ta1 */
lv_obj_t * ta1 = lv_textarea_create(lv_scr_act());
lv_obj_set_style_text_font(ta1, &lv_font_source_han_sans_bold_16, 0); // set font
lv_obj_align(ta1, LV_ALIGN_TOP_LEFT, 10, 10);
lv_keyboard_set_textarea(kb, ta1);
lv_obj_add_event_cb(ta1, ta_event_cb, LV_EVENT_ALL, kb);
/* ta2 */
lv_obj_t * ta2 = lv_textarea_create(lv_scr_act());
lv_obj_set_style_text_font(ta2, &lv_font_source_han_sans_bold_16, 0); // set font
lv_obj_align_to(ta2, ta1,LV_ALIGN_OUT_RIGHT_MID, 10, 0);
lv_obj_add_event_cb(ta2, ta_event_cb, LV_EVENT_ALL, kb);
}
Executable file
lv_100ask_pinyin_ime_beta-v2.0.zip (2.6 MB)
I am upgrading from the previous version(not yet push). What is the next step?