﻿<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="TabAchievements.lua"></Script>
	
	<Frame name="AltoholicTabAchievements" parent="AltoholicFrame" hidden="true">
		<Size>
			<AbsDimension x="758" y="447"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT"/>
		</Anchors>
		<Layers>
			<Layer level="OVERLAY">
				<FontString name="$parent_NotStarted" inherits="GameFontNormalSmall" justifyH="LEFT">
					<Size x="120" y="20" />
					<Anchors>
						<Anchor point="LEFT" relativeTo="AltoholicFrameSearchLabel" relativePoint="RIGHT" >
							<Offset x="40" y="-3" />
						</Anchor>
					</Anchors>
					<Color r="255" g="255" b="255" />
				</FontString>
				<FontString name="$parent_Partial" inherits="GameFontNormalSmall" justifyH="LEFT">
					<Size x="120" y="20" />
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parent_NotStarted" relativePoint="BOTTOMLEFT" >
							<Offset x="0" y="0" />
						</Anchor>
					</Anchors>
					<Color r="255" g="255" b="255" />
				</FontString>
				<FontString name="$parent_Completed" inherits="GameFontNormalSmall" justifyH="LEFT">
					<Size x="120" y="20" />
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parent_Partial" relativePoint="BOTTOMLEFT" >
							<Offset x="0" y="0" />
						</Anchor>
					</Anchors>
					<Color r="255" g="255" b="255" />
				</FontString>
				<FontString name="$parentStatus" inherits="GameFontNormal" justifyH="LEFT">
					<Size x="320" y="24" />
					<Anchors>
						<Anchor point="BOTTOMRIGHT">
							<Offset x="-250" y="13" />
						</Anchor>
					</Anchors>
					<Color r="255" g="255" b="255" />
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Button name="$parentMenuItem1" inherits="AltoMenuItemTemplate" id="1">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="23" y="-105"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentMenuItem2" inherits="AltoMenuItemTemplate" id="2">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentMenuItem1" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentMenuItem3" inherits="AltoMenuItemTemplate" id="3">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentMenuItem2" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentMenuItem4" inherits="AltoMenuItemTemplate" id="4">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentMenuItem3" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentMenuItem5" inherits="AltoMenuItemTemplate" id="5">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentMenuItem4" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentMenuItem6" inherits="AltoMenuItemTemplate" id="6">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentMenuItem5" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentMenuItem7" inherits="AltoMenuItemTemplate" id="7">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentMenuItem6" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentMenuItem8" inherits="AltoMenuItemTemplate" id="8">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentMenuItem7" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentMenuItem9" inherits="AltoMenuItemTemplate" id="9">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentMenuItem8" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentMenuItem10" inherits="AltoMenuItemTemplate" id="10">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentMenuItem9" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentMenuItem11" inherits="AltoMenuItemTemplate" id="11">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentMenuItem10" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentMenuItem12" inherits="AltoMenuItemTemplate" id="12">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentMenuItem11" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentMenuItem13" inherits="AltoMenuItemTemplate" id="13">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentMenuItem12" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentMenuItem14" inherits="AltoMenuItemTemplate" id="14">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentMenuItem13" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentMenuItem15" inherits="AltoMenuItemTemplate" id="15">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentMenuItem14" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<ScrollFrame name="AltoholicAchievementsMenuScrollFrame" inherits="FauxScrollFrameTemplate">
				<Size>
					<AbsDimension x="160" y="305"/>
				</Size>
				<Anchors>
					<Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="158" y="-105"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="ARTWORK">
						<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
							<Size>
								<AbsDimension x="31" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
									<Offset>
										<AbsDimension x="-2" y="5"/>
									</Offset>
								</Anchor>
							</Anchors>
							<TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
						</Texture>
						<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
							<Size>
								<AbsDimension x="31" y="106"/>
							</Size>
							<Anchors>
								<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
									<Offset>
										<AbsDimension x="-2" y="-2"/>
									</Offset>
								</Anchor>
							</Anchors>
							<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
						</Texture>
					</Layer>
				</Layers>
				<Scripts>
					<OnVerticalScroll>
						FauxScrollFrame_OnVerticalScroll(self, offset, 20, Altoholic.Tabs.Achievements.Update)
					</OnVerticalScroll>
					<OnShow>
						Altoholic.Tabs.Achievements:Update();
					</OnShow>
				</Scripts>
			</ScrollFrame>
		</Frames>
		<Scripts>
			<OnShow>
				AltoholicFrameClasses:Show()
				Altoholic.Tabs.Achievements:Update()
			</OnShow>
			<OnHide>
				AltoholicFrameClasses:Hide()
			</OnHide>
		</Scripts>
	</Frame>
</Ui>