Add an empty crate for iced support
This commit is contained in:
parent
33db034bc2
commit
ff9e0f2ddf
|
@ -13,6 +13,7 @@ repository = "https://github.com/robbert-vdh/nih-plug"
|
|||
members = [
|
||||
"nih_plug_derive",
|
||||
"nih_plug_egui",
|
||||
"nih_plug_iced",
|
||||
"nih_plug_xtask",
|
||||
|
||||
"cargo_nih_plug",
|
||||
|
|
16
nih_plug_iced/Cargo.toml
Normal file
16
nih_plug_iced/Cargo.toml
Normal file
|
@ -0,0 +1,16 @@
|
|||
[package]
|
||||
name = "nih_plug_iced"
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
authors = ["Robbert van der Helm <mail@robbertvanderhelm.nl>"]
|
||||
license = "ISC"
|
||||
|
||||
description = "An adapter to use iced GUIs with NIH-plug"
|
||||
|
||||
[dependencies]
|
||||
nih_plug = { path = ".." }
|
||||
|
||||
baseview = { git = "https://github.com/robbert-vdh/baseview.git", branch = "feature/mouse-event-modifiers" }
|
||||
# Upstream doesn't work with the current iced version, this branch also contains
|
||||
# additional features
|
||||
iced_egui = { git = "https://github.com/robbert-vdh/iced_baseview.git", branch = "feature/update-dependencies" }
|
5
nih_plug_iced/README.md
Normal file
5
nih_plug_iced/README.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# NIH-plug: iced support
|
||||
|
||||
This provides an adapter to create [iced](https://github.com/iced-rs/iced) based
|
||||
GUIs with NIH-plug through
|
||||
[iced_baseview](https://github.com/BillyDM/iced_baseview).
|
8
nih_plug_iced/src/lib.rs
Normal file
8
nih_plug_iced/src/lib.rs
Normal file
|
@ -0,0 +1,8 @@
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn it_works() {
|
||||
let result = 2 + 2;
|
||||
assert_eq!(result, 4);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue