Add backlight control to the shell and regenerate WIT bindings
CI / test (push) Canceled after 0s

- Add compositor/shell/backlight.mbt for backlight control in the shell
- Update wit/capabilities.wit and wit/host/plasmoids.wit, then regenerate the component and interface ffi.mbt bindings (mostly export reordering)
- Add world/launcher-widget/README.md
This commit is contained in:
nandi committed 2026-11-28 02:16:07 -08:00
1 parent 2e00009c79
commit 74235cb0ca
84 files changed
+1525 -864

No files matched your search

+24 -24
View File
@@ -38,36 +38,12 @@ extern "wasm" fn mbt_ffi_malloc(size : Int) -> Int =
extern "wasm" fn mbt_ffi_free(position : Int) =
#|(func (param i32) local.get 0 call $moonbit.decref)
///|
#doc(hidden)
pub fn wasmExportPopupPosition(p0 : Int, p1 : Int, p2 : Int, p3 : Int, p4 : Int, p5 : Int, p6 : Int, p7 : Int, p8 : Int, p9 : Int, p10 : Int, p11 : Int) -> Int {
@panel-layout.wasmExportPopupPosition(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11)
}
///|
#doc(hidden)
pub fn wasmExportRenderBackgroundPostReturn(p0 : Int) -> Unit {
@desktop-surface.wasmExportRenderBackgroundPostReturn(p0)
}
///|
#doc(hidden)
pub fn wasmExportRenderPanelPostReturn(p0 : Int) -> Unit {
@panel-layout.wasmExportRenderPanelPostReturn(p0)
}
///|
#doc(hidden)
pub fn wasmExportComputeLayoutPostReturn(p0 : Int) -> Unit {
@panel-layout.wasmExportComputeLayoutPostReturn(p0)
}
///|
#doc(hidden)
pub fn wasmExportComputeLayout(p0 : Int, p1 : Int, p2 : Int, p3 : Int) -> Int {
@panel-layout.wasmExportComputeLayout(p0, p1, p2, p3)
}
///|
#doc(hidden)
pub fn wasmExportRenderPanel(p0 : Int, p1 : Int, p2 : Int, p3 : Int, p4 : Int, p5 : Int) -> Int {
@@ -80,3 +56,27 @@ pub fn wasmExportRenderBackground(p0 : Int, p1 : Int) -> Int {
@desktop-surface.wasmExportRenderBackground(p0, p1)
}
///|
#doc(hidden)
pub fn wasmExportComputeLayoutPostReturn(p0 : Int) -> Unit {
@panel-layout.wasmExportComputeLayoutPostReturn(p0)
}
///|
#doc(hidden)
pub fn wasmExportPopupPosition(p0 : Int, p1 : Int, p2 : Int, p3 : Int, p4 : Int, p5 : Int, p6 : Int, p7 : Int, p8 : Int, p9 : Int, p10 : Int, p11 : Int) -> Int {
@panel-layout.wasmExportPopupPosition(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11)
}
///|
#doc(hidden)
pub fn wasmExportRenderPanelPostReturn(p0 : Int) -> Unit {
@panel-layout.wasmExportRenderPanelPostReturn(p0)
}
///|
#doc(hidden)
pub fn wasmExportComputeLayout(p0 : Int, p1 : Int, p2 : Int, p3 : Int) -> Int {
@panel-layout.wasmExportComputeLayout(p0, p1, p2, p3)
}