Refactors and documentation.

This commit is contained in:
2019-01-15 17:03:17 -06:00
parent f5cbd9dbab
commit a62ec1bd38
8 changed files with 108 additions and 20 deletions

View File

@@ -6,7 +6,7 @@ namespace RecrownedAthenaeum.UI.Skin.Definitions
/// <summary>
/// Definition for a button.
/// </summary>
public class ButtonSkinDefinition : ISkinDefinition
public class ButtonSkinDefinition : ISkinDefinitionData
{
/// <summary>
/// Names for the regions in the texture atlas respectively.

View File

@@ -3,9 +3,9 @@
namespace RecrownedAthenaeum.UI.Skin.Definitions
{
/// <summary>
/// A definition for the skin system.
/// A definition containing the data for the skin system. Should be in data transfer object model.
/// </summary>
public interface ISkinDefinition
public interface ISkinDefinitionData
{
/// <summary>
/// The module type this definition is definining.

View File

@@ -3,7 +3,7 @@ using static System.Net.Mime.MediaTypeNames;
namespace RecrownedAthenaeum.UI.Skin.Definitions
{
class TextSkinDefinition : ISkinDefinition
class TextSkinDefinition : ISkinDefinitionData
{
public string font;
public string color;