slint/internal/backends/winit
Simon Hausmann 155b1443e2 Add support for reacting to dark/light mode theme changes with winit
On macOS and Windows, use winit's `Window::theme()` instead of
dark-light, to detect the theme.

Always react to WindowEvent::ThemeChange. It's delivered on macOS,
Windows, and the web.
2023-02-17 16:11:44 +01:00
..
LICENSES Rename the backend-gl crate into backend-winit 2022-07-26 17:43:51 +02:00
renderer Femtovg backend: fix text_input_cursor_rect_for_byte_offset for the last glyph 2023-02-17 15:51:14 +01:00
build.rs Add support for reacting to dark/light mode theme changes with winit 2023-02-17 16:11:44 +01:00
Cargo.toml Add support for reacting to dark/light mode theme changes with winit 2023-02-17 16:11:44 +01:00
event_loop.rs Add support for reacting to dark/light mode theme changes with winit 2023-02-17 16:11:44 +01:00
glwindow.rs Add support for reacting to dark/light mode theme changes with winit 2023-02-17 16:11:44 +01:00
lib.rs Rust: Make new(), run() and show() report errors from the backend 2023-02-10 05:00:03 +01:00
README.md Rename the backend-gl crate into backend-winit 2022-07-26 17:43:51 +02:00
wasm_input_helper.rs Change WindowEvent::KeyPressed/Released to use a SharedString instead of a char (#2148) 2023-01-31 15:44:54 +01:00

NOTE: This library is an internal crate of the Slint project. This crate should not be used directly by applications using Slint. You should use the slint crate instead.

WARNING: This crate does not follow the semver convention for versioning and can only be used with version = "=x.y.z" in Cargo.toml.