fixed issues with Input API

This commit is contained in:
2026-03-24 13:40:30 +00:00
parent 0a087d51fb
commit 2592b1a1d1
17 changed files with 457 additions and 90 deletions
@@ -0,0 +1,8 @@
pub declare struct Color(raw: bounded)
[[
BLACK: Color(0b),
WHITE: Color(65535b),
RED: Color(63488b),
GREEN: Color(2016b),
BLUE: Color(31b)
]]
@@ -1,12 +1,3 @@
pub declare struct Color(raw: bounded)
[[
BLACK: Color(0b),
WHITE: Color(65535b),
RED: Color(63488b),
GREEN: Color(2016b),
BLUE: Color(31b)
]]
pub declare contract Gfx host {
fn clear(color: Color): void;
}