Title bar and toolbar style.
| 20 | |
| 21 | /// Title bar and toolbar style. |
| 22 | public enum Toolbar: Hashable, Sendable { |
| 23 | /// Hides the title and uses a unified toolbar to align traffic lights with a 52pt top row. |
| 24 | /// Adds an empty toolbar if the window has none. |
| 25 | case unifiedInset |
| 26 | /// Restores title bar settings changed by this helper and removes any toolbar it added. |
| 27 | case none |
| 28 | } |
| 29 | |
| 30 | private static var windowStateKey: UInt8 = 0 |
| 31 | private static var blurHooks: (monitor: Any, close: NSObjectProtocol)? |
no outgoing calls
no test coverage detected