From d43a4d5b0868923c646d212b3b3c386e46c5735b Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Mon, 14 Jan 2019 20:51:12 +0200 Subject: [PATCH] [wip] match rect size --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 646451b..25467a6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -55,7 +55,7 @@ pub fn kmain() -> ! { // write!(uart, "Hey there, mini uart talking!\n"); if let Some(mut display) = VC::init_fb(Size2d { x: 800, y: 600 } /*, &mut uart*/) { - display.rect(100, 100, 200, 200, Color::rgb(255, 255, 255).0); + display.rect(10, 10, 250, 250, Color::rgb(32, 96, 64).0); display.draw_text(50, 50, "Hello there!", Color::rgb(128, 192, 255).0); // display.draw_text(50, 150, core::fmt("Display width {}", display.width), Color::rgb(255,0,0).0);