improve hardware font
Intrepid/Prometeu/Runtime/pipeline/head There was a failure building this commit

This commit is contained in:
2026-05-22 08:39:10 +01:00
parent eb398846a0
commit 70c6bd17c8
18 changed files with 150 additions and 188 deletions
@@ -252,11 +252,7 @@ fn draw_button(gfx: &mut dyn GfxBridge, rect: Rect, label: &str, hovered: bool)
}
fn draw_buffer_text(gfx: &mut dyn GfxBridge, x: i32, y: i32, text: &str, color: Color) {
let mut cx = x;
for ch in text.chars() {
gfx.draw_char(cx, y, ch, color);
cx += 4;
}
gfx.draw_text(x, y, text, color);
}
#[cfg(test)]