WIP raw-window-handle 0.6

This commit is contained in:
Ian Douglas Scott 2024-01-09 07:19:15 -08:00
parent ff268c8c42
commit 7289b6091b
8 changed files with 142 additions and 102 deletions

View file

@ -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)?)
}
}