2022-11-06 21:20:52 -06:00
|
|
|
namespace ConfusedPolarBear.Plugin.IntroSkipper.Configuration;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// User interface configuration.
|
|
|
|
/// </summary>
|
2024-09-10 18:08:42 +02:00
|
|
|
/// <remarks>
|
|
|
|
/// Initializes a new instance of the <see cref="UserInterfaceConfiguration"/> class.
|
|
|
|
/// </remarks>
|
|
|
|
/// <param name="visible">Skip button visibility.</param>
|
|
|
|
/// <param name="introText">Skip button intro text.</param>
|
|
|
|
/// <param name="creditsText">Skip button end credits text.</param>
|
|
|
|
public class UserInterfaceConfiguration(bool visible, string introText, string creditsText)
|
2022-11-06 21:20:52 -06:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets a value indicating whether to show the skip intro button.
|
|
|
|
/// </summary>
|
2024-09-10 18:08:42 +02:00
|
|
|
public bool SkipButtonVisible { get; set; } = visible;
|
2022-11-06 21:20:52 -06:00
|
|
|
|
|
|
|
/// <summary>
|
2023-03-04 00:15:26 -06:00
|
|
|
/// Gets or sets the text to display in the skip intro button in introduction mode.
|
2022-11-06 21:20:52 -06:00
|
|
|
/// </summary>
|
2024-09-10 18:08:42 +02:00
|
|
|
public string SkipButtonIntroText { get; set; } = introText;
|
2023-03-04 00:15:26 -06:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the text to display in the skip intro button in end credits mode.
|
|
|
|
/// </summary>
|
2024-09-10 18:08:42 +02:00
|
|
|
public string SkipButtonEndCreditsText { get; set; } = creditsText;
|
2022-11-06 21:20:52 -06:00
|
|
|
}
|