diff options
Diffstat (limited to 'examples/custom_quad')
| -rw-r--r-- | examples/custom_quad/Cargo.toml | 3 | ||||
| -rw-r--r-- | examples/custom_quad/src/main.rs | 8 | 
2 files changed, 5 insertions, 6 deletions
| diff --git a/examples/custom_quad/Cargo.toml b/examples/custom_quad/Cargo.toml index 39154786..f097c2dd 100644 --- a/examples/custom_quad/Cargo.toml +++ b/examples/custom_quad/Cargo.toml @@ -6,5 +6,4 @@ edition = "2021"  publish = false  [dependencies] -iced = { path = "../.." } -iced_native = { path = "../../native" } +iced = { path = "../..", features = ["advanced"] } diff --git a/examples/custom_quad/src/main.rs b/examples/custom_quad/src/main.rs index 6509887c..b07f42ce 100644 --- a/examples/custom_quad/src/main.rs +++ b/examples/custom_quad/src/main.rs @@ -1,9 +1,9 @@  //! This example showcases a drawing a quad.  mod quad { -    use iced_native::layout::{self, Layout}; -    use iced_native::renderer; -    use iced_native::widget::{self, Widget}; -    use iced_native::{Color, Element, Length, Point, Rectangle, Size}; +    use iced::advanced::layout::{self, Layout}; +    use iced::advanced::renderer; +    use iced::advanced::widget::{self, Widget}; +    use iced::{Color, Element, Length, Point, Rectangle, Size};      pub struct CustomQuad {          size: f32, | 
