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

[Roadmap] Big refactoring of this repository #53

Closed
14 of 15 tasks
MouriNaruto opened this issue Jan 9, 2023 · 12 comments
Closed
14 of 15 tasks

[Roadmap] Big refactoring of this repository #53

MouriNaruto opened this issue Jan 9, 2023 · 12 comments

Comments

@MouriNaruto
Copy link
Collaborator

MouriNaruto commented Jan 9, 2023

In order to better maintain LVGL for Windows Visual Studio port, I have planned to do a big refactoring for this repository. I think it may be the biggest refactoring since I become the maintainer of this repository. Here is the list of things I need to do.

Kenji Mouri

@kisvegabor
Copy link
Member

Sounds like a good plan!

@stale
Copy link

stale bot commented Apr 20, 2023

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale This will not be worked on label Apr 20, 2023
@MouriNaruto MouriNaruto removed the stale This will not be worked on label Apr 20, 2023
@MouriNaruto
Copy link
Collaborator Author

Finally, I have implemented the MSBuild project updater properly in https://github.com/lvgl/lv_port_win_visual_studio/blob/master/LvglMaintainerTools/LvglSubmoduleProjectFileGenerator/Program.cs. Users can change the files in lvgl and freetype filter in Visual Studio IDE freely and resolve the issue #49.

I can finally to push the progress for merging the features from lv_port_windows for improving the maintain work and simplify the LVGL users choice.

Kenji Mouri

@kisvegabor
Copy link
Member

Users can change the files in lvgl and freetype filter in Visual Studio IDE freely and resolve the issue #49.

It's amazing, it was an issue for some of our customers a couple of times.

I can finally to push the progress for merging the features from lv_port_windows for improving the maintain work and simplify the LVGL users choice.

It's also great! Does it mean some parts can be added to LVGL master too? Or is it an other story?

@MouriNaruto
Copy link
Collaborator Author

MouriNaruto commented May 18, 2023

@kisvegabor

Does it mean some parts can be added to LVGL master too?

In sort of, yes. I want to provide a better implementation for LVGL, so I tangled quite a few things. It makes me reduce the something which I tangled.

For example, I want to provide a flexible and modular implementation for people, make people can integrate LVGL content (simulator mode or application mode) in other windows easily. I think it will make LVGL users happy because it can bring many possibilities. This is why I am tangled for implementing the new Windows backend. (I want to create a better design.)

Here are the things I want to provide in new Windows backend.

  • LVGL content hosting support in windows which provides the HWND for interop with other UI frameworks like MFC, Qt, WinForms, WPF etc. (Maybe we can use that to implement the LVGL Designer for Visual Studio.)
  • Multiple render backend support. In the current stage, I think I will only provide the Windows GDI backend. (But I hope I can provide the Direct2D backend in the future for reducing the overhead when Desktop Window Manager to composite the Window contents and have a good scaling quality for the simulator mode.)
  • I also hope I can implement UI Automation support in the future. It can make LVGL supports accessibility in Windows Vista and later. I have several friends who are blind, this is why I care about accessibly. Also, users can use that to do unit tests for LVGL content in Windows.

Kenji Mouri

@kisvegabor
Copy link
Member

Sounds great! 👍

From the GitHub star count clearly the Windows port repos are the most popular ones, so I'm really happy that they will be even better 😊

@MouriNaruto
Copy link
Collaborator Author

MouriNaruto commented May 23, 2023

@kisvegabor

I hope this repository could be renamed to lv_port_pc_visual_studio.

Because one of my friends created the project (I am also a contributor for that.) which can build Linux projects managed by Visual Studio C++ project file in the local Linux instance. Here is the repository: https://github.com/Chuyu-Team/MSBuildCppCrossToolset

image

I will utilize that project to create a Visual Studio project which is for LVGL Linux Wayland application demo for showing more possibilities for users.

Kenji Mouri

@kisvegabor
Copy link
Member

Woooow, it sounds amazing! Just let me when can I rename it 😊

@MouriNaruto
Copy link
Collaborator Author

@kisvegabor

Woooow, it sounds amazing! Just let me when can I rename it 😊

It's time to rename now and I will commit these changes recently.

Kenji Mouri

@kisvegabor
Copy link
Member

Done 🙂

@MouriNaruto
Copy link
Collaborator Author

MouriNaruto commented May 23, 2023

@kisvegabor

Also, the https://github.com/lvgl/lv_port_windows repository can be archived now because I have updated the deprecated information.

I am working on the replacement implementation now and I will commit them to this repository today or tomorrow. (I will do that as soon as possible.)

Kenji Mouri

@MouriNaruto
Copy link
Collaborator Author

Except for adding Windows GDI font engine backend. All related work has done by lvgl/lvgl#5313.

Kenji Mouri

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