using RecrownedAthenaeum.Graphics.UI.Modular.Modules.Interactive; namespace RecrownedAthenaeum.Graphics.UI.SkinSystem.Definitions { /// /// Skin 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; } } }