diff options
author | 2020-05-15 09:46:22 -0700 | |
---|---|---|
committer | 2020-05-26 16:56:34 -0700 | |
commit | 431171f975642fe96286f11fb75cd5b06827cc7f (patch) | |
tree | d7b49ae0bc76e2197dbae9feafd6a2a888c9a727 /wgpu/src/widget/image_viewer.rs | |
parent | 6bf459e068043847a0ee1e1219056d3aced3f1cb (diff) | |
download | iced-431171f975642fe96286f11fb75cd5b06827cc7f.tar.gz iced-431171f975642fe96286f11fb75cd5b06827cc7f.tar.bz2 iced-431171f975642fe96286f11fb75cd5b06827cc7f.zip |
Rename and add to iced image module
Diffstat (limited to 'wgpu/src/widget/image_viewer.rs')
-rw-r--r-- | wgpu/src/widget/image_viewer.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/wgpu/src/widget/image_viewer.rs b/wgpu/src/widget/image_viewer.rs new file mode 100644 index 00000000..ec44e30a --- /dev/null +++ b/wgpu/src/widget/image_viewer.rs @@ -0,0 +1,6 @@ +//! Zoom and pan on an image. + +pub use iced_native::image_viewer::State; + +/// A widget that can display an image with the ability to zoom in/out and pan. +pub type ImageViewer<'a> = iced_native::ImageViewer<'a>; |