Draw a box for controls

This commit is contained in:
Kistaro Windrider 2023-09-22 22:08:40 -07:00
parent 6075ddbc59
commit 06fca27aa4
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -87,6 +87,11 @@ end
function draw_ui() function draw_ui()
poke(0x5f5e, 0xff) poke(0x5f5e, 0xff)
rectfill(1, 113, 126, 126, 6)
rect(0,112,0,127,7)
rect(0,112,127,112,7)
rect(127,112,127,127,5)
rect(0,127,127,127,5)
end end
function handle_ui_click(x, y) function handle_ui_click(x, y)