summaryrefslogtreecommitdiffstats
path: root/winit/src/settings/macos.rs
blob: ad4c8caef98b897c55890353f20a708eae2ac533 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#![cfg(target_os = "macos")]
//! 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,
}