2020-10-29 16:28:04 +00:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
2022-06-17 07:37:17 +00:00
|
|
|
#nullable disable
|
|
|
|
|
2022-08-07 15:11:15 +00:00
|
|
|
using osu.Framework.Localisation;
|
|
|
|
using osu.Game.Localisation;
|
|
|
|
|
2020-10-29 16:28:04 +00:00
|
|
|
namespace osu.Game.Configuration
|
|
|
|
{
|
2020-10-30 14:54:10 +00:00
|
|
|
public enum SeasonalBackgroundMode
|
2020-10-29 16:28:04 +00:00
|
|
|
{
|
2020-10-30 18:56:52 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Seasonal backgrounds are shown regardless of season, if at all available.
|
|
|
|
/// </summary>
|
2022-08-09 14:35:19 +00:00
|
|
|
[LocalisableDescription(typeof(UserInterfaceStrings), nameof(UserInterfaceStrings.AlwaysSeasonalBackground))]
|
2020-10-29 16:28:04 +00:00
|
|
|
Always,
|
2020-10-30 18:56:52 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Seasonal backgrounds are shown only during their corresponding season.
|
|
|
|
/// </summary>
|
2022-08-09 14:35:19 +00:00
|
|
|
[LocalisableDescription(typeof(UserInterfaceStrings), nameof(UserInterfaceStrings.SometimesSeasonalBackground))]
|
2020-10-29 16:28:04 +00:00
|
|
|
Sometimes,
|
2020-10-30 18:56:52 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Seasonal backgrounds are never shown.
|
|
|
|
/// </summary>
|
2022-08-09 14:35:19 +00:00
|
|
|
[LocalisableDescription(typeof(UserInterfaceStrings), nameof(UserInterfaceStrings.NeverSeasonalBackground))]
|
2020-10-29 16:28:04 +00:00
|
|
|
Never
|
|
|
|
}
|
|
|
|
}
|