WIT package, MoonBit components, Node host and tests (WIP)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e5548fc067
commit
e0bde1d150
125 files changed
+8681
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user