2018-12-14 06:43:38 +00:00
|
|
|
|
using RecrownedAthenaeum.UI.Modular.Modules.Interactive;
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace RecrownedAthenaeum.UI.Skin.Definitions
|
|
|
|
|
{
|
2019-01-15 02:00:11 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Definition for a text button for a skin theme.
|
|
|
|
|
/// </summary>
|
2018-12-14 06:43:38 +00:00
|
|
|
|
public class TextButtonSkinDefinition : ButtonSkinDefinition
|
|
|
|
|
{
|
2019-01-15 02:00:11 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Name of color from the skin to use for the font.
|
|
|
|
|
/// </summary>
|
2018-12-14 06:43:38 +00:00
|
|
|
|
public string fontColor;
|
|
|
|
|
|
2019-01-15 02:00:11 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// The type of module that will be using this definition.
|
|
|
|
|
/// </summary>
|
2018-12-14 06:43:38 +00:00
|
|
|
|
public new Type UIModuleType => typeof(TextButton);
|
|
|
|
|
|
2019-01-15 02:00:11 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Creates this definition with the most minimal requirements.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="downRegion">Texture region from skin that represents when the button is pressed down.</param>
|
|
|
|
|
/// <param name="upRegion">The texture region that represents when the button is not pressed.</param>
|
2018-12-14 06:43:38 +00:00
|
|
|
|
public TextButtonSkinDefinition(string downRegion, string upRegion) : base(downRegion, upRegion)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|