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

Desktop UI architecture #6

Open
9ary opened this issue Feb 16, 2021 · 1 comment
Open

Desktop UI architecture #6

9ary opened this issue Feb 16, 2021 · 1 comment

Comments

@9ary
Copy link
Member

9ary commented Feb 16, 2021

The desktop UI should be consistent with the Android version. Ideally, we should be able to share layouts for both frontends.

Toolkit

Seems like we're leaning towards Qt but that's not set in stone yet.
Kirigami also looks interesting.

@9ary 9ary added this to the Desktop platforms milestone Feb 16, 2021
@9ary
Copy link
Member Author

9ary commented Feb 17, 2021

Looks like the Jetpack Compose library for Android is getting ported to the desktop: https://www.jetbrains.com/lp/compose/
Distributing JVM applications for the desktop doesn't look too bad: https://github.com/JetBrains/compose-jb/tree/master/tutorials/Native_distributions_and_local_execution
Let's also keep an eye out for Kotlin/Native support: https://discuss.kotlinlang.org/t/jetpack-compose-for-all/16024

Compose looks like a really nice framework for GUI programming, and if we can wholesale use the same GUI code on all platforms, that would make things significantly easier for us. There's no real downside to using it on Android, and nothing forces us to use it on desktop, but with K/N support (=> no dependency on the JVM), it should be a solid choice.

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

1 participant