aboutsummaryrefslogtreecommitdiff
path: root/Sources/phbar/Views/BarWindow.swift
diff options
context:
space:
mode:
authorTommaso Negri <me@tommasongr.com>2026-08-09 23:58:42 +0200
committerTommaso Negri <me@tommasongr.com>2026-08-09 23:58:44 +0200
commitd59b22e557fa5d69ea6be725a7e5bcd829588225 (patch)
tree618e20ef2b648e46eac3d51e14b8e0fcc1faba3c /Sources/phbar/Views/BarWindow.swift
parent62ce97dcb63d61c8db739c1b32bd387042ca66a0 (diff)
downloadbar-d59b22e557fa5d69ea6be725a7e5bcd829588225.tar.gz
bar-d59b22e557fa5d69ea6be725a7e5bcd829588225.zip
rename project and add documentation guides
Diffstat (limited to 'Sources/phbar/Views/BarWindow.swift')
-rw-r--r--Sources/phbar/Views/BarWindow.swift32
1 files changed, 0 insertions, 32 deletions
diff --git a/Sources/phbar/Views/BarWindow.swift b/Sources/phbar/Views/BarWindow.swift
deleted file mode 100644
index ce65432..0000000
--- a/Sources/phbar/Views/BarWindow.swift
+++ /dev/null
@@ -1,32 +0,0 @@
-import AppKit
-
-final class BarWindow: NSPanel {
- init(contentRect: NSRect) {
- super.init(
- contentRect: contentRect,
- styleMask: [.nonactivatingPanel, .borderless],
- backing: .buffered,
- defer: false
- )
-
- animationBehavior = .none
- backgroundColor = .clear
- becomesKeyOnlyIfNeeded = true
- collectionBehavior = [
- .canJoinAllSpaces,
- .fullScreenAuxiliary,
- .fullScreenNone,
- .stationary,
- ]
- hasShadow = false
- hidesOnDeactivate = false
- isFloatingPanel = true
- isMovable = false
- isOpaque = false
- isReleasedWhenClosed = false
- level = .floating
- }
-
- override var canBecomeMain: Bool { false }
- override var canBecomeKey: Bool { true }
-}