2020-10-30 00:28:04 +08: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 15:37:17 +08:00
|
|
|
#nullable disable
|
|
|
|
|
2022-08-07 23:11:15 +08:00
|
|
|
using osu.Framework.Localisation;
|
|
|
|
using osu.Game.Localisation;
|
|
|
|
|
2020-10-30 00:28:04 +08:00
|
|
|
namespace osu.Game.Configuration
|
|
|
|
{
|
2020-10-30 22:54:10 +08:00
|
|
|
public enum SeasonalBackgroundMode
|
2020-10-30 00:28:04 +08:00
|
|
|
{
|
2020-10-31 02:56:52 +08:00
|
|
|
/// <summary>
|
|
|
|
/// Seasonal backgrounds are shown regardless of season, if at all available.
|
|
|
|
/// </summary>
|
2022-08-09 22:35:19 +08:00
|
|
|
[LocalisableDescription(typeof(UserInterfaceStrings), nameof(UserInterfaceStrings.AlwaysSeasonalBackground))]
|
2020-10-30 00:28:04 +08:00
|
|
|
Always,
|
2020-10-31 02:56:52 +08:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Seasonal backgrounds are shown only during their corresponding season.
|
|
|
|
/// </summary>
|
2022-08-09 22:35:19 +08:00
|
|
|
[LocalisableDescription(typeof(UserInterfaceStrings), nameof(UserInterfaceStrings.SometimesSeasonalBackground))]
|
2020-10-30 00:28:04 +08:00
|
|
|
Sometimes,
|
2020-10-31 02:56:52 +08:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Seasonal backgrounds are never shown.
|
|
|
|
/// </summary>
|
2022-08-09 22:35:19 +08:00
|
|
|
[LocalisableDescription(typeof(UserInterfaceStrings), nameof(UserInterfaceStrings.NeverSeasonalBackground))]
|
2020-10-30 00:28:04 +08:00
|
|
|
Never
|
|
|
|
}
|
|
|
|
}
|