mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
* Change Color type to be f32 internally but no other changes * Add missing clamp * Add round function as we're not on MSRV 1.90+ * Prepare for being able to switch between u8s and f32s * [autofix.ci] apply automated fixes * Fix Display impl * Add feature flag for 8-bit color values. Name to be bikeshed * Fix brighter-darker test * Update test screenshot * Remove unused Float trait import * Add cfg thing for not(cbindgen) * Change Channel to float in cbindgen * Change the cpp color type for uint8_t for now * Opt cpp into 8-bit-color * Switch feature around --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| cases/software/basic | ||
| references/software/basic | ||
| build.rs | ||
| Cargo.toml | ||
| main.rs | ||
| testing.rs | ||