Add custom_widget example

It showcases how to build a simple native custom widget that draws a
circle.
This commit is contained in:
Héctor Ramón Jiménez 2019-12-07 05:47:14 +01:00
parent 05a2a619c1
commit 749722fca6
2 changed files with 151 additions and 0 deletions

View file

@ -41,6 +41,8 @@ serde_json = "1.0"
directories = "2.0"
reqwest = "0.9"
rand = "0.7"
iced_native = { version = "0.1", path = "./native" }
iced_wgpu = { version = "0.1", path = "./wgpu" }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen = "0.2.51"