Home
last modified time | relevance | path

Searched refs:pinyin_ime (Results 1 – 4 of 4) sorted by relevance

/lvgl-3.7.0/src/extra/others/ime/
Dlv_ime_pinyin.c432 lv_ime_pinyin_t * pinyin_ime = (lv_ime_pinyin_t *)obj; in lv_ime_pinyin_set_keyboard() local
434 pinyin_ime->kb = kb; in lv_ime_pinyin_set_keyboard()
435 lv_obj_add_event_cb(pinyin_ime->kb, lv_ime_pinyin_kb_event, LV_EVENT_VALUE_CHANGED, obj); in lv_ime_pinyin_set_keyboard()
436 lv_obj_align_to(pinyin_ime->cand_panel, pinyin_ime->kb, LV_ALIGN_OUT_TOP_MID, 0, 0); in lv_ime_pinyin_set_keyboard()
459 lv_ime_pinyin_t * pinyin_ime = (lv_ime_pinyin_t *)obj; in lv_ime_pinyin_set_mode() local
461 LV_ASSERT_OBJ(pinyin_ime->kb, &lv_keyboard_class); in lv_ime_pinyin_set_mode()
463 pinyin_ime->mode = mode; in lv_ime_pinyin_set_mode()
466 if(pinyin_ime->mode == LV_IME_PINYIN_MODE_K9) { in lv_ime_pinyin_set_mode()
468 …lv_keyboard_set_map(pinyin_ime->kb, LV_KEYBOARD_MODE_USER_1, (const char *)lv_btnm_def_pinyin_k9_m… in lv_ime_pinyin_set_mode()
470 lv_keyboard_set_mode(pinyin_ime->kb, LV_KEYBOARD_MODE_USER_1); in lv_ime_pinyin_set_mode()
[all …]
/lvgl-3.7.0/examples/others/ime/
Dlv_example_ime_pinyin_2.c25 lv_obj_t * pinyin_ime = lv_ime_pinyin_create(lv_scr_act()); in lv_example_ime_pinyin_2() local
26 lv_obj_set_style_text_font(pinyin_ime, &lv_font_simsun_16_cjk, 0); in lv_example_ime_pinyin_2()
39 lv_ime_pinyin_set_keyboard(pinyin_ime, kb); in lv_example_ime_pinyin_2()
40 lv_ime_pinyin_set_mode(pinyin_ime, in lv_example_ime_pinyin_2()
45 lv_obj_t * cand_panel = lv_ime_pinyin_get_cand_panel(pinyin_ime); in lv_example_ime_pinyin_2()
Dlv_example_ime_pinyin_1.c25 lv_obj_t * pinyin_ime = lv_ime_pinyin_create(lv_scr_act()); in lv_example_ime_pinyin_1() local
26 lv_obj_set_style_text_font(pinyin_ime, &lv_font_simsun_16_cjk, 0); in lv_example_ime_pinyin_1()
37 lv_ime_pinyin_set_keyboard(pinyin_ime, kb); in lv_example_ime_pinyin_1()
43 lv_obj_t * cand_panel = lv_ime_pinyin_get_cand_panel(pinyin_ime); in lv_example_ime_pinyin_1()
/lvgl-3.7.0/docs/others/
Dime_pinyin.md22 …te a Pinyin input method plug-in, then use `lv_ime_pinyin_set_keyboard(pinyin_ime, kb)` to add the…
23 You can use `lv_ime_pinyin_set_dict(pinyin_ime, your_dict)` to use a custom dictionary (if you don'…
36 然后使用 `lv_ime_pinyin_set_keyboard(pinyin_ime, kb)` 函数将您创建的键盘组件添加到插件中。
40 您可以使用 `lv_ime_pinyin_set_dict(pinyin_ime, your_dict)` 函数来设置使用自定义的词库,如果您一开始就不打算使用内置的词库,建议您在 `lv_conf…
111 按照上面的词库格式编写好自己的词库之后,参考下面的用法,调用 `lv_100ask_pinyin_ime_set_dict(pinyin_ime, your_pinyin_dict)` 函数即可设置…
117 lv_obj_t * pinyin_ime = lv_100ask_pinyin_ime_create(lv_scr_act());
118 lv_100ask_pinyin_ime_set_dict(pinyin_ime, your_pinyin_dict);