using RecrownedAthenaeum.Graphics.UI.Modular.Modules; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RecrownedAthenaeum.Graphics.UI.SkinSystem.Definitions { /// /// Skin definition of a scroll module. /// public class UIScrollableSkinDefinition : SkinDefinitionData { /// /// Name of the region that specifies the texture needed. /// public string horizontalBar, verticalBar, horizontalBarTrack, verticalBarTrack, background; /// /// Instantiates the definition with the minimum requirements. /// /// Name of the region used by the skin that defines what the horizontal scroll bar looks like. /// Name of the region used by the skin that defines what the vertical scroll bar looks like. public UIScrollableSkinDefinition(string horizontalBar, string verticalBar) { this.horizontalBar = horizontalBar; this.verticalBar = verticalBar; UIModuleType = typeof(UIScrollable); } } }