-
Notifications
You must be signed in to change notification settings - Fork 50
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
Integrate with Jetbrains Compose #40
Comments
Yes, I do have plans to move in that direction :) Maybe as first step - just mimic Compose-UI API as much as possible, on top of libui C API. But as always I'm too not sure if I will have time for that, so of course PR's are very welcome :) |
Yeah, well Jetbrains just announced Kotlin/JS Compose for Web, so they are putting the work in to support multiplatform. I'm hoping to see Jetbrains start an iOS port too, because that would be awesome, and would bring first-class support for Compose on Kotlin/Native. Maybe some day 🤞 |
Looks like as of May 28th this is technically possible: https://twitter.com/shikasd_/status/1398445030419877891?s=20 Though, there are no prebuilt artifacts published for native (yet?) |
Is it possible to use LVLG .https://github.com/lvgl/lvgl |
LVGL is somewhat similar to compose-ui, yes - both implement all widgets by drawing them on plain canvas (framebuffer). Totally different philosophy:
If this project ever will use compose (still possible, but unsure) - it will be low-level compose runtime, and maybe layout framework. |
I think Compose is a great way to move.
|
Seeing your comment caught my attention and I've started throwing together a POC/MVP. |
Made a PR. Take a look and give it a go. Lemme know if you encounter any bugs/crashes. |
I noticed in this project's README that you weren't sure about the DSL.
Well, what if we changed the DSL over to Android/Jetbrains Compose? It seems like fun idea because:
expect/actual
to build common interfaces that work across both Android and native desktop.I'm just brainstorming, but I'm hoping to have some time to explore this myself, thought the idea was worth sharing.
The text was updated successfully, but these errors were encountered: