Progress on skin system, added skin stack.
This commit is contained in:
@@ -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>
|
||||
|
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user