diff options
author | 2023-03-14 11:22:06 +0100 | |
---|---|---|
committer | 2023-03-14 11:31:16 +0100 | |
commit | 4405a3d483286faf962930ca3b294b34f86bd2f4 (patch) | |
tree | 7620887744718bb3b93b707130dea0035d93e007 /src/window/settings/macos.rs | |
parent | ed7b61380473c7c88c25b5d4d17112b844a9364d (diff) | |
download | iced-4405a3d483286faf962930ca3b294b34f86bd2f4.tar.gz iced-4405a3d483286faf962930ca3b294b34f86bd2f4.tar.bz2 iced-4405a3d483286faf962930ca3b294b34f86bd2f4.zip |
Re-export `settings::PlatformSpecific` from `iced_winit` directly
Diffstat (limited to 'src/window/settings/macos.rs')
-rw-r--r-- | src/window/settings/macos.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/window/settings/macos.rs b/src/window/settings/macos.rs deleted file mode 100644 index c08020cf..00000000 --- a/src/window/settings/macos.rs +++ /dev/null @@ -1,20 +0,0 @@ -/// The platform specific window settings of an application. -#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)] -pub struct PlatformSpecific { - /// Hides the window title. - pub title_hidden: bool, - /// Makes the titlebar transparent and allows the content to appear behind it. - pub titlebar_transparent: bool, - /// Makes the window content appear behind the titlebar. - pub fullsize_content_view: bool, -} - -impl From<PlatformSpecific> for iced_winit::settings::PlatformSpecific { - fn from(platform_specific: PlatformSpecific) -> Self { - Self { - title_hidden: platform_specific.title_hidden, - titlebar_transparent: platform_specific.titlebar_transparent, - fullsize_content_view: platform_specific.fullsize_content_view, - } - } -} |