Display stuff
This commit is contained in:
@@ -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) => {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user