﻿<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">

	<Frame name="TRP2_PersoLanguagesPanelTemplate" virtual="true">
		<Size x="384" y="256"/> 
		<Frames>
			<Frame name="$parentMain">
				<Size x="384" y="256"/> 
				<Anchors>
					<Anchor point="CENTER" x="0" y="0"/>
				</Anchors>
				<Frames>
					<!-- Fiche Joueur : Caract : Consultation -->
					<Frame name="$parentFrameGauche">
						<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
							<EdgeSize>
								<AbsValue val="16"/>
							</EdgeSize>
							<TileSize>
								<AbsValue val="32"/>
							</TileSize>
							<BackgroundInsets>
								<AbsInset left="5" right="5" top="5" bottom="5"/>
							</BackgroundInsets>
						</Backdrop>
						<Size x="300" y="200"/>
						<Anchors>
							<Anchor point="TOP" x="0" y="-30"/>
						</Anchors>
						<Frames>
							<ScrollFrame name="$parentNomBidon2" inherits="UIPanelScrollFrameTemplate">
								<Size x="275" y="190"/>
								<Anchors>
									<Anchor point="CENTER" x="-4" y="0"/>
								</Anchors>
								<ScrollChild>
									<Frame>
										<Size x="270" y="60"/>
										<Frames>
											<Frame name="TRP2_FicheLanguagesListe">
												<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
													<EdgeSize>
														<AbsValue val="16"/>
													</EdgeSize>
													<TileSize>
														<AbsValue val="16"/>
													</TileSize>
													<BackgroundInsets>
														<AbsInset left="5" right="5" top="5" bottom="5"/>
													</BackgroundInsets>
												</Backdrop>
												<Anchors>
													<Anchor point="TOP" x="5" y="-20"/>
												</Anchors>
												<Size x="190" y="105"/>
												<Layers>
													<Layer level="OVERLAY">
														<FontString name="$parentTitle" inherits="GameFontNormal" justifyH="CENTER">
															<Anchors>
																<Anchor point="TOP" x="0" y="15"/>
															</Anchors>
															<Color r="0.95" g="0.95" b="0.95"/>
														</FontString>
														<FontString name="$parentEmpty" inherits="NumberFontNormalHuge" justifyH="CENTER">
															<Anchors>
																<Anchor point="CENTER" x="0" y="0"/>
															</Anchors>
															<Color r="0.95" g="0.95" b="0.95"/>
														</FontString>
													</Layer>
												</Layers>
												<Scripts>
													<OnUpdate>
														self.TimeSinceLastUpdate = self.TimeSinceLastUpdate + elapsed; 	
														if (self.TimeSinceLastUpdate > 1) then
															self.TimeSinceLastUpdate = 0;
															TRP2_RefreshLangueListe();
														end
													</OnUpdate>
													<OnLoad>
														self.TimeSinceLastUpdate = 0;
													</OnLoad>
												</Scripts>
												<Frames>
													<Button name="TRP2_FicheLanguagesOngletLangue1" inherits="TRP2_OngletAuraTemplate">
														<Anchors><Anchor point="TOP" x="-70" y="-5"/></Anchors>
													</Button>
													<Button name="TRP2_FicheLanguagesOngletLangue2" inherits="TRP2_OngletAuraTemplate">
														<Anchors><Anchor point="TOP" x="-35" y="-5"/></Anchors>
													</Button>
													<Button name="TRP2_FicheLanguagesOngletLangue3" inherits="TRP2_OngletAuraTemplate">
														<Anchors><Anchor point="TOP" x="0" y="-5"/></Anchors>
													</Button>
													<Button name="TRP2_FicheLanguagesOngletLangue4" inherits="TRP2_OngletAuraTemplate">
														<Anchors><Anchor point="TOP" x="35" y="-5"/></Anchors>
													</Button>
													<Button name="TRP2_FicheLanguagesOngletLangue5" inherits="TRP2_OngletAuraTemplate">
														<Anchors><Anchor point="TOP" x="70" y="-5"/></Anchors>
													</Button>
													<Button name="TRP2_FicheLanguagesOngletLangue6" inherits="TRP2_OngletAuraTemplate">
														<Anchors><Anchor point="TOP" x="-70" y="-52"/></Anchors>
													</Button>
													<Button name="TRP2_FicheLanguagesOngletLangue7" inherits="TRP2_OngletAuraTemplate">
														<Anchors><Anchor point="TOP" x="-35" y="-52"/></Anchors>
													</Button>
													<Button name="TRP2_FicheLanguagesOngletLangue8" inherits="TRP2_OngletAuraTemplate">
														<Anchors><Anchor point="TOP" x="0" y="-52"/></Anchors>
													</Button>
													<Button name="TRP2_FicheLanguagesOngletLangue9" inherits="TRP2_OngletAuraTemplate">
														<Anchors><Anchor point="TOP" x="35" y="-52"/></Anchors>
													</Button>
													<Button name="TRP2_FicheLanguagesOngletLangue10" inherits="TRP2_OngletAuraTemplate">
														<Anchors><Anchor point="TOP" x="70" y="-52"/></Anchors>
													</Button>
													<!-- MENU LANGAGE -->
													<Button name="TRP2_FicheLanguagesOngletMenuLangues" inherits="TRP2_MainMenuOngletTemplate">
														<Anchors><Anchor point="LEFT" x="-35" y="0"/></Anchors>
														<Scripts>
															<OnClick>
																TRP2_SetListFor("langage");
															</OnClick>
															<OnEnter>
																TRP2_RefreshTooltipForFrame(self);
															</OnEnter>
															<OnLoad>
															</OnLoad>
														</Scripts>
													</Button>
													<Button name="TRP2_PurgeLanguagesButton" inherits="TRP2_MainMenuOngletTemplate">
														<Anchors><Anchor point="LEFT" x="-35" y="-35"/></Anchors>
														<Scripts>
															<OnClick>
																TRP2_PurgeLanguageList()
															</OnClick>
															<OnEnter>
																TRP2_RefreshTooltipForFrame(self);
															</OnEnter>
															<OnLoad>
															</OnLoad>
														</Scripts>
													</Button>
													<Button name="TRP2_DialectesAide" inherits="TRP2_BoutonAideTemplate">
														<Size x="20" y="20"/>
														<Anchors>
															<Anchor point="CENTER" x="0" y="-80"/>
														</Anchors>
														<Scripts>
															<OnLoad>
																self.Page = "Dialectes";
															</OnLoad>
														</Scripts>
													</Button>
												</Frames>
											</Frame>
										</Frames>
									</Frame>
								</ScrollChild>
							</ScrollFrame>
						</Frames>
					</Frame>
				</Frames>
			</Frame>
		</Frames>
	</Frame>

</Ui>