﻿<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="Core.lua"></Script>
	<Script file="Profiler.lua"></Script>
	<Script file="Tasks.lua"></Script>
	<Script file="Comm.lua"></Script>
	<Script file="Tooltip.lua"></Script>
	<Script file="ItemFilters.lua"></Script>
	<Script file="Loots.lua"></Script>
	<Script file="RecipeDB.lua"></Script>
	<Script file="Suggestions.lua"></Script>
	<Script file="Suggestions_ruRU.lua"></Script>
	<Script file="Suggestions_deDE.lua"></Script>
	<Script file="Suggestions_frFR.lua"></Script>
	<Script file="Suggestions_zhCN.lua"></Script>
	<Script file="Suggestions_zhTW.lua"></Script>
	<Script file="Suggestions_koKR.lua"></Script>
	<Script file="Characters.lua"></Script>
	<Script file="Altoholic.lua"></Script>
	
	<GameTooltip name="AltoTooltip" inherits="GameTooltipTemplate" parent="UIParent" hidden="true" />

	<Button name="AltoholicMinimapButton" parent="Minimap" toplevel="true">
		<Size>
			<AbsDimension x="33" y="33"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER" relativeTo="Minimap" relativePoint="RIGHT">
				<Offset>
					<AbsDimension x="5" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>		
		<Scripts>
			<OnLoad>
				self:RegisterForClicks("LeftButtonDown", "RightButtonDown");
				self:RegisterForDrag("RightButton")
			</OnLoad>
			<OnClick>
				if button == "LeftButton" then
					Altoholic:ToggleUI()
				end
			</OnClick>
			<OnUpdate>
				if(self.isMoving == true) then
					Altoholic:UpdateMinimapIconCoords()
				end
			</OnUpdate>
			<OnDragStart>
				self.isMoving = true;
			</OnDragStart>
			<OnDragStop>
				self.isMoving = false;
			</OnDragStop>
			<OnEnter> 
				Altoholic:ShowWidgetTooltip(self)
			</OnEnter>
			<OnLeave>
				AltoTooltip:Hide();
			</OnLeave>
		</Scripts>
		<Layers>
			<Layer level="ARTWORK">
				<Texture name="$parentIcon" file="Interface\Icons\INV_Drink_13">
					<Size>
						<AbsDimension x="21" y="21"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="7" y="-6"/>
							</Offset>
						</Anchor>
					</Anchors>
					<TexCoords left="0.075" right="0.925" top="0.075" bottom="0.925"/>
				</Texture>
			</Layer>
			<Layer level="OVERLAY">
				<Texture file="Interface\Minimap\MiniMap-TrackingBorder">
					<Size>
						<AbsDimension x="56" y="56"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
	</Button>

	<Frame name="AltoholicFrame" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true">
		<Size>
			<AbsDimension x="832" y="447"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT">
				<Offset>
					<AbsDimension x="0" y="-104"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnLoad>
				self:RegisterForDrag("LeftButton");
				self.elapsed = 0;
				PanelTemplates_SetNumTabs(AltoholicFrame, 5);
				PanelTemplates_SetTab(AltoholicFrame, 1);
			</OnLoad>
			<OnDragStart>
				self:StartMoving();
				self.isMoving = true;
			</OnDragStart>
			<OnDragStop>
				self:StopMovingOrSizing();
				self.isMoving = false;
			</OnDragStop>
			<OnShow>
				Altoholic:OnShow();
				PlaySound("UChatScrollButton");
			</OnShow>
			<OnHide>
				PlaySound("UChatScrollButton");
			</OnHide>
		</Scripts>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="$parentPortrait">
					<Size>
						<AbsDimension x="58" y="58"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="12" y="-8"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<Texture name="$parentTopLeft" file="Interface\AuctionFrame\UI-AuctionFrame-Browse-TopLeft">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</Texture>
				<Texture name="$parentTop" file="Interface\AuctionFrame\UI-AuctionFrame-Browse-Top">
					<Size>
						<AbsDimension x="320" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="256" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentTopRight" file="Interface\AuctionFrame\UI-AuctionFrame-Browse-TopRight">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentTop" relativePoint="TOPRIGHT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentBotLeft" file="Interface\AuctionFrame\UI-AuctionFrame-Browse-BotLeft">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="0" y="-256"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentBot" file="Interface\AuctionFrame\UI-AuctionFrame-Browse-Bot">
					<Size>
						<AbsDimension x="320" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="256" y="-256"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentBotRight" file="Interface\AuctionFrame\UI-AuctionFrame-Browse-BotRight">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentBot" relativePoint="TOPRIGHT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="OVERLAY">
				<FontString name="$parentName" inherits="GameFontNormal" justifyH="CENTER">
					<Size>
						<AbsDimension x="200" y="18"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="350" y="-16"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentTotals" inherits="GameFontNormal">
					<Size x="60" y="24" />
					<Anchors>
						<Anchor point="BOTTOMRIGHT">
							<Offset x="-250" y="13" />
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentTotalLv" inherits="GameFontNormal" justifyH="RIGHT">
					<Size x="80" y="24" />
					<Anchors>
						<Anchor point="BOTTOMRIGHT">
							<Offset x="-185" y="13" />
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentTotalGold" inherits="GameFontNormal" justifyH="RIGHT">
					<Size x="80" y="24" />
					<Anchors>
						<Anchor point="BOTTOMRIGHT">
							<Offset x="-100" y="13" />
						</Anchor>
					</Anchors>
					<Color r="255" g="255" b="255" />
				</FontString>
				<FontString name="$parentTotalPlayed" inherits="GameFontNormal" justifyH="RIGHT">
					<Size x="80" y="24" />
					<Anchors>
						<Anchor point="BOTTOMRIGHT">
							<Offset x="-20" y="13" />
						</Anchor>
					</Anchors>
					<Color r="255" g="255" b="255" />
				</FontString>
				<FontString name="$parentSearchLabel" inherits="GameFontNormalSmall">
					<Size x="120" y="20" />
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset x="70" y="-35" />
						</Anchor>
					</Anchors>
					<Color r="255" g="255" b="255" />
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Button name="$parentTab1" inherits="AltoTabTemplate" id="1">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="15" y="11"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentTab2" inherits="AltoTabTemplate" id="2">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentTab1" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-8" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentTab3" inherits="AltoTabTemplate" id="3" text="SEARCH">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentTab2" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-8" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentTab4" inherits="AltoTabTemplate" id="4" text="GUILD_BANK">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentTab3" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-8" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentTab5" inherits="AltoTabTemplate" id="5" text="ACHIEVEMENT_BUTTON">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentTab4" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-8" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>

			<EditBox name="$parent_SearchEditBox" inherits="InputBoxTemplate">
				<Size x="140" y="16" />
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentSearchLabel" relativePoint="BOTTOMLEFT" >
						<Offset x="10" y="0" />
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						self:SetAutoFocus( false );
					</OnLoad>
					<OnEnterPressed>
						Altoholic.Search:FindItem();
						self:ClearFocus();
					</OnEnterPressed>
					<OnEscapePressed>
						Altoholic:ToggleUI()
					</OnEscapePressed>
				</Scripts>
			</EditBox>
			<Button name="$parent_ResetButton" inherits="UIPanelButtonTemplate">
				<Size>
					<AbsDimension x="80" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent_SearchEditBox" relativePoint="BOTTOMLEFT" >
						<Offset>
							<AbsDimension x="-40" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						Altoholic.Tabs.Search:Reset()
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$parent_SearchButton" inherits="UIPanelButtonTemplate" text="SEARCH">
				<Size>
					<AbsDimension x="80" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parent_ResetButton" relativePoint="RIGHT" >
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						Altoholic.Search:FindItem();
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$parentCloseButton" inherits="UIPanelCloseButton">
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="3" y="-8"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			
			<Frame name="$parentClasses" hidden="true">
				<Size>
					<AbsDimension x="615" y="41"/>
				</Size>
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="-32" y="-55"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<Button name="$parentItem1" inherits="AltoBagItemTemplate" />
					<Button name="$parentItem2" inherits="AltoBagItemTemplate" />
					<Button name="$parentItem3" inherits="AltoBagItemTemplate" />
					<Button name="$parentItem4" inherits="AltoBagItemTemplate" />
					<Button name="$parentItem5" inherits="AltoBagItemTemplate" />
					<Button name="$parentItem6" inherits="AltoBagItemTemplate" />
					<Button name="$parentItem7" inherits="AltoBagItemTemplate" />
					<Button name="$parentItem8" inherits="AltoBagItemTemplate" />
					<Button name="$parentItem9" inherits="AltoBagItemTemplate" />
					<Button name="$parentItem10" inherits="AltoBagItemTemplate" />
				</Frames>
				<Scripts>
					<OnShow>
						Altoholic:ShowClassIcons()
					</OnShow>
				</Scripts>
			</Frame>
		</Frames>
	</Frame>
	
	<Frame name="AltoMsgBox" toplevel="true" parent="UIParent" hidden="true">
		<Size>
			<AbsDimension x="323" y="100"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER">
				<Offset>
					<AbsDimension x="0" y="-10"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Layers>
			<Layer>
				<FontString name="$Parent_Text" inherits="GameFontNormalSmall">
					<Size x="300" y="28" />
					<Anchors>
						<Anchor point="TOP">
							<Offset x="10" y="-20" />
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
			<BackgroundInsets>
				<AbsInset left="11" right="12" top="12" bottom="11" />
			</BackgroundInsets>
			<TileSize>
				<AbsValue val="32" />
			</TileSize>
			<EdgeSize>
				<AbsValue val="32" />
			</EdgeSize>
		</Backdrop>
		<Frames>
			<Button name="$ParentYesButton" inherits="UIPanelButtonTemplate" text="YES">
				<Size>
					<AbsDimension x="109" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="55" y="18"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						Altoholic:MsgBox_OnClick(1)
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$ParentNoButton" inherits="UIPanelButtonTemplate" text="NO">
				<Size>
					<AbsDimension x="109" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="LEFT" relativeTo="$ParentYesButton" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						Altoholic:MsgBox_OnClick(nil)
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
	</Frame>
	
	<Frame name="AltoAccountSharing" toplevel="true" parent="UIParent" hidden="true">
		<Size>
			<AbsDimension x="800" y="300"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER">
				<Offset>
					<AbsDimension x="0" y="20"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Layers>
			<Layer>
				<FontString name="$parentName" inherits="GameFontNormal" justifyH="CENTER">
					<Size>
						<AbsDimension x="140" y="18"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-16"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentText1" inherits="GameFontNormal" justifyH="LEFT">
					<Size>
						<AbsDimension x="250" y="18"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentName" relativePoint="BOTTOMLEFT" >
							<Offset>
								<AbsDimension x="10" y="-10"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="255" g="255" b="255" />
				</FontString>
				<FontString name="$parentText2" inherits="GameFontNormal" justifyH="CENTER">
					<Size>
						<AbsDimension x="140" y="18"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="390" y="-16"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentText3" inherits="GameFontNormal" justifyH="CENTER">
					<Size>
						<AbsDimension x="60" y="18"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentText2" relativePoint="TOPRIGHT" >
							<Offset>
								<AbsDimension x="30" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentText4" inherits="GameFontNormal" justifyH="CENTER">
					<Size>
						<AbsDimension x="60" y="18"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentText3" relativePoint="TOPRIGHT" >
							<Offset>
								<AbsDimension x="30" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentTransferStatus" inherits="GameFontNormal" justifyH="CENTER">
					<Size>
						<AbsDimension x="260" y="18"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="30" y="-170"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
			<BackgroundInsets>
				<AbsInset left="11" right="12" top="12" bottom="11" />
			</BackgroundInsets>
			<TileSize>
				<AbsValue val="32" />
			</TileSize>
			<EdgeSize>
				<AbsValue val="32" />
			</EdgeSize>
		</Backdrop>
		<Frames>
			<!-- 	for readability reasons, the scroll frame is in Frames/AccountSharing.xml	-->
			
			<EditBox name="$parent_AccNameEditBox" inherits="InputBoxTemplate">
				<Size x="100" y="16" />
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentName" relativePoint="TOPRIGHT" >
						<Offset x="10" y="0" />
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						self:SetAutoFocus( true );
					</OnLoad>
					<OnEnterPressed>
						self:ClearFocus();
						_G[self:GetParent():GetName() .."_AccTargetEditBox"]:SetFocus();
					</OnEnterPressed>
					<OnEscapePressed>
						AltoAccountSharing:Hide()
						Altoholic:ToggleUI()
					</OnEscapePressed>
				</Scripts>
			</EditBox>
			<Button name="$parent_InfoButton" inherits="UIPanelButtonTemplate" text="?">
				<Size>
					<AbsDimension x="20" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parent_AccNameEditBox" relativePoint="RIGHT" >
						<Offset>
							<AbsDimension x="5" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnEnter>
						Altoholic:ShowWidgetTooltip(self)
					</OnEnter>
					<OnLeave>
						AltoTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Button>
			
			<CheckButton name="$parent_UseTarget" inherits="SendMailRadioButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentText1" relativePoint="BOTTOMLEFT" >
						<Offset>
							<AbsDimension x="0" y="-10"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						_G[self:GetName().."Text"]:SetText(TARGET);
						AltoAccountSharing_UseTarget:SetChecked(1)
					</OnLoad>
					<OnClick>
						AltoAccountSharing_UseName:SetChecked(nil)
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parent_UseName" inherits="SendMailRadioButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent_UseTarget" relativePoint="BOTTOMLEFT" >
						<Offset>
							<AbsDimension x="0" y="-10"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						AltoAccountSharing_UseName:SetChecked(nil)
					</OnLoad>
					<OnClick>
						AltoAccountSharing_UseTarget:SetChecked(nil)
					</OnClick>
				</Scripts>
			</CheckButton>
			
			<EditBox name="$parent_AccTargetEditBox" inherits="InputBoxTemplate">
				<Size x="140" y="16" />
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parent_UseNameText" relativePoint="RIGHT" >
						<Offset x="30" y="0" />
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						self:SetAutoFocus( false );
					</OnLoad>
					<OnEnterPressed>
						self:ClearFocus();
					</OnEnterPressed>
					<OnEscapePressed>
						AltoAccountSharing:Hide()
						Altoholic:ToggleUI()
					</OnEscapePressed>
				</Scripts>
			</EditBox>
			
			<Button name="$parent_SendButton" inherits="UIPanelButtonTemplate">
				<Size>
					<AbsDimension x="140" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" >
						<Offset>
							<AbsDimension x="50" y="-130"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if self.requestMode then
							Altoholic.Comm.Sharing:GetContent()
						else
							Altoholic.Comm.Sharing:Request()
						end
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$parent_CancelButton" inherits="UIPanelButtonTemplate" text="Cancel">
				<Size>
					<AbsDimension x="80" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parent_SendButton" relativePoint="RIGHT" >
						<Offset>
							<AbsDimension x="20" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						AltoAccountSharing:Hide()
						Altoholic:ToggleUI()
					</OnClick>
				</Scripts>
			</Button>
			
			<Button name="$parent_ToggleAll">
				<Size>
					<AbsDimension x="16" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="325" y="-20"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						Altoholic.Sharing.AvailableContent:ToggleAll(self, button)
					</OnClick>
				</Scripts>
				<NormalTexture name="$parentIcon" file="Interface\Buttons\UI-MinusButton-UP" />
				<HighlightTexture file="Interface\Buttons\UI-PlusButton-Hilight" alphaMode="ADD" />
			</Button>
			<CheckButton name="$parent_CheckAll" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors> 
					<Anchor point="LEFT" relativeTo="$parent_ToggleAll" relativePoint="RIGHT">
						<Offset>
							<AbsDimension  x="5" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>      
				<Scripts>
					<OnLoad>
						_G[self:GetName() .. "Text"]:SetText(ALL)
					</OnLoad>
					<OnClick>
						Altoholic.Sharing.AvailableContent:CheckAll(self, button)
					</OnClick>
				</Scripts>
			</CheckButton>
		</Frames>
	</Frame>
</Ui>