Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xinsuinizhuan opened this issue Jun 21, 2024 · 7 comments
Open

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

xinsuinizhuan opened this issue Jun 21, 2024 · 7 comments

Comments

@xinsuinizhuan
Copy link

xinsuinizhuan commented Jun 21, 2024

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?

@xinsuinizhuan
Copy link
Author

how about this issue?

@kisvegabor
Copy link
Member

cc @MouriNaruto

Note that this repository will be archived in the feature. Instead, I recommend using LVGL v9 where we have the same driver built into LVGL.

@xinsuinizhuan
Copy link
Author

I want upgrade my project from v8 to v9, but so many functions dismiss,could not inherit。I hope could repair this issue, 3q

@xinsuinizhuan
Copy link
Author

could repaire this issue?

@kisvegabor
Copy link
Member

I don't understand the issue 🙁 Could you explain it in a different way?

@xinsuinizhuan
Copy link
Author

I use lv_win32_init to init a window,and pop it, but now i need close it, then repop, how to unit the window? like create and destroy, i lv_win32_init (create), how to lv_win32_uinit(destroy)?

@kisvegabor
Copy link
Member

If there is no lv_win32_uinit function now, probably you need to add it manually. 🙁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants