From 052b10d09720d8472939e8db947de4ead844f8d2 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Sun, 28 Sep 2025 10:01:59 +0000 Subject: [PATCH] draw red rectangle for now git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@21 b9cfdab3-6d41-4d17-bbe4-086880011989 --- src/window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/window.c b/src/window.c index 2084f75..f10e3a8 100644 --- a/src/window.c +++ b/src/window.c @@ -7,10 +7,13 @@ static void draw(MilskoWidget handle) { p[0].x = 0; p[0].y = 0; + p[1].x = MilskoGetInteger(handle, MilskoNwidth); p[1].y = 0; + p[2].x = MilskoGetInteger(handle, MilskoNwidth); p[2].y = MilskoGetInteger(handle, MilskoNheight); + p[3].x = 0; p[3].y = MilskoGetInteger(handle, MilskoNheight);