No description
Uses iced `events_with()` to only subscribe to window resize events. The window width is stored in a static AtomicU32 so that the subscription can compare to an old window width as to only send messages when the width crosses the break point. fix up |
||
|---|---|---|
| examples | ||
| iced@499367339d | ||
| res/Fira | ||
| src | ||
| .gitignore | ||
| .gitmodules | ||
| Cargo.toml | ||
| config.toml | ||
| LICENSE | ||
| README.md | ||
LIBCOSMIC
Building blocks for COSMIC applications.
Building
Libcosmic is written in pure Rust, so cargo is all you need.
cargo build
Usage
There's examples in the examples directory.
Widget library
cargo run --release --example cosmic
Text rendering
cargo run --release --example text
Documentation
The documentation can be found here.
Licence
Libcosmic is licenced under the MPL-2.0