CI / test (push) Failing after 16s
moon-plasma / moonplasma / MoonPlasma / Moon Plasma become chandra / Chandra everywhere: the WIT package (chandra:desktop, chandra:host, chandra:wm), the MoonBit module (chandra/desktop) and generated bindings, the Rust host, identifiers (ChandraCompositor), the session script (chandra-session) and desktop entry (chandra.desktop), config and data paths ($XDG_CONFIG_HOME/chandra, share/chandra/modules), env vars (CHANDRA_*), UI strings, docs and tests. The test fixture components are rebuilt against the renamed WIT. Saved panel.edn and state.edn are still read from the old $XDG_CONFIG_HOME/moon-plasma until the first save writes the new copy. The remote repository keeps its experiments/moon-plasma name for now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hi3L9oVBoRd373Qr4n
40 lines
659 B
Plaintext
40 lines
659 B
Plaintext
// Generated using `moon info`, DON'T EDIT IT
|
|
package "chandra/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
|