diff options
author | 2022-03-09 18:59:40 +0700 | |
---|---|---|
committer | 2022-03-09 19:14:55 +0700 | |
commit | 0cddb3c1b55017cda29d32924514e917a389f11b (patch) | |
tree | 4702af4335a726b237de05dbf83dd62848c9f0cb /src | |
parent | c52fd089f102be4e2ac07952106e2b6924e72e68 (diff) | |
download | iced-0cddb3c1b55017cda29d32924514e917a389f11b.tar.gz iced-0cddb3c1b55017cda29d32924514e917a389f11b.tar.bz2 iced-0cddb3c1b55017cda29d32924514e917a389f11b.zip |
Implement `pure` version of `Canvas` widget
Diffstat (limited to 'src')
-rw-r--r-- | src/pure.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pure.rs b/src/pure.rs index 2a2984db..0fc02528 100644 --- a/src/pure.rs +++ b/src/pure.rs @@ -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; |