Display stuff

This commit is contained in:
2026-07-14 22:53:27 +02:00
parent b8162ebe3c
commit 7be4040267
4 changed files with 31 additions and 12 deletions
-6
View File
@@ -8,7 +8,6 @@ use crate::{
pub enum Instr {
DrawText(Point, String),
DrawOutline(Rect),
}
pub struct RenderScope {
@@ -21,10 +20,6 @@ impl RenderScope {
self.draw_instructions
.push(Instr::DrawText(at.into(), text.to_string()));
}
pub fn draw_outline<P: Into<Point>>(&mut self, rect: Rect) {
self.draw_instructions.push(Instr::DrawOutline(rect));
}
}
impl RenderScope {
@@ -87,7 +82,6 @@ impl RenderScope {
);
}
}
Instr::DrawOutline(rect) => {}
}
}
}