implemented skin system to ui modules; progress on functional text button.
This commit is contained in:
@@ -9,9 +9,7 @@ namespace RecrownedAthenaeum.UI.Skin.Definitions
|
||||
{
|
||||
public class ButtonSkinDefinition : ISkinDefinition
|
||||
{
|
||||
public string downRegion;
|
||||
public string upRegion;
|
||||
public string disabledRegion;
|
||||
public string upRegion, downRegion, disabledRegion, selectedRegion;
|
||||
public Type UIModuleType { get { return typeof(Button); } }
|
||||
|
||||
public ButtonSkinDefinition(string downRegion, string upRegion)
|
||||
|
@@ -0,0 +1,22 @@
|
||||
using RecrownedAthenaeum.UI.Modular.Modules.Interactive;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RecrownedAthenaeum.UI.Skin.Definitions
|
||||
{
|
||||
public class TextButtonSkinDefinition : ButtonSkinDefinition
|
||||
{
|
||||
public string fontName;
|
||||
public string fontColor;
|
||||
|
||||
public new Type UIModuleType => typeof(TextButton);
|
||||
|
||||
public TextButtonSkinDefinition(string downRegion, string upRegion) : base(downRegion, upRegion)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user