summaryrefslogtreecommitdiffstats
path: root/runtime/src/window.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-06-27 19:41:03 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-06-27 19:41:03 +0200
commit5ae726e02c4d6c9889ef7335d9bc80ef1992e34f (patch)
treee1f3c2b81eee55d9a1426e847dfbb25d523d7885 /runtime/src/window.rs
parent93673836cd2932351b25dea6ca46ae50d0e35ace (diff)
downloadiced-5ae726e02c4d6c9889ef7335d9bc80ef1992e34f.tar.gz
iced-5ae726e02c4d6c9889ef7335d9bc80ef1992e34f.tar.bz2
iced-5ae726e02c4d6c9889ef7335d9bc80ef1992e34f.zip
Move `Screenshot` inside `window` module
Diffstat (limited to '')
-rw-r--r--runtime/src/window.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/src/window.rs b/runtime/src/window.rs
index 9b66cb0e..e448edef 100644
--- a/runtime/src/window.rs
+++ b/runtime/src/window.rs
@@ -1,13 +1,15 @@
//! Build window-based GUI applications.
mod action;
+pub mod screenshot;
+
pub use action::Action;
+pub use screenshot::Screenshot;
use crate::command::{self, Command};
use crate::core::time::Instant;
use crate::core::window::{Event, Icon, Level, Mode, UserAttention};
use crate::futures::subscription::{self, Subscription};
-use crate::screenshot::Screenshot;
/// Subscribes to the frames of the window of the running application.
///