M0: WIT package, MoonBit components, JS host, docs, CI (#1)
CI / test (push) Successful in 19s
CI / test (push) Successful in 19s
This commit was merged in pull request #1.
This commit is contained in:
1 parent
e5548fc067
commit
880ecd4102
141 files changed
+9681
-1
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