Progress on skin system, added skin stack.

This commit is contained in:
2019-01-20 01:08:38 -06:00
parent 6fdcdcf923
commit ea8f96d877
10 changed files with 393 additions and 64 deletions

View File

@@ -8,11 +8,6 @@ namespace RecrownedAthenaeum.UI.Skin.Definitions
/// </summary>
public class TextButtonSkinDefinition : ButtonSkinDefinition
{
/// <summary>
/// Name of font from the skin to use.
/// </summary>
public string fontName;
/// <summary>
/// Name of color from the skin to use for the font.
/// </summary>

View File

@@ -5,13 +5,11 @@ namespace RecrownedAthenaeum.UI.Skin.Definitions
{
class TextSkinDefinition : ISkinDefinitionData
{
public string font;
public string color;
public Type UIModuleType { get { return typeof(Text); } }
public TextSkinDefinition(string font, string color)
public TextSkinDefinition(string color)
{
this.font = font;
this.color = color;
}
}