M0: WIT package, MoonBit components, JS host, docs, CI (#1)
CI / test (push) Successful in 19s

This commit was merged in pull request #1.
This commit is contained in:
nandi committed 2026-11-24 23:51:26 +00:00
1 parent e5548fc067
commit 880ecd4102
141 files changed
+9681 -1

No files matched your search

+43
View File
@@ -0,0 +1,43 @@
// Generated using `moon info`, DON'T EDIT IT
package "moonplasma/desktop/lib/ui"
import {
"moonplasma/desktop/interface/moonplasma/desktop/types",
}
// Values
pub fn circle(Int32, Int32, Int32, @types.Color, filled? : Bool) -> @types.DrawOp
pub fn color(Int32, Int32, Int32, Int32) -> @types.Color
pub fn contains(@types.Rect, @types.Point) -> Bool
pub fn fill_rect(@types.Rect, @types.Color, radius? : Int32) -> @types.DrawOp
pub fn lerp_color(@types.Color, @types.Color, Int32, Int32) -> @types.Color
pub fn line(Int32, Int32, Int32, Int32, @types.Color, width? : Int32) -> @types.DrawOp
pub fn rect(Int32, Int32, Int32, Int32) -> @types.Rect
pub fn rect_h(@types.Rect) -> Int32
pub fn rect_w(@types.Rect) -> Int32
pub fn size(Int32, Int32) -> @types.Size
pub fn stroke_rect(@types.Rect, @types.Color, width? : Int32, radius? : Int32) -> @types.DrawOp
pub fn text(Int32, Int32, String, Int32, @types.Color, align? : @types.TextAlign, bold? : Bool) -> @types.DrawOp
pub fn text_width(String, Int32) -> Int32
pub fn with_alpha(@types.Color, Int32) -> @types.Color
// Errors
// Types and methods
// Type aliases
// Traits