summaryrefslogtreecommitdiffstats
path: root/wgpu/src/widget
diff options
context:
space:
mode:
Diffstat (limited to 'wgpu/src/widget')
-rw-r--r--wgpu/src/widget/image_pane.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/wgpu/src/widget/image_pane.rs b/wgpu/src/widget/image_pane.rs
new file mode 100644
index 00000000..aa30a8cc
--- /dev/null
+++ b/wgpu/src/widget/image_pane.rs
@@ -0,0 +1,6 @@
+//! Zoom and pan on an image.
+
+pub use iced_native::image_pane::State;
+
+/// A widget that can display an image with the ability to zoom in/out and pan.
+pub type ImagePane<'a> = iced_native::ImagePane<'a>;