feat(k-ui): motion: ring springs to focus, toggle knob slides, screens slide+fade in (theme motion tokens, 0 = off); 16ms frame timer only while moving; motion-only frames drawn+presented in part (whole elements, pixel-snapped rects, == full draw); virtio fb flushes only damage; TICKS_PER_MS in types

This commit is contained in:
2026-10-28 13:58:38 +01:00
parent e952a149ec
commit 3b71243dea
11 changed files with 504 additions and 63 deletions

View File

@@ -1,3 +1,6 @@
/// The timebase: QEMU virt's 10 MHz.
pub const TICKS_PER_MS: u64 = 10_000;
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
pub struct Ticks(u64);