<!-- InfoTable.xml -->
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">

<Script file="InfoTable.lua"/>

<!-- Information Panel -->
<Frame name="GoldCounterCharPanel" parent="UIParent" toplevel="true" enableMouse="true" movable="true" hidden="true" frameStrata="HIGH" clampedToScreen="true">

        <Size> <AbsDimension x="1000" y="600" /> </Size>
		<Anchors> <Anchor point="CENTER"/> </Anchors>

		<Scripts>
			<OnLoad>
				self:RegisterForDrag( "LeftButton" )
			</OnLoad>
			<OnShow>
				self:ClearAllPoints()
				self:SetPoint("CENTER", UIParent, "CENTER", 0, 0)
				PlaySound( SOUNDKIT.IG_MAINMENU_OPEN )
				GoldCounterCharPanel_OnShow()
			</OnShow>
			<OnHide>
				PlaySound( SOUNDKIT.IG_MAINMENU_CLOSE )
			</OnHide>
			<OnDragStart>
				if not self.isLocked then
					self:StartMoving()
				end
			</OnDragStart>
			<OnDragStop>
				self:StopMovingOrSizing()
			</OnDragStop>
			<OnKeyDown>
				if key == "ESCAPE" then self:Hide() end
			</OnKeyDown>
		</Scripts>

		<Layers>

			<Layer level="BACKGROUND">
				<Texture atlas="Capacitance-Blacksmithing-BG" horizTile="false" vertTile="false">
					<Size x="1000" y="600"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="0"/>
						<Anchor point="BOTTOMRIGHT"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<Texture atlas="UI-Character-Info-Title" horizTile="false" vertTile="false">
					<Size x="250" y="60" />
					<Anchors>
						<Anchor point="TOP" x="0" y="18"/>
					</Anchors>
				</Texture>
			</Layer>
			<!-- Decorations Top -->
			<Layer level="ARTWORK">
				<Texture atlas="AftLevelup-FiligreeLeft" horizTile="false" vertTile="false">
					<Size x="200" y="30" />
					<Anchors>
						<Anchor point="TOP" x="300" y="-8"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<Texture atlas="AftLevelup-FiligreeRight" horizTile="false" vertTile="false">
					<Size x="200" y="30" />
					<Anchors>
						<Anchor point="TOP" x="-300" y="-8"/>
					</Anchors>
				</Texture>
			</Layer>
			<!-- Decorations Bottom -->
			<Layer level="ARTWORK">
				<Texture atlas="Artifacts-Warrior-Header" horizTile="false" vertTile="false">
					<Size x="760" y="30" />
					<Anchors>
						<Anchor point="BOTTOM" x="0" y="0"/>
					</Anchors>
				</Texture>
			</Layer>
			<!-- Number of characters Icon -->
			<Layer level="ARTWORK">
				<Texture atlas="charactercreate-icon-customize-body" horizTile="false" vertTile="false">
					<Size x="32" y="33" />
					<Anchors>
						<Anchor point="BOTTOM" x="260" y="26"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<!-- Number of Rows or Characters -->
				<FontString name="GC_NumRows" inherits="Fancy20Font" text="12">
					<Anchors>
						<Anchor point="BOTTOM" x="285" y="33" />
					</Anchors>
					<Color r="1.0" g="0.82" b="0" a="1"/>
				</FontString>
			</Layer>


			<Layer level="OVERLAY">
				<!-- Title text -->
				<FontString name="GC_CharPanelTitle" inherits="Fancy20Font">
					<Anchors>
						<Anchor point="TOP" x="0" y="-1" />
					</Anchors>
					<Color r="1.0" g="0.82" b="0" a="1"/>
				</FontString>
			</Layer>

			</Layers>
			
			<Frames>
			<!--- Close button -->
			<Button name="GoldCounterCharPanel_CloseButton1" inherits="UIPanelButtonTemplate">
				<Anchors>
					<Anchor point="BOTTOMRIGHT" x="-60" y="5" />
				</Anchors>
				<Size x="96" y="32" />
			<Scripts>
				<OnClick>
					GoldCounterCharPanel:Hide()
				</OnClick>
			</Scripts>
			</Button>

			<!--- Close button Cross -->
			<Button name="GoldCounterCharPanel_CloseButton2" inherits="UIPanelButtonTemplate">
				<Size x="28" y="28" />
				<Anchors>
					<Anchor point="TOPRIGHT" x="-26" y="-12" />
				</Anchors>
			<NormalTexture file="Interface\AddOns\GoldCounter\Icons\Icon_CrossUp.tga" />
			<PushedTexture file="Interface\AddOns\GoldCounter\Icons\Icon_CrossDown.tga" />

			<HighlightTexture file="Interface\AddOns\GoldCounter\Icons\Icon_HighLight.tga" alphaMode="ADD">
				<Size x="28" y="28"/>
				<Anchors>
					<Anchor point="CENTER" x="0" y="0"/>
				</Anchors>
			</HighlightTexture>

			<Scripts>
				<OnClick>
					GoldCounterCharPanel:Hide()
				</OnClick>
			</Scripts>
			</Button>

			</Frames>
</Frame>

<!-- Gold Info -->
<Frame name="GoldCounterWarband_Total" parent="GoldCounterCharPanel" inherits="BackdropTemplate" movable="false" hidden="false" frameStrata="HIGH">

        <Size> <AbsDimension x="320" y="45" /> </Size>
		<Anchors> <Anchor point="BOTTOMLEFT" x="35" y="18"/> </Anchors>

		<Scripts>
			<OnLoad>
				GoldCounterWarband_Total_OnLoad( self )
			</OnLoad>
			<OnShow>
				GoldCounterWarband_Total_OnShow()
			</OnShow>
		</Scripts>

		<Layers>

			<!-- Value Warband Bank -->
			<Layer level="OVERLAY">
				<FontString name="GC_CharPanel_Warband_Num" inherits="GameFontNormal">
					<Anchors>
						<Anchor point="TOPLEFT" x="140" y="-8" />
					</Anchors>
					<Color r="0" g="1" b="0" a="1"/>
				</FontString>
			</Layer>
			
			<!-- Value Total -->
			<Layer level="OVERLAY">
				<FontString name="GC_CharPanel_Total_Num" inherits="GameFontNormal">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="GC_CharPanel_Warband_Num" x="0" y="-18" />
					</Anchors>
				</FontString>
			</Layer>
			

			<!-- Warband -->
			<Layer level="OVERLAY">
				<FontString name="GC_CharPanel_Warband" inherits="GameFontNormal">
					<Anchors>
						<Anchor point="TOPLEFT" x="8" y="-8" />
					</Anchors>
					<Color r="1" g="1" b="1" a="1"/>
				</FontString>
			</Layer>
			<!-- Total -->
			<Layer level="OVERLAY">
				<FontString name="GC_CharPanel_Total" inherits="GameFontNormal">
					<Anchors>
						<Anchor point="RIGHT" relativeTo="GC_CharPanel_Warband" x="0" y="-18" />
					</Anchors>
				</FontString>
			</Layer>

		</Layers>
</Frame>

<!-- Current character Info -->
<Frame name="GoldCounterCurrentChar" parent="GoldCounterCharPanel" inherits="BackdropTemplate" movable="false" hidden="false" frameStrata="HIGH">

        <Size> <AbsDimension x="380" y="45" /> </Size>
		<Anchors> <Anchor relativeTo="GoldCounterWarband_Total" relativePoint="RIGHT" point="LEFT" x="-2" y="0"/> </Anchors>
		
		<Layers>
			<Layer level="OVERLAY">
				<FontString name="GC_CurrentCharName" inherits="Fancy18Font">
					<Anchors>
						<Anchor point="LEFT" x="12" y="0" />
					</Anchors>
					<Color r="1" g="0.8" b="0" a="1" />
				</FontString>
			</Layer>

			<Layer level="OVERLAY">
				<FontString name="GC_CurrentCharFunds" inherits="GameFontNormalLarge">
					<Anchors>
						<Anchor point="RIGHT" x="-12" y="0" />
					</Anchors>
				</FontString>
			</Layer>
		</Layers>

		<Scripts>
			<OnLoad>
				GoldCounterCurrentChar_OnLoad( self )
			</OnLoad>
			<OnShow>
				GoldCounterCurrentChar_OnShow()
			</OnShow>
		</Scripts>

</Frame>

<!--     LIGNES     -->
<Frame name="GC_ListPanelSetup" parent="GoldCounterCharPanel" inherits="BackdropTemplate" enableMouse="true" hidden="false" frameStrata="HIGH">

        <Size> <AbsDimension x="930" y="468" /> </Size>
		<Anchors> <Anchor point="TOP" x="0" y="-72"/> </Anchors>
		
		<Scripts>
			<OnLoad>
				GC_ListPanelSetup_OnLoad( self )
				GC_CreateRows()
			</OnLoad>
		</Scripts>

		<Frames>
			<ScrollFrame name="GC_CharScroll" inherits="FauxScrollFrameTemplate">

			<Anchors>
				<Anchor point="TOPLEFT" x="4" y="4"/>
				<Anchor point="BOTTOMRIGHT" x="-28" y="0"/>
			</Anchors>

				<Scripts>
					<OnVerticalScroll>
						FauxScrollFrame_OnVerticalScroll(self, offset, 23, GC_UpdateCharList)
					</OnVerticalScroll>
				</Scripts>
			</ScrollFrame>

		</Frames>
		
</Frame>

<!-- En-têtes -->
<Frame name="GC_ColFrame_Name" parent="GC_ListPanelSetup" toplevel="true" enableMouse="true" hidden="false" frameStrata="HIGH">

        <Size> <AbsDimension x="180" y="32" /> </Size>
		<Anchors> <Anchor point="TOPLEFT" x="0" y="28"/> </Anchors>
		
		<Layers>
			<Layer level="BACKGROUND">
				<Texture atlas="challenges-timerbg" horizTile="false" vertTile="false">
					<Size x="45" y="32"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="0"/>
						<Anchor point="BOTTOMRIGHT"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="OVERLAY">
				<FontString name="GC_ColFrame_Name_String" inherits="GameFontNormalLarge">
					<Anchors>
						<Anchor point="CENTER" x="0" y="0"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
</Frame>
<Frame name="GC_ColFrame_LvL" parent="GC_ListPanelSetup" toplevel="true" enableMouse="true" hidden="false" frameStrata="HIGH">

        <Size> <AbsDimension x="45" y="32" /> </Size>
		<Anchors> <Anchor point="LEFT" x="0" y="0" relativeTo="GC_ColFrame_Name" relativePoint="RIGHT"/> </Anchors>
		
		<Layers>
			<Layer level="BACKGROUND">
				<Texture atlas="challenges-timerbg" horizTile="false" vertTile="false">
					<Size x="45" y="32"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="0"/>
						<Anchor point="BOTTOMRIGHT"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="OVERLAY">
				<FontString name="GC_ColFrame_LvL_String" inherits="GameFontNormalLarge">
					<Anchors>
						<Anchor point="CENTER" x="0" y="0"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
</Frame>
<Frame name="GC_ColFrame_iLvL" parent="GC_ListPanelSetup" toplevel="true" enableMouse="true" hidden="false" frameStrata="HIGH">

        <Size> <AbsDimension x="80" y="32" /> </Size>
		<Anchors> <Anchor point="LEFT" x="0" y="0" relativeTo="GC_ColFrame_LvL" relativePoint="RIGHT"/> </Anchors>
		
		<Layers>
			<Layer level="BACKGROUND">
				<Texture atlas="challenges-timerbg" horizTile="false" vertTile="false">
					<Size x="80" y="32"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="0"/>
						<Anchor point="BOTTOMRIGHT"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="OVERLAY">
				<FontString name="GC_ColFrame_iLvL_String" inherits="GameFontNormalLarge">
					<Anchors>
						<Anchor point="CENTER" x="0" y="0"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
</Frame>
<Frame name="GC_ColFrame_FACTION" parent="GC_ListPanelSetup" toplevel="true" enableMouse="true" hidden="false" frameStrata="HIGH">

        <Size> <AbsDimension x="70" y="32" /> </Size>
		<Anchors> <Anchor point="LEFT" x="0" y="0" relativeTo="GC_ColFrame_iLvL" relativePoint="RIGHT"/> </Anchors>
		
		<Layers>
			<Layer level="BACKGROUND">
				<Texture atlas="challenges-timerbg" horizTile="false" vertTile="false">
					<Size x="70" y="32"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="0"/>
						<Anchor point="BOTTOMRIGHT"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="OVERLAY">
				<FontString name="GC_ColFrame_FACTION_String" inherits="GameFontNormalLarge">
					<Anchors>
						<Anchor point="CENTER" x="0" y="0"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
</Frame>
<Frame name="GC_ColFrame_REALM" parent="GC_ListPanelSetup" toplevel="true" enableMouse="true" hidden="false" frameStrata="HIGH">

        <Size> <AbsDimension x="180" y="32" /> </Size>
		<Anchors> <Anchor point="LEFT" x="0" y="0" relativeTo="GC_ColFrame_FACTION" relativePoint="RIGHT"/> </Anchors>
		
		<Layers>
			<Layer level="BACKGROUND">
				<Texture atlas="challenges-timerbg" horizTile="false" vertTile="false">
					<Size x="180" y="32"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="0"/>
						<Anchor point="BOTTOMRIGHT"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="OVERLAY">
				<FontString name="GC_ColFrame_REALM_String" inherits="GameFontNormalLarge">
					<Anchors>
						<Anchor point="CENTER" x="0" y="0"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
</Frame>
<Frame name="GC_ColFrame_COUNTER" parent="GC_ListPanelSetup" toplevel="true" enableMouse="true" hidden="false" frameStrata="HIGH">

        <Size> <AbsDimension x="182" y="32" /> </Size>
		<Anchors> <Anchor point="LEFT" x="-2" y="0" relativeTo="GC_ColFrame_REALM" relativePoint="RIGHT"/> </Anchors>
		
		<Layers>
			<Layer level="BACKGROUND">
				<Texture atlas="challenges-timerbg" horizTile="false" vertTile="false">
					<Size x="182" y="32"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="0"/>
						<Anchor point="BOTTOMRIGHT"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="OVERLAY">
				<FontString name="GC_ColFrame_COUNTER_String" inherits="GameFontNormalLarge">
					<Anchors>
						<Anchor point="CENTER" x="0" y="0"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
</Frame>
<Frame name="GC_ColFrame_FUNDS" parent="GC_ListPanelSetup" toplevel="true" enableMouse="true" hidden="false" frameStrata="HIGH">

        <Size> <AbsDimension x="182" y="32" /> </Size>
		<Anchors> <Anchor point="LEFT" x="-2" y="0" relativeTo="GC_ColFrame_COUNTER" relativePoint="RIGHT"/> </Anchors>
		
		<Layers>
			<Layer level="BACKGROUND">
				<Texture atlas="challenges-timerbg" horizTile="false" vertTile="false">
					<Size x="182" y="32"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="0"/>
						<Anchor point="BOTTOMRIGHT"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="OVERLAY">
				<FontString name="GC_ColFrame_FUNDS_String" inherits="GameFontNormalLarge">
					<Anchors>
						<Anchor point="CENTER" x="0" y="0"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
</Frame>

</Ui>
