using RecrownedAthenaeum.UI.Modular.Modules.Interactive; namespace RecrownedAthenaeum.UI.SkinSystem.Definitions { /// /// Definition for a button. /// public class ButtonSkinDefinition : SkinDefinitionData { /// /// Names for the regions in the texture atlas respectively. /// public string upRegion, downRegion, disabledRegion, selectedRegion; /// /// 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) { UIModuleType = typeof(Button); this.downRegion = downRegion; this.upRegion = upRegion; } } }