using RecrownedAthenaeum.UI.Modular.Modules.Interactive;
using System;
namespace RecrownedAthenaeum.UI.Skin.Definitions
{
    /// 
    /// Definition for a button.
    /// 
    public class ButtonSkinDefinition : ISkinDefinition
    {
        /// 
        /// Names for the regions in the texture atlas respectively.
        /// 
        public string upRegion, downRegion, disabledRegion, selectedRegion;
        ///
        public Type UIModuleType { get { return typeof(Button); } }
        /// 
        /// Constructs the definition with minimum requirements.
        /// 
        /// Name of region specifying the texture shown for when the button is pressed down.
        /// Name of region specifying the texture shown for when the button is not pressed.
        public ButtonSkinDefinition(string downRegion, string upRegion)
        {
            this.downRegion = downRegion;
            this.upRegion = upRegion;
        }
    }
}