From 974cc6b6f55178976b0ace626ba03bdd88cde5e0 Mon Sep 17 00:00:00 2001 From: Richard Date: Mon, 19 Sep 2022 16:01:50 -0300 Subject: Introduce `multi_window` to `iced_glutin` --- glutin/src/multi_window.rs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 glutin/src/multi_window.rs (limited to 'glutin/src/multi_window.rs') diff --git a/glutin/src/multi_window.rs b/glutin/src/multi_window.rs new file mode 100644 index 00000000..46d00d81 --- /dev/null +++ b/glutin/src/multi_window.rs @@ -0,0 +1,21 @@ +//! Create interactive, native cross-platform applications. +use crate::{Error, Executor}; + +pub use iced_winit::multi_window::{Application, StyleSheet}; + +use iced_winit::Settings; + +/// Runs an [`Application`] with an executor, compositor, and the provided +/// settings. +pub fn run( + _settings: Settings, + _compositor_settings: C::Settings, +) -> Result<(), Error> +where + A: Application + 'static, + E: Executor + 'static, + C: iced_graphics::window::GLCompositor + 'static, + ::Theme: StyleSheet, +{ + unimplemented!("iced_glutin not implemented!") +} -- cgit