summaryrefslogtreecommitdiffstats
path: root/src/application.rs
diff options
context:
space:
mode:
authorLibravatar Ian Douglas Scott <idscott@system76.com>2024-01-09 07:19:15 -0800
committerLibravatar Ian Douglas Scott <idscott@system76.com>2024-01-16 21:34:38 -0800
commit7289b6091b61b0aa448a756cfe32211c78a4cce0 (patch)
tree480de1e0b9b0694e221ef7fb82f018e2e97eb4af /src/application.rs
parentff268c8c4268d930fc337636302175d44e201448 (diff)
downloadiced-7289b6091b61b0aa448a756cfe32211c78a4cce0.tar.gz
iced-7289b6091b61b0aa448a756cfe32211c78a4cce0.tar.bz2
iced-7289b6091b61b0aa448a756cfe32211c78a4cce0.zip
WIP raw-window-handle 0.6
Diffstat (limited to '')
-rw-r--r--src/application.rs7
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)?)
}
}