From 316cf0108e08024ab5af456362a0b82ddbf37e36 Mon Sep 17 00:00:00 2001 From: theolivenbaum Date: Wed, 27 Oct 2021 21:57:24 +0200 Subject: [PATCH 1/2] Update Vibrancy.cs --- ElectronNET.API/Entities/Vibrancy.cs | 38 +++++++++++++++++++++++++--- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/ElectronNET.API/Entities/Vibrancy.cs b/ElectronNET.API/Entities/Vibrancy.cs index 2e8bec8..c40ee35 100644 --- a/ElectronNET.API/Entities/Vibrancy.cs +++ b/ElectronNET.API/Entities/Vibrancy.cs @@ -1,4 +1,5 @@ -using System.Runtime.Serialization; +using System.Runtime.Serialization; +using System; namespace ElectronNET.API.Entities { @@ -11,16 +12,19 @@ namespace ElectronNET.API.Entities /// The appearance based /// [EnumMember(Value = "appearance-based")] + [Obsolete("Removed in macOS Catalina (10.15).")] appearanceBased, /// /// The light /// + [Obsolete("Removed in macOS Catalina (10.15).")] light, /// /// The dark /// + [Obsolete("Removed in macOS Catalina (10.15).")] dark, /// @@ -52,12 +56,40 @@ namespace ElectronNET.API.Entities /// The medium light /// [EnumMember(Value = "medium-light")] + [Obsolete("Removed in macOS Catalina (10.15).")] mediumLight, /// /// The ultra dark /// [EnumMember(Value = "ultra-dark")] - ultraDark + [Obsolete("Removed in macOS Catalina (10.15).")] + ultraDark, + + popover, + + header, + + sheet, + + window, + + hud, + + [EnumMember(Value = "fullscreen-ui")] + fullscreenUI, + + tooltip, + + content, + + [EnumMember(Value = "under-window")] + underWindow, + + [EnumMember(Value = "under-page")] + underPage + + + } -} \ No newline at end of file +} From 751c48c8049e53ada536a55f2c67e5c10cc3c3b7 Mon Sep 17 00:00:00 2001 From: theolivenbaum Date: Wed, 27 Oct 2021 22:06:52 +0200 Subject: [PATCH 2/2] Update Vibrancy.cs --- ElectronNET.API/Entities/Vibrancy.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/ElectronNET.API/Entities/Vibrancy.cs b/ElectronNET.API/Entities/Vibrancy.cs index c40ee35..b496abc 100644 --- a/ElectronNET.API/Entities/Vibrancy.cs +++ b/ElectronNET.API/Entities/Vibrancy.cs @@ -66,8 +66,6 @@ namespace ElectronNET.API.Entities [Obsolete("Removed in macOS Catalina (10.15).")] ultraDark, - popover, - header, sheet,