lvgl / lv_port_pc_visual_studio

Visual Studio projects for LVGL embedded graphics library. Recommended on Windows. Linux support with Wayland is work in progress.
MIT License
583 stars 296 forks source link

Multi-window support #55

Open kisvegabor opened 1 year ago

kisvegabor commented 1 year ago

Hi,

I wonder if it's possible to create 2 windows for 2 lv_disp_t instances with Visual Studio.

It would be very useful for a particular project where we have the normal UI in one window and we add some slider to simulate data changes in an other window.

MouriNaruto commented 1 year ago

Yes, it's possible to create 2 windows.

Kenji Mouri

kisvegabor commented 1 year ago

Great! Could you shown an example for that? Or shall we just call lv_win32_init again?

MouriNaruto commented 1 year ago

I will add the example for that as soon as possible. Please wait for a while. If it's OK, I will update the progress in this issue.

Kenji Mouri

kisvegabor commented 1 year ago

Thank you, Kenji!