diff options
author | 2023-02-28 13:44:36 -0800 | |
---|---|---|
committer | 2023-02-28 13:44:36 -0800 | |
commit | e36daa6f937abd7cb2071fd8852a3c12263944ea (patch) | |
tree | b951dd883d24963cdd3de66423feb42971684c25 /winit/src/multi_window/state.rs | |
parent | 51296572c0189eaef8081c46270ff48b7e03258d (diff) | |
download | iced-e36daa6f937abd7cb2071fd8852a3c12263944ea.tar.gz iced-e36daa6f937abd7cb2071fd8852a3c12263944ea.tar.bz2 iced-e36daa6f937abd7cb2071fd8852a3c12263944ea.zip |
Removed glutin MW support and reverted glutin changes back to Iced master since it's being axed as we speak.
Diffstat (limited to 'winit/src/multi_window/state.rs')
-rw-r--r-- | winit/src/multi_window/state.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/winit/src/multi_window/state.rs b/winit/src/multi_window/state.rs index 35c69924..a7e65de7 100644 --- a/winit/src/multi_window/state.rs +++ b/winit/src/multi_window/state.rs @@ -8,7 +8,7 @@ use std::marker::PhantomData; use winit::event::{Touch, WindowEvent}; use winit::window::Window; -/// The state of a windowed [`Application`]. +/// The state of a multi-windowed [`Application`]. #[allow(missing_debug_implementations)] pub struct State<A: Application> where @@ -29,7 +29,7 @@ impl<A: Application> State<A> where <A::Renderer as crate::Renderer>::Theme: application::StyleSheet, { - /// Creates a new [`State`] for the provided [`Application`]'s window. + /// Creates a new [`State`] for the provided [`Application`]'s `window`. pub fn new( application: &A, window_id: window::Id, @@ -116,8 +116,7 @@ where self.appearance.text_color } - /// Processes the provided window event and updates the [`State`] - /// accordingly. + /// Processes the provided window event and updates the [`State`] accordingly. pub fn update( &mut self, window: &Window, |