recrownedathenaeum/RecrownedAthenaeum/UI/SkinSystem/Definitions/TextButtonSkinDefinition.cs

27 lines
961 B
C#
Raw Normal View History

using RecrownedAthenaeum.UI.Modular.Modules.Interactive;
using System;
2019-01-27 23:39:18 +00:00
namespace RecrownedAthenaeum.UI.SkinSystem.Definitions
{
/// <summary>
/// Definition for a text button for a skin theme.
/// </summary>
public class TextButtonSkinDefinition : ButtonSkinDefinition
{
/// <summary>
/// Name of color from the skin to use for the font.
/// </summary>
public string fontColor;
/// <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>
public TextButtonSkinDefinition(string downRegion, string upRegion) : base(downRegion, upRegion)
{
2019-01-29 22:22:14 +00:00
UIModuleType = typeof(TextButton);
}
}
}