summaryrefslogtreecommitdiffstats
path: root/src/window/settings
diff options
context:
space:
mode:
Diffstat (limited to 'src/window/settings')
-rw-r--r--src/window/settings/macos.rs20
-rw-r--r--src/window/settings/other.rs9
2 files changed, 0 insertions, 29 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,
- }
- }
-}
diff --git a/src/window/settings/other.rs b/src/window/settings/other.rs
deleted file mode 100644
index 943d9f0d..00000000
--- a/src/window/settings/other.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-/// The platform specific window settings of an application.
-#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
-pub struct PlatformSpecific;
-
-impl From<PlatformSpecific> for iced_winit::settings::PlatformSpecific {
- fn from(_: PlatformSpecific) -> Self {
- Default::default()
- }
-}