Expand description
Slint GUI backend for truce audio plugins.
Provides SlintEditor, which implements truce_core::Editor using
Slint’s software renderer + baseview + wgpu. Developers write their UI
in .slint markup (compiled at build time) and wire parameters through
PluginContext<P>.
§Usage
ⓘ
use truce_slint::SlintEditor;
use truce_core::editor::PluginContext;
SlintEditor::new(params, (400, 300), |state: PluginContext<MyParams>| {
let ui = MyPluginUi::new().unwrap();
truce_slint::bind! { state, ui,
P::Gain => gain,
P::Pan => pan,
P::Bypass => bypass: bool,
}
})Re-exports§
pub use editor::SlintEditor;pub use editor::SyncFn;pub use slint;
Modules§
- blit
- Pixel buffer → wgpu surface blit pipeline.
- editor
SlintEditor: implementstruce_core::Editorusing Slint + baseview + wgpu.- platform
- Platform bridging: custom Slint Platform + baseview window handle bridge.
Macros§
- bind
- Bind Slint properties to truce parameters.
Structs§
- Plugin
Context - Context passed to
Editor::open. Carries: