diff --git a/Cargo.lock b/Cargo.lock index ed27a859..b58cd62c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -806,6 +806,7 @@ dependencies = [ "futures-util", "i18n-embed", "i18n-embed-fl", + "iced_graphics", "iced_tiny_skia", "id_tree", "indexmap 2.13.0", diff --git a/Cargo.toml b/Cargo.toml index 7023d1d7..27f79056 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,6 +40,7 @@ i18n-embed = { version = "0.16", features = [ ] } i18n-embed-fl = "0.10" iced_tiny_skia = { git = "https://github.com/pop-os/libcosmic" } +iced_graphics = { git = "https://github.com/pop-os/libcosmic/", features = ["geometry"] } indexmap = "2.13" keyframe = "1.1.1" libcosmic = { git = "https://github.com/pop-os/libcosmic", default-features = false } diff --git a/examples/customized-window-decorations.rs b/examples/customized-window-decorations.rs index 364221fe..6b3baf8f 100644 --- a/examples/customized-window-decorations.rs +++ b/examples/customized-window-decorations.rs @@ -23,7 +23,7 @@ struct Circle { color: Color, } -impl +impl canvas::Program for Circle { type State = ();