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

Add a WinUI3 look #33

Open
zenith391 opened this issue Feb 5, 2023 · 0 comments
Open

Add a WinUI3 look #33

zenith391 opened this issue Feb 5, 2023 · 0 comments
Projects

Comments

@zenith391
Copy link
Member

zenith391 commented Feb 5, 2023

Due to the way WinUI 3 is designed and due to the fact that it has no C ABI interface available for it, I don't think using it directly is doable.

What can be done however is to render it with the win32 backend while somehow keeping accessibility support.

This could be done with open-sourced WPF data which includes stylesheets for every Windows theme or just use https://github.com/lepoco/wpfui/tree/main/src/Wpf.Ui/Styles

Another interesting resource is https://github.com/lepoco/wpfui which ports Fluent design to simple XAML style files.

If it's done, it would be interesting to offer it windowlessly (with the gles/webgpu/something else backend?) so that it's not bound by the same 10,000 handles limit as win32.

Another interesting perspective is how to support having one executable with modern Windows UI while still having the option to fallback to win32, but is this even a necessary use case? You can certainly ship two executables in this case.

@zenith391 zenith391 created this issue from a note in 0.4 (To do) Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
0.4
  
To do
Development

No branches or pull requests

1 participant