From 8d6f86b317303c06a0daf1ca3ce91c29670dd674 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 5 Jan 2020 18:11:54 +0100 Subject: Remove `background` from `Settings` --- winit/src/settings/mod.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'winit/src/settings') diff --git a/winit/src/settings/mod.rs b/winit/src/settings/mod.rs index 0384df32..b2290b46 100644 --- a/winit/src/settings/mod.rs +++ b/winit/src/settings/mod.rs @@ -1,6 +1,4 @@ //! Configure your application. -use crate::Color; - #[cfg(target_os = "windows")] #[path = "windows.rs"] mod platform; @@ -17,16 +15,12 @@ pub struct Settings { /// /// [`Window`]: struct.Window.html pub window: Window, - - /// The default background color of the application - pub background: Color, } impl Default for Settings { fn default() -> Settings { Settings { window: Window::default(), - background: Color::WHITE, } } } -- cgit