diff options
Diffstat (limited to 'src/settings/windows.rs')
-rw-r--r-- | src/settings/windows.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/settings/windows.rs b/src/settings/windows.rs deleted file mode 100644 index 0372111f..00000000 --- a/src/settings/windows.rs +++ /dev/null @@ -1,21 +0,0 @@ -#![cfg(target_os = "windows")] -//! Platform specific settings for Windows. - -/// The platform specific window settings of an application. -#[cfg(target_os = "windows")] -#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)] -pub struct PlatformSpecific { - /// Parent Window - pub parent: Option<winapi::shared::windef::HWND>, -} - -#[cfg(target_os = "windows")] -impl From<PlatformSpecific> for iced_winit::settings::PlatformSpecific { - fn from( - platform_specific: PlatformSpecific, - ) -> iced_winit::settings::PlatformSpecific { - iced_winit::settings::PlatformSpecific { - parent: platform_specific.parent, - } - } -} |