aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
authorDavid Ullmer <davidullmer@outlook.de>2021-08-17 18:34:54 +0200
committerCody Robibero <cody@robibe.ro>2022-01-04 08:20:16 -0700
commit68db3be0e754d223a290c9276345bc9551eab887 (patch)
tree16c221783dbf27142818e7f5ef0df87c53376573 /MediaBrowser.Controller
parente026ba84c5e0d0a761cb1cae403e6f601e6fa2e0 (diff)
Remove darkening filter from Splashscreen
Using the foregroundLayer parameter has the same effect
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/Drawing/IImageGenerator.cs4
-rw-r--r--MediaBrowser.Controller/Drawing/SplashscreenOptions.cs29
2 files changed, 2 insertions, 31 deletions
diff --git a/MediaBrowser.Controller/Drawing/IImageGenerator.cs b/MediaBrowser.Controller/Drawing/IImageGenerator.cs
index 21699c3f0..4f944ce54 100644
--- a/MediaBrowser.Controller/Drawing/IImageGenerator.cs
+++ b/MediaBrowser.Controller/Drawing/IImageGenerator.cs
@@ -11,7 +11,7 @@ namespace MediaBrowser.Controller.Drawing
/// <summary>
/// Generates a splashscreen.
/// </summary>
- /// <param name="generationOptions">The options used to generate the splashscreen.</param>
- void GenerateSplashscreen(SplashscreenOptions generationOptions);
+ /// <param name="outputPath">The path where the splashscreen should be saved.</param>
+ void GenerateSplashscreen(string outputPath);
}
}
diff --git a/MediaBrowser.Controller/Drawing/SplashscreenOptions.cs b/MediaBrowser.Controller/Drawing/SplashscreenOptions.cs
deleted file mode 100644
index ba268b8eb..000000000
--- a/MediaBrowser.Controller/Drawing/SplashscreenOptions.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-namespace MediaBrowser.Controller.Drawing
-{
- /// <summary>
- /// Options used to generate the splashscreen.
- /// </summary>
- public class SplashscreenOptions
- {
- /// <summary>
- /// Initializes a new instance of the <see cref="SplashscreenOptions"/> class.
- /// </summary>
- /// <param name="outputPath">The output path.</param>
- /// <param name="applyFilter">Optional. Apply a darkening filter.</param>
- public SplashscreenOptions(string outputPath, bool applyFilter = false)
- {
- OutputPath = outputPath;
- ApplyFilter = applyFilter;
- }
-
- /// <summary>
- /// Gets or sets the output path.
- /// </summary>
- public string OutputPath { get; set; }
-
- /// <summary>
- /// Gets or sets a value indicating whether to apply a darkening filter at the end.
- /// </summary>
- public bool ApplyFilter { get; set; }
- }
-}