From 7a50e9e8fbb8d37e53a42c1dd5936b97463ead53 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 21 Jan 2024 17:56:01 +0100 Subject: Convert `Renderer::Theme` to generic `Widget` type --- winit/src/multi_window/window_manager.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'winit/src/multi_window/window_manager.rs') diff --git a/winit/src/multi_window/window_manager.rs b/winit/src/multi_window/window_manager.rs index 9e15f9ea..23f3c0ba 100644 --- a/winit/src/multi_window/window_manager.rs +++ b/winit/src/multi_window/window_manager.rs @@ -12,7 +12,7 @@ use winit::monitor::MonitorHandle; #[allow(missing_debug_implementations)] pub struct WindowManager where - ::Theme: StyleSheet, + A::Theme: StyleSheet, C: Compositor, { aliases: BTreeMap, @@ -23,7 +23,7 @@ impl WindowManager where A: Application, C: Compositor, - ::Theme: StyleSheet, + A::Theme: StyleSheet, { pub fn new() -> Self { Self { @@ -109,7 +109,7 @@ impl Default for WindowManager where A: Application, C: Compositor, - ::Theme: StyleSheet, + A::Theme: StyleSheet, { fn default() -> Self { Self::new() @@ -121,7 +121,7 @@ pub struct Window where A: Application, C: Compositor, - ::Theme: StyleSheet, + A::Theme: StyleSheet, { pub raw: Arc, pub state: State, @@ -136,7 +136,7 @@ impl Window where A: Application, C: Compositor, - ::Theme: StyleSheet, + A::Theme: StyleSheet, { pub fn position(&self) -> Option { self.raw -- cgit