<Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
	<Script file="AutoCastShine.lua"></Script>
	
	<Texture name="AltoShineSparkle" parentArray="Sparkles" file="Interface\ItemSocketingFrame\UI-ItemSockets" alphaMode="ADD" hidden="true" virtual="true">
		<Anchors>
			<Anchor point="CENTER" x="0" y="0" />
		</Anchors>
		<TexCoords left="0.3984375" right="0.4453125" top="0.40234375" bottom="0.44921875"/>
	</Texture>

	<Frame name="AltoAutoCastShineTemplate" virtual="true">
		<Size x="28" y="28" />
		<Anchors>
			<Anchor point="CENTER" x="0" y="0" />
		</Anchors>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture inherits="AltoShineSparkle">
					<Size x="13" y="13" />
				</Texture>
				<Texture inherits="AltoShineSparkle">
					<Size x="10" y="10" />
				</Texture>
				<Texture inherits="AltoShineSparkle">
					<Size x="7" y="7" />
				</Texture>
				<Texture inherits="AltoShineSparkle">
					<Size x="4" y="4" />
				</Texture>
				<Texture inherits="AltoShineSparkle">
					<Size x="13" y="13" />
				</Texture>
				<Texture inherits="AltoShineSparkle">
					<Size x="10" y="10" />
				</Texture>
				<Texture inherits="AltoShineSparkle">
					<Size x="7" y="7" />
				</Texture>
				<Texture inherits="AltoShineSparkle">
					<Size x="4" y="4" />
				</Texture>
				<Texture inherits="AltoShineSparkle">
					<Size x="13" y="13" />
				</Texture>
				<Texture inherits="AltoShineSparkle">
					<Size x="10" y="10" />
				</Texture>
				<Texture inherits="AltoShineSparkle">
					<Size x="7" y="7" />
				</Texture>
				<Texture inherits="AltoShineSparkle">
					<Size x="4" y="4" />
				</Texture>
				<Texture inherits="AltoShineSparkle">
					<Size x="13" y="13" />
				</Texture>
				<Texture inherits="AltoShineSparkle">
					<Size x="10" y="10" />
				</Texture>
				<Texture inherits="AltoShineSparkle">
					<Size x="7" y="7" />
				</Texture>
				<Texture inherits="AltoShineSparkle">
					<Size x="4" y="4" />
				</Texture>
			</Layer>
		</Layers>				
		<Scripts>
			<OnLoad>
				Altoholic:BindViewToController(self, "AltoholicUI.AutoCastShine")
			</OnLoad>
			<OnUpdate>
				self:Shine_OnUpdate(elapsed)
			</OnUpdate>
		</Scripts>
	</Frame>	
</Ui>
