From 8c7b95277d74051fc19f1135132acc5a6ab494c5 Mon Sep 17 00:00:00 2001 From: Able Date: Sun, 10 Nov 2024 06:18:23 -0600 Subject: [PATCH] reorg --- sysdata/programs/horizon/src/main.hb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sysdata/programs/horizon/src/main.hb b/sysdata/programs/horizon/src/main.hb index 198307f..1b7ac83 100644 --- a/sysdata/programs/horizon/src/main.hb +++ b/sysdata/programs/horizon/src/main.hb @@ -88,6 +88,9 @@ main := fn(): int { render.put_rect(screen, .(0, screen.height - 21), .(screen.width - 1, 20), render.white) } + // Screen border + render.put_rect(screen, .(0, 0), .(screen.width - 1, screen.height - 1), render.white) + { mouse_event := intouch.recieve_mouse_event() // @@ -130,8 +133,6 @@ main := fn(): int { } } - render.put_rect(screen, .(0, 0), .(screen.width - 1, screen.height - 1), render.white) - // render mouse lum := render.indexptr(screen, mouse_x, mouse_y) if lum.r / 3 + lum.g / 3 + lum.b / 3 < 128 {