Skip to content

Contribute a project for building native Windows app with LVGL [WIP]  #2043

@MouriNaruto

Description

@MouriNaruto

Update: lv_port_windows is removed, please use lvgl/lv_sim_visual_studio

Introcude the problem

I had found there were something I can make some improvement after trying simulator projects which support Windows under the LVGL organization. I want to contribute a separate project called lv_port_windows because the following reasons.

  • I don't want to make a pure simulator only. I want to make a project for helping more people to build native Windows app with LVGL.
  • I usually use Visual Studio. But I don't want to contribute my implementation to lvgl/lv_sim_visual_studio_sdl because my implementation don't depend on SDL.

Here are some differences from lvgl/lv_sim_visual_studio_sdl.

  • Only depends on Win32 API, C Runtime and C++ STL only.
  • Support compiling with VC-LTL toolchain make the binary size as smaller as using MinGW.
  • Support resizing the Window in the HAL level.
  • Support Windows keyboard and mouse wheel event in the HAL level.
  • Provide x86, x64, ARM and ARM64 native support.

But lv_port_windows and LVGL itself still have the following things to do.

  • lv_port_windows should support Per Monitor DPI Aware in the HAL level.
  • LVGL should add the support for adaptive UI. (I had tested with lv_demo_widgets, but I have found LVGL doesn't support widgets resizing (width, height and dpi) after I called lv_disp_drv_update to update. I will provide some screenshots in this issue for reference.)
  • LVGL should add the support for customizing the keyboard and mousewheel driver without any modifications in lv_demo_keypad_encoder. (I don't want to use indev implementation in lv_drivers project because my implementation don't depend on SDL.)

Examples and cases

Here is the screenshot of lv_port_windows.
image

Here is the screenshot of I mention "I have found LVGL doesn't support widgets resizing".
image

Suggested solution

I want move lv_port_windows repository under LVGL organization because I want to help more people.

Kenji Mouri

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions