examples: Fix new libcosmic build
This commit is contained in:
parent
f6cb4519a0
commit
7fbeb8787f
3 changed files with 3 additions and 1 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -806,6 +806,7 @@ dependencies = [
|
||||||
"futures-util",
|
"futures-util",
|
||||||
"i18n-embed",
|
"i18n-embed",
|
||||||
"i18n-embed-fl",
|
"i18n-embed-fl",
|
||||||
|
"iced_graphics",
|
||||||
"iced_tiny_skia",
|
"iced_tiny_skia",
|
||||||
"id_tree",
|
"id_tree",
|
||||||
"indexmap 2.13.0",
|
"indexmap 2.13.0",
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ i18n-embed = { version = "0.16", features = [
|
||||||
] }
|
] }
|
||||||
i18n-embed-fl = "0.10"
|
i18n-embed-fl = "0.10"
|
||||||
iced_tiny_skia = { git = "https://github.com/pop-os/libcosmic" }
|
iced_tiny_skia = { git = "https://github.com/pop-os/libcosmic" }
|
||||||
|
iced_graphics = { git = "https://github.com/pop-os/libcosmic/", features = ["geometry"] }
|
||||||
indexmap = "2.13"
|
indexmap = "2.13"
|
||||||
keyframe = "1.1.1"
|
keyframe = "1.1.1"
|
||||||
libcosmic = { git = "https://github.com/pop-os/libcosmic", default-features = false }
|
libcosmic = { git = "https://github.com/pop-os/libcosmic", default-features = false }
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ struct Circle {
|
||||||
color: Color,
|
color: Color,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<Message, Theme, Renderer: cosmic::iced::renderer::geometry::Renderer>
|
impl<Message, Theme, Renderer: iced_graphics::geometry::Renderer>
|
||||||
canvas::Program<Message, Theme, Renderer> for Circle
|
canvas::Program<Message, Theme, Renderer> for Circle
|
||||||
{
|
{
|
||||||
type State = ();
|
type State = ();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue