properly implemented ISkinDefinition to the skins (forgot to update definitions after modifying the interface).
This commit is contained in:
parent
dd768ac751
commit
081f84cd47
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user