mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
Motivation: the git pre-commit hook is confused by the mix of 2021 and
2024 in the same workspace...
The only problem this raises is the std::env::set_var("LANGUAGE", lang) in
demos/printerdemo/rust/lib.rs, pre-existing but now explicitly marked as unsafe
because it actually is. Added a TODO there.
|
||
|---|---|---|
| .. | ||
| icons | ||
| Cargo.toml | ||
| CMakeLists.txt | ||
| index.html | ||
| main.js | ||
| main.py | ||
| main.rs | ||
| memory.cpp | ||
| memory.slint | ||
| package.json | ||
| pyproject.toml | ||
| README.md | ||
memory
A basic memory game used as an example the tutorial
.slint Design |
Rust Source | C++ Source | Online wasm Preview | Open in SlintPad |
|---|---|---|---|---|
memory.slint |
main.rs |
memory.cpp |
Online simulation | Preview in Online Code Editor |