Mads Marquart
7fe8c206ae
chore: avoid unsafe in examples
...
By using `OwnedDisplayHandle`, which uses reference-counting, instead of
`DisplayHandle<'static>` (where the user has to guarantee that the
Application doesn't outlive the event loop).
2026-06-15 03:36:22 +09:00
Mads Marquart
9f789e56ee
examples: Use tracing macros instead of println!
...
This allows the examples to work a bit better in WASM and on iOS.
2026-03-18 22:55:47 +01:00
Mads Marquart
7864d02077
Remove indentation in fill.rs helper
2026-03-17 04:34:15 +01:00
Mads Marquart
0f2d59cbba
Allow building examples using softbuffer on Android
...
These probably aren't runnable in the current state, but it should at
least allow us to get rid of a bunch of cfgs.
2026-03-17 04:34:15 +01:00
DorotaC
6de5041a94
winit-core/ime: add more purposes and content hints
...
Also move IME example into `ime.rs` thus making IME integrations more
easily comprehendible.
Co-authored-by: Kirill Chibisov <contact@kchibisov.com >
2025-09-06 13:27:55 +09:00