slint/internal/compiler/generator
Simon Hausmann c16253d29f Use Property<LogicalLength> instead of Property<Coord>
This removes the special code for the generated property getters and
ensures type safety in the run-time library for property value setting.

In the Rust generated code we continue to do arithmetic on the scalar
values, that means we immediately extract the scalar, do arithmetic and
rely on the compiler to only allow compatible units.

Danger zone alert: In the interpreter Value::Number can now be converted
to LogicalLength as-is.
2022-10-24 12:49:37 +02:00
..
cpp.rs Rename stark-style to dark-color-scheme 2022-10-19 15:23:41 +02:00
rust.rs Use Property<LogicalLength> instead of Property<Coord> 2022-10-24 12:49:37 +02:00