Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

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

@xinsuinizhuan

Description

@xinsuinizhuan

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions