summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2020-12-18 23:29:51 +0100
committerLibravatar GitHub <noreply@github.com>2020-12-18 23:29:51 +0100
commit0e9f649cb741d7f02c4bafe4ea804bd68e0a1b7a (patch)
treeba45c33eb69ce31ec50bd73f99c28e65ee1c9215 /src
parent07b570036aad3f42578876e1a299a0577e6761ae (diff)
parent10d6df73e34e421cbf96d62b26c0c0701d9096ef (diff)
downloadiced-0e9f649cb741d7f02c4bafe4ea804bd68e0a1b7a.tar.gz
iced-0e9f649cb741d7f02c4bafe4ea804bd68e0a1b7a.tar.bz2
iced-0e9f649cb741d7f02c4bafe4ea804bd68e0a1b7a.zip
Merge pull request #319 from tarkah/image-pane
Add `ImagePane` widget
Diffstat (limited to '')
-rw-r--r--src/widget.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widget.rs b/src/widget.rs
index b9b65499..edd35d2d 100644
--- a/src/widget.rs
+++ b/src/widget.rs
@@ -37,7 +37,8 @@ mod platform {
#[cfg_attr(docsrs, doc(cfg(feature = "image")))]
pub mod image {
//! Display images in your user interface.
- pub use crate::runtime::image::{Handle, Image};
+ pub use crate::runtime::image::viewer;
+ pub use crate::runtime::image::{Handle, Image, Viewer};
}
#[cfg_attr(docsrs, doc(cfg(feature = "svg")))]