feat: animate at 60 fps with timers in hundredths and bars that grow by eighths

Frames tick every 16 ms; password checks and the bus's fallback wake-ups keep
their own 100 ms clock. Running units show hundredths, and a running bar's tip
fills in eighths when the console font has the block glyphs. The scripted boot
demo uses about 2% of a core.
This commit is contained in:
Willem Vanhulle committed 2026-10-21 13:24:35 +02:00
1 parent a071b2d065
commit 0a29c7c88a
11 files changed
+93 -23

No files matched your search

+3 -1
View File
@@ -41,7 +41,7 @@ use crate::{
screen_settings::{color_scheme::Colors, config_file::Timing, font_glyphs::Glyphs},
};
const DURATION_WIDTH: u16 = 8;
const DURATION_WIDTH: u16 = 9;
const MIN_BAR_WIDTH: u16 = 12;
const MIN_HEIGHT_FOR_TIMELINE: u16 = 12;
const MIN_TIMELINE_HEIGHT: u16 = run_timeline::CHROME_HEIGHT + 4;
@@ -57,6 +57,8 @@ const ELAPSED: SpanPrinter = SpanPrinter::new()
.fractional(Some(FractionalUnit::Second))
.precision(Some(1));
const RUNNING_ELAPSED: SpanPrinter = ELAPSED.precision(Some(2));
pub struct BootView<'a> {
pub state: &'a BootState,
pub projection: &'a BootProjection,