summaryrefslogtreecommitdiffstats
path: root/winit/src/settings/macos.rs
blob: f86e63ad05dda93a9da4149e351cccf455c84914 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
//! Platform specific settings for macOS.

/// 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,
}