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,39 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "moonplasma/desktop/lib/panel"
|
||||
|
||||
// Values
|
||||
pub fn layout(Int32, Int32, Int32, Int32, Int32, Array[SlotIn]) -> Result[PanelLayout, String]
|
||||
|
||||
pub fn popup_position(Int32, Int32, Int32, Int32, Int32, Int32) -> (Int32, Int32)
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
pub(all) struct PanelLayout {
|
||||
x : Int32
|
||||
y : Int32
|
||||
w : Int32
|
||||
h : Int32
|
||||
placements : Array[Placed]
|
||||
}
|
||||
|
||||
pub(all) struct Placed {
|
||||
id : String
|
||||
x : Int32
|
||||
y : Int32
|
||||
w : Int32
|
||||
h : Int32
|
||||
}
|
||||
|
||||
pub(all) struct SlotIn {
|
||||
id : String
|
||||
pref_w : Int32
|
||||
pref_h : Int32
|
||||
min_w : Int32
|
||||
stretch : Bool
|
||||
end_align : Bool
|
||||
}
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
Reference in new issue
Block a user