Add the inspector panel module (Interface Explorer toggle): source and bindings
components.txt listed it but no source existed, so the panel had no Interface Explorer button. Panel button that toggles the shell's inspect mode via the inspector capability. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3b2e19ace5
commit
bf07af2c43
15 files changed
+643
No files matched your search
@@ -0,0 +1 @@
|
||||
The Interface Explorer: hover any system component to see its WIT.
|
||||
@@ -0,0 +1,8 @@
|
||||
// Generated by `wit-bindgen` 0.63.0. DO NOT EDIT!
|
||||
|
||||
///|
|
||||
fn wasmImportIsOn() -> Int = "moonplasma:desktop/inspector@0.1.0" "is-on"
|
||||
|
||||
///|
|
||||
fn wasmImportSetOn(p0 : Int) = "moonplasma:desktop/inspector@0.1.0" "set-on"
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
warnings = "-44"
|
||||
@@ -0,0 +1,16 @@
|
||||
// Generated by `wit-bindgen` 0.63.0. DO NOT EDIT!
|
||||
///|
|
||||
pub fn is_on() -> Bool {
|
||||
|
||||
let result : Int = wasmImportIsOn();
|
||||
let ret = (result != 0)
|
||||
return ret
|
||||
|
||||
}
|
||||
///|
|
||||
pub fn set_on(on : Bool) -> Unit {
|
||||
|
||||
wasmImportSetOn((if on { 1 } else { 0 }));
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user