chore: initial commit of Vorleser kit
This commit is contained in:
commit
cf3f2678e1
62 files changed
+2350
No files matched your search
@@ -0,0 +1,25 @@
|
||||
import SwiftUI
|
||||
|
||||
/// Entry point. Keep this file thin: scenes only, no business logic (ARCHITECTURE §3).
|
||||
@main
|
||||
struct VorleserApp: App {
|
||||
@NSApplicationDelegateAdaptor(AppDelegate.self) private var appDelegate
|
||||
|
||||
var body: some Scene {
|
||||
MenuBarExtra("Vorleser", systemImage: "text.bubble") {
|
||||
// Replaced by MenuBar/StatusMenu.swift in T7.5.
|
||||
Text("Vorleser")
|
||||
Divider()
|
||||
Button("Quit Vorleser") { NSApplication.shared.terminate(nil) }
|
||||
.keyboardShortcut("q")
|
||||
}
|
||||
.menuBarExtraStyle(.menu)
|
||||
|
||||
Settings {
|
||||
// Replaced by Settings/SettingsView.swift in T5.3.
|
||||
Text("Settings")
|
||||
.padding()
|
||||
.frame(width: 420, height: 240)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user