mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Restored files from old Mac, force pushing
This commit is contained in:
parent
5dd95228b8
commit
5040381840
126 changed files with 10431 additions and 67 deletions
69
DynamicIsland/enums/generic.swift
Normal file
69
DynamicIsland/enums/generic.swift
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
//
|
||||
// generic.swift
|
||||
// boringNotch
|
||||
//
|
||||
// Created by Harsh Vardhan Goswami on 04/08/24.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import Defaults
|
||||
|
||||
public enum Style {
|
||||
case notch
|
||||
case floating
|
||||
}
|
||||
|
||||
public enum ContentType: Int, Codable, Hashable, Equatable {
|
||||
case normal
|
||||
case menu
|
||||
case settings
|
||||
}
|
||||
|
||||
public enum NotchState {
|
||||
case closed
|
||||
case open
|
||||
}
|
||||
|
||||
public enum NotchViews {
|
||||
case home
|
||||
case shelf
|
||||
}
|
||||
|
||||
enum SettingsEnum {
|
||||
case general
|
||||
case about
|
||||
case charge
|
||||
case download
|
||||
case mediaPlayback
|
||||
case hud
|
||||
case shelf
|
||||
case extensions
|
||||
}
|
||||
|
||||
enum DownloadIndicatorStyle: String, Defaults.Serializable {
|
||||
case progress = "Progress"
|
||||
case percentage = "Percentage"
|
||||
}
|
||||
|
||||
enum DownloadIconStyle: String, Defaults.Serializable {
|
||||
case onlyAppIcon = "Only app icon"
|
||||
case onlyIcon = "Only download icon"
|
||||
case iconAndAppIcon = "Icon and app icon"
|
||||
}
|
||||
|
||||
enum MirrorShapeEnum: String, Defaults.Serializable {
|
||||
case rectangle = "Rectangular"
|
||||
case circle = "Circular"
|
||||
}
|
||||
|
||||
enum WindowHeightMode: String, Defaults.Serializable {
|
||||
case matchMenuBar = "Match menubar height"
|
||||
case matchRealNotchSize = "Match real notch height"
|
||||
case custom = "Custom height"
|
||||
}
|
||||
|
||||
enum SliderColorEnum: String, CaseIterable, Defaults.Serializable {
|
||||
case white = "White"
|
||||
case albumArt = "Match album art"
|
||||
case accent = "Accent color"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue