Implement pure version of Canvas widget

This commit is contained in:
Héctor Ramón Jiménez 2022-03-09 18:59:40 +07:00
parent c52fd089f1
commit 0cddb3c1b5
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
7 changed files with 355 additions and 1 deletions

View file

@ -48,5 +48,11 @@ pub type Image = iced_pure::Image<crate::widget::image::Handle>;
mod application;
mod sandbox;
#[cfg(feature = "canvas")]
pub use iced_graphics::widget::pure::canvas;
#[cfg(feature = "canvas")]
pub use canvas::Canvas;
pub use application::Application;
pub use sandbox::Sandbox;