lvgl / lv_drivers

TFT and touch pad drivers for LVGL embedded GUI library
https://docs.lvgl.io/master/porting/index.html
MIT License
290 stars 309 forks source link

only have the lv_win32_init interface, how to de-init? #316

Open xinsuinizhuan opened 1 week ago

xinsuinizhuan commented 1 week ago

in windows: i init,then uinit,then re-init, false:

bool single_display_mode_initialization() { HMODULE curmodel = GetModuleHandleW(NULL); if (!lv_win32_init( curmodel, SW_SHOW, 480, 320, NULL)) { return false; } lv_win32_add_all_input_devices_to_group(NULL); return true; }

init: lv_init(); if (!single_display_mode_initialization()) { return false; } unit: lv_deinit();

i init the window, but i want destroy it, then re-init the windows,but lv_win32_init return false! how to uint?