diff options
author | 2024-01-09 07:19:15 -0800 | |
---|---|---|
committer | 2024-01-16 21:34:38 -0800 | |
commit | 7289b6091b61b0aa448a756cfe32211c78a4cce0 (patch) | |
tree | 480de1e0b9b0694e221ef7fb82f018e2e97eb4af /src/application.rs | |
parent | ff268c8c4268d930fc337636302175d44e201448 (diff) | |
download | iced-7289b6091b61b0aa448a756cfe32211c78a4cce0.tar.gz iced-7289b6091b61b0aa448a756cfe32211c78a4cce0.tar.bz2 iced-7289b6091b61b0aa448a756cfe32211c78a4cce0.zip |
WIP raw-window-handle 0.6
Diffstat (limited to '')
-rw-r--r-- | src/application.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/application.rs b/src/application.rs index 9518b8c5..d7be6719 100644 --- a/src/application.rs +++ b/src/application.rs @@ -1,6 +1,8 @@ //! Build interactive cross-platform applications. use crate::{Command, Element, Executor, Settings, Subscription}; +use std::sync::Arc; + pub use crate::style::application::{Appearance, StyleSheet}; /// An interactive cross-platform application. @@ -208,7 +210,10 @@ pub trait Application: Sized { Ok(crate::shell::application::run::< Instance<Self>, Self::Executor, - crate::renderer::Compositor<Self::Theme>, + crate::renderer::Compositor< + Arc<winit::window::Window>, + Self::Theme, + >, >(settings.into(), renderer_settings)?) } } |