properly implemented ISkinDefinition to the skins (forgot to update definitions after modifying the interface).

This commit is contained in:
Harrison Deng 2018-12-11 01:15:10 -06:00
parent dd768ac751
commit 081f84cd47
2 changed files with 3 additions and 11 deletions

View File

@ -12,16 +12,12 @@ namespace RecrownedAthenaeum.UI.Skin.Definitions
public string downRegion;
public string upRegion;
public string disabledRegion;
public Type UIModuleType { get { return typeof(Button); } }
public ButtonSkinDefinition(string downRegion, string upRegion)
{
this.downRegion = downRegion;
this.upRegion = upRegion;
}
public Type UIModuleType()
{
return typeof(Button);
}
}
}

View File

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