kdschlosser / lv_cpython

CPython bindings to LVGL
Other
16 stars 4 forks source link

I wanted to let folks know there is going to be an overfaul of this library. #8

Open kdschlosser opened 1 year ago

kdschlosser commented 1 year ago

Sorry I have not made any changes to this library in the past couple of weeks. My PC went down (bad power supply) and it took forever to get a replacement under warranty. I am finally back up and running.

There is an issue with the existing version of the library that I don't really care for and coming up with a way to correct that problem is not easy to do. So I decided to change the backend that I was using to access the LVGL code. Instead of compiling LVGL as a Python extension I decided to compile it as a shared library and I am going to use ctypes to access the library. I have a working version tho it is not fully tested yet. Expect to see the new version pretty soon.

moroslantia commented 1 year ago

Hi, Thank you for your efforts on this. Can you share any news or plans for a first version to play with?

kdschlosser commented 1 year ago

I am still working out some of the kinks in the version I am working on. It is a matter of getting things in LVGL change or added to make integration more streamlined. My goal is to keep the API the same as LVGL and keep all of the ctypes bits behind the scenes so the user doesn't have to know that aspect of it. I am thinking I am not going to be able to do this 100% and there is going to need to be some knowledge/use. specifically when dealing with things like arrays.

I will work on getting a commit together to push into a new branch for people to tinker about with. I might be able to get some good ideas from others on how to handle some of these things.