Advertisement
Guest User

CharacterCreate.XML

a guest
Jan 25th, 2015
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 150.61 KB | None | 0 0
  1. <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/
  2. ..\FrameXML\UI.xsd">
  3.  
  4. <!-- patchwerk
  5. <Texture name="Banners" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  6.        <Size x="210" y="615"/>
  7.        <TexCoords left="0.00195313" right="0.41210938" top="0.00097656" bottom="0.60156250"/>
  8. </Texture>
  9. <Texture name="AllianceLogo" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  10.        <Size x="92" y="167"/>
  11.        <TexCoords left="0.41601563" right="0.59570313" top="0.00097656" bottom="0.16406250"/>
  12. </Texture>
  13. <Texture name="HordeLogo" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  14.        <Size x="97" y="166"/>
  15.        <TexCoords left="0.59960938" right="0.78906250" top="0.00097656" bottom="0.16308594"/>
  16. </Texture>
  17. <Texture name="Selection-Square" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  18.        <Size x="82" y="82"/>  
  19.        <TexCoords left="0.79296875" right="0.95312500" top="0.00097656" bottom="0.08105469"/>
  20. </Texture>
  21. <Texture name="ButtonFrame-Right" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  22.        <Size x="16" y="48"/>  
  23.        <TexCoords left="0.95703125" right="0.98828125" top="0.00097656" bottom="0.04785156"/>
  24. </Texture>
  25. <Texture name="Highlight-Square" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  26.        <Size x="82" y="82"/>  
  27.        <TexCoords left="0.79296875" right="0.95312500" top="0.08300781" bottom="0.16308594"/>
  28. </Texture>
  29. <Texture name="ButtonFrame-Left" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  30.        <Size x="16" y="48"/>  
  31.        <TexCoords left="0.95703125" right="0.98828125" top="0.08300781" bottom="0.12988281"/>
  32. </Texture>
  33. <Texture name="VideoFrame" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  34.        <Size x="215" y="166"/>
  35.        <TexCoords left="0.41601563" right="0.83593750" top="0.16601563" bottom="0.32812500"/>
  36. </Texture>
  37. <Texture name="Play-Down" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  38.        <Size x="69" y="69"/>  
  39.        <TexCoords left="0.83984375" right="0.97460938" top="0.16601563" bottom="0.23339844"/>
  40. </Texture>
  41. <Texture name="Play-Highlight" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  42.        <Size x="69" y="69"/>  
  43.        <TexCoords left="0.83984375" right="0.97460938" top="0.23535156" bottom="0.30273438"/>
  44. </Texture>
  45. <Texture name="Thumbnail-Highlight" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  46.        <Size x="110" y="104"/>
  47.        <TexCoords left="0.41601563" right="0.63085938" top="0.33007813" bottom="0.43164063"/>
  48. </Texture>
  49. <Texture name="Thumbnail-Selection" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  50.        <Size x="110" y="104"/>
  51.        <TexCoords left="0.41601563" right="0.63085938" top="0.43359375" bottom="0.53515625"/>
  52. </Texture>
  53. <Texture name="UI-CharacterCreate-IconShadow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  54.        <Size x="64" y="64"/>  
  55.        <TexCoords left="0.41601563" right="0.54101563" top="0.53710938" bottom="0.59960938"/>
  56. </Texture>
  57. <Texture name="Arrow-Left" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  58.        <Size x="33" y="44"/>  
  59.        <TexCoords left="0.54492188" right="0.60937500" top="0.53710938" bottom="0.58007813"/>
  60. </Texture>
  61. <Texture name="Thumbnail-Frame" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  62.        <Size x="110" y="104"/>
  63.        <TexCoords left="0.63476563" right="0.84960938" top="0.33007813" bottom="0.43164063"/>
  64. </Texture>
  65. <Texture name="Play-Up" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  66.        <Size x="69" y="69"/>  
  67.        <TexCoords left="0.85351563" right="0.98828125" top="0.33007813" bottom="0.39746094"/>
  68. </Texture>
  69. <Texture name="ButtonText-Bg" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  70.        <Size x="89" y="49"/>  
  71.        <TexCoords left="0.63476563" right="0.80859375" top="0.43359375" bottom="0.48144531"/>
  72. </Texture>
  73. <Texture name="Arrow-Right" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  74.        <Size x="33" y="44"/>  
  75.        <TexCoords left="0.81250000" right="0.87695313" top="0.43359375" bottom="0.47656250"/>
  76. </Texture>
  77. <Texture name="Gender-Female-Up" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  78.        <Size x="93" y="33"/>  
  79.        <TexCoords left="0.63476563" right="0.81640625" top="0.48339844" bottom="0.51562500"/>
  80. </Texture>
  81. <Texture name="Gender-Male-Up" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  82.        <Size x="93" y="33"/>  
  83.        <TexCoords left="0.63476563" right="0.81640625" top="0.51757813" bottom="0.54980469"/>
  84. </Texture>
  85. <Texture name="Gender-Male-Down" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  86.        <Size x="93" y="33"/>  
  87.        <TexCoords left="0.63476563" right="0.81640625" top="0.55175781" bottom="0.58398438"/>
  88. </Texture>
  89. <Texture name="CustomizeButton-Down" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  90.        <Size x="214" y="85"/>
  91.        <TexCoords left="0.00195313" right="0.41992188" top="0.60351563" bottom="0.68652344"/>
  92. </Texture>
  93. <Texture name="CustomizeButton-Highlight" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  94.        <Size x="214" y="85"/>
  95.        <TexCoords left="0.42382813" right="0.84179688" top="0.60351563" bottom="0.68652344"/>
  96. </Texture>
  97. <Texture name="CustomizeButton-Selection" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  98.        <Size x="214" y="85"/>
  99.        <TexCoords left="0.00195313" right="0.41992188" top="0.68847656" bottom="0.77148438"/>
  100. </Texture>
  101. <Texture name="CustomizeButton-Up" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  102.        <Size x="214" y="85"/>
  103.        <TexCoords left="0.00195313" right="0.41992188" top="0.77343750" bottom="0.85644531"/>
  104. </Texture>
  105. <Texture name="TextGlowLG-Bg" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  106.        <Size x="211" y="33"/>
  107.        <TexCoords left="0.00195313" right="0.41406250" top="0.85839844" bottom="0.89062500"/>
  108. </Texture>
  109. <Texture name="Gender-Female-Down" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  110.        <Size x="93" y="33"/>  
  111.        <TexCoords left="0.00195313" right="0.18359375" top="0.89257813" bottom="0.92480469"/>
  112. </Texture>
  113. <Texture name="Gender-Highlight" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  114.        <Size x="93" y="33"/>  
  115.        <TexCoords left="0.00195313" right="0.18359375" top="0.92675781" bottom="0.95898438"/>
  116. </Texture>
  117. <Texture name="Gender-Selection" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  118.        <Size x="93" y="33"/>  
  119.        <TexCoords left="0.00195313" right="0.18359375" top="0.96093750" bottom="0.99316406"/>
  120. </Texture>
  121. <Texture name="TextGlowSM-Bg" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  122.        <Size x="117" y="32"/>
  123.        <TexCoords left="0.18750000" right="0.41601563" top="0.89257813" bottom="0.92382813"/>
  124. </Texture>
  125. <Texture name="Frame-Top" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  126.        <Size x="243" y="48"/>
  127.        <TexCoords left="0.42382813" right="0.89843750" top="0.68847656" bottom="0.73535156"/>
  128. </Texture>
  129. <Texture name="Frame-Bottom" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  130.        <Size x="243" y="46"/>
  131.        <TexCoords left="0.42382813" right="0.89843750" top="0.73730469" bottom="0.78222656"/>
  132. </Texture>
  133. <Texture name="DividingLine" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" virtual="true" >
  134.        <Size x="192" y="3"/>  
  135.        <TexCoords left="0.42382813" right="0.79882813" top="0.78417969" bottom="0.78710938"/>
  136. </Texture>
  137. -->
  138.  
  139.         <Script file="CharacterCreate.lua"/>
  140.         <Frame name="CharacterCreateTooltip" frameStrata="TOOLTIP" hidden="true" parent="GlueParent" inherits="GlueTooltipTemplate">
  141.                 <Scripts>
  142.                         <OnLoad>
  143.                                 --[[GlueTooltip_OnLoad(self);
  144.                                 self:SetFont(CharacterCreateTooltipFont);
  145.                                 self.defaultColor = HIGHLIGHT_FONT_COLOR;
  146.                                 for i = 1, GLUETOOLTIP_NUM_LINES do
  147.                                         _G[self:GetName().."TextLeft"..i]:SetJustifyH("CENTER");
  148.                                 end]]
  149.                         </OnLoad>
  150.                 </Scripts>
  151.         </Frame>
  152.         <CheckButton name="CharCreateIconButtonTemplate" virtual="true" motionScriptsWhileDisabled="true">
  153.                 <Size x="50" y="50"/>
  154.                 <Layers>
  155.                         <Layer level="BACKGROUND">
  156.                                 <Texture name="$parentShadow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  157.                                         <Size x="68" y="68"/>
  158.                                         <Anchors>
  159.                                                 <Anchor point="CENTER" x="0" y="0"/>
  160.                                         </Anchors>
  161.                                         <TexCoords left="0.41601563" right="0.54101563" top="0.53710938" bottom="0.59960938"/>
  162.                                 </Texture>
  163.                         </Layer>
  164.                         <Layer level="OVERLAY">
  165.                                 <Texture name="$parentBevelEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Highlights" parentKey="bevel">
  166.                                         <Size x="50" y="50"/>
  167.                                         <Anchors>
  168.                                                 <Anchor point="CENTER" x="0" y="0"/>
  169.                                         </Anchors>
  170.                                         <TexCoords left="0" right="0.5" top="0.5" bottom="1.0"/>
  171.                                 </Texture>
  172.                                 <Texture name="$parentDisableTexture" hidden="true">
  173.                                         <Size x="50" y="50"/>
  174.                                         <Anchors>
  175.                                                 <Anchor point="CENTER" x="0" y="0"/>
  176.                                         </Anchors>
  177.                                         <Color r="0.0" g="0.0" b="0.0" a="0.75"/>
  178.                                 </Texture>
  179.                         </Layer>
  180.                 </Layers>
  181.                 <Scripts>
  182.                         <OnMouseDown>
  183.                                 if( self:IsEnabled() == 1 ) then
  184.                                         _G[self:GetName().."BevelEdge"]:SetPoint("CENTER", self, "CENTER", 2, -2);
  185.                                         _G[self:GetName().."Shadow"]:SetSize(70, 70);
  186.                                 end
  187.                         </OnMouseDown>
  188.                         <OnMouseUp>
  189.                                 if( self:IsEnabled() == 1 ) then
  190.                                         _G[self:GetName().."BevelEdge"]:SetPoint("CENTER", self, "CENTER", 0, 0);
  191.                                         _G[self:GetName().."Shadow"]:SetSize(76, 76);
  192.                                 end
  193.                         </OnMouseUp>
  194.                         <OnEnable>
  195.                                 self.nameFrame.text:SetFontObject("GlueFontNormalSmall");
  196.                         </OnEnable>
  197.                         <OnDisable>
  198.                                 self.nameFrame.text:SetFontObject("GlueFontDisableSmall");
  199.                         </OnDisable>
  200.                 </Scripts>
  201.                 <HighlightTexture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" alphaMode="ADD">
  202.                         <Size x="64" y="64"/>
  203.                         <Anchors>
  204.                                 <Anchor point="CENTER" x="1" y="-1"/>
  205.                         </Anchors>
  206.                         <TexCoords left="0.79296875" right="0.95312500" top="0.08300781" bottom="0.16308594"/>
  207.                 </HighlightTexture>
  208.                 <CheckedTexture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" alphaMode="ADD">
  209.                         <Size x="64" y="64"/>
  210.                         <Anchors>
  211.                                 <Anchor point="CENTER" x="1" y="-1"/>
  212.                         </Anchors>
  213.                         <TexCoords left="0.79296875" right="0.95312500" top="0.00097656" bottom="0.08105469"/>
  214.                 </CheckedTexture>
  215.                 <Frames>
  216.                         <Frame name="$parentNameFrame" parentKey="nameFrame">
  217.                                 <Size x="56" y="56"/>
  218.                                 <Anchors>
  219.                                         <Anchor point="BOTTOM"/>
  220.                                 </Anchors>
  221.                                 <Layers>
  222.                                         <Layer level="BACKGROUND">
  223.                                                 <Texture name="$parentShadow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  224.                                                         <Size x="89" y="49"/>
  225.                                                         <Anchors>
  226.                                                                 <Anchor point="BOTTOM" x="2" y="-27"/>
  227.                                                         </Anchors>
  228.                                                         <TexCoords left="0.63476563" right="0.80859375" top="0.43359375" bottom="0.48144531"/>
  229.                                                 </Texture>
  230.                                         </Layer>
  231.                                         <Layer level="ARTWORK">
  232.                                                 <FontString name="$parentText" inherits="GlueFontNormalSmall" parentKey="text">
  233.                                                         <Anchors>
  234.                                                                 <Anchor point="BOTTOM" x="2" y="-7"/>
  235.                                                         </Anchors>
  236.                                                 </FontString>
  237.                                         </Layer>
  238.                                 </Layers>
  239.                         </Frame>
  240.                 </Frames>
  241.                 <Scripts>
  242.                         <OnEnter>
  243.                                 if ( self.tooltip ) then
  244.                                         --CharacterCreateTooltip:SetOwner(self, -3, -5);
  245.                                         --CharacterCreateTooltip:SetText(self.tooltip);
  246.                                 end
  247.                         </OnEnter>
  248.                         <OnLeave>
  249.                                 CharacterCreateTooltip:Hide();
  250.                         </OnLeave>
  251.                 </Scripts>
  252.         </CheckButton>
  253.         <CheckButton name="CharCreateRaceButtonTemplate" inherits="CharCreateIconButtonTemplate" virtual="true">
  254.                 <Scripts>
  255.                         <OnClick>
  256.                                 CharacterRace_OnClick(self, self:GetID());
  257.                         </OnClick>
  258.                 </Scripts>
  259.                 <NormalTexture name="$parentNormalTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Races"/>
  260.                 <PushedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Races">
  261.                         <Size x="50" y="50"/>
  262.                         <Anchors>
  263.                                 <Anchor point="CENTER" x="2" y="-2"/>
  264.                         </Anchors>
  265.                 </PushedTexture>
  266.         </CheckButton>
  267.         <CheckButton name="CharCreateClassButtonTemplate" virtual="true" motionScriptsWhileDisabled="true">
  268.                 <Size x="44" y="44"/>
  269.                 <Layers>
  270.                         <Layer level="BACKGROUND">
  271.                                 <Texture name="$parentShadow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  272.                                         <Size x="60" y="60"/>
  273.                                         <Anchors>
  274.                                                 <Anchor point="CENTER" x="0" y="0"/>
  275.                                         </Anchors>
  276.                                         <TexCoords left="0.41601563" right="0.54101563" top="0.53710938" bottom="0.59960938"/>
  277.                                 </Texture>
  278.                         </Layer>
  279.                         <Layer level="OVERLAY">
  280.                                 <Texture name="$parentBevelEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Highlights" parentKey="bevel">
  281.                                         <Size x="44" y="44"/>
  282.                                         <Anchors>
  283.                                                 <Anchor point="CENTER" x="0" y="0"/>
  284.                                         </Anchors>
  285.                                         <TexCoords left="0" right="0.5" top="0.5" bottom="1.0"/>
  286.                                 </Texture>
  287.                                 <Texture name="$parentDisableTexture" hidden="true">
  288.                                         <Size x="44" y="44"/>
  289.                                         <Anchors>
  290.                                                 <Anchor point="CENTER" x="0" y="0"/>
  291.                                         </Anchors>
  292.                                         <Color r="0.0" g="0.0" b="0.0" a="0.75"/>
  293.                                 </Texture>
  294.                         </Layer>
  295.                 </Layers>
  296.                 <Scripts>
  297.                         <OnMouseDown>
  298.                                 if( self:IsEnabled() == 1 ) then
  299.                                         _G[self:GetName().."BevelEdge"]:SetPoint("CENTER", self, "CENTER", 2, -2);
  300.                                         _G[self:GetName().."Shadow"]:SetSize(63, 63);
  301.                                 end
  302.                         </OnMouseDown>
  303.                         <OnMouseUp>
  304.                                 if( self:IsEnabled() == 1 ) then
  305.                                         _G[self:GetName().."BevelEdge"]:SetPoint("CENTER", self, "CENTER", 0, 0);
  306.                                         _G[self:GetName().."Shadow"]:SetSize(68, 68);
  307.                                 end
  308.                         </OnMouseUp>
  309.                         <OnEnable>
  310.                                 self.nameFrame.text:SetFontObject("GlueFontNormalSmall");
  311.                         </OnEnable>
  312.                         <OnDisable>
  313.                                 self.nameFrame.text:SetFontObject("GlueFontDisableSmall");
  314.                         </OnDisable>
  315.                 </Scripts>
  316.                 <HighlightTexture name="Highlight-Square" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" alphaMode="ADD">
  317.                         <Size x="56" y="56"/>
  318.                         <Anchors>
  319.                                 <Anchor point="CENTER" x="1" y="-1"/>
  320.                         </Anchors>
  321.                         <TexCoords left="0.79296875" right="0.95312500" top="0.08300781" bottom="0.16308594"/>
  322.                 </HighlightTexture>
  323.                 <CheckedTexture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" alphaMode="ADD">
  324.                         <Size x="56" y="56"/>
  325.                         <Anchors>
  326.                                 <Anchor point="CENTER" x="1" y="-1"/>
  327.                         </Anchors>
  328.                         <TexCoords left="0.79296875" right="0.95312500" top="0.00097656" bottom="0.08105469"/>
  329.                 </CheckedTexture>
  330.                 <Frames>
  331.                         <Frame name="$parentNameFrame" parentKey="nameFrame">
  332.                                 <Size x="64" y="64"/>
  333.                                 <Anchors>
  334.                                         <Anchor point="BOTTOM"/>
  335.                                 </Anchors>
  336.                                 <Layers>
  337.                                         <Layer level="BACKGROUND">
  338.                                                 <Texture name="$parentShadow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  339.                                                         <Size x="97" y="57"/>
  340.                                                         <Anchors>
  341.                                                                 <Anchor point="BOTTOM" x="2" y="-31"/>
  342.                                                         </Anchors>
  343.                                                         <TexCoords left="0.63476563" right="0.80859375" top="0.43359375" bottom="0.48144531"/>
  344.                                                 </Texture>
  345.                                         </Layer>
  346.                                         <Layer level="ARTWORK">
  347.                                                 <FontString name="$parentText" inherits="GlueFontNormalSmall" parentKey="text">
  348.                                                         <Size x="0" y="0"/>
  349.                                                         <Anchors>
  350.                                                                 <Anchor point="TOP" x="2" y="-59"/>
  351.                                                         </Anchors>
  352.                                                 </FontString>
  353.                                         </Layer>
  354.                                 </Layers>
  355.                         </Frame>
  356.                 </Frames>
  357.                 <Layers>
  358.                         <Layer level="BACKGROUND">
  359.                                 <Texture file="Interface\Glues\CharacterSelect\Glue-CharacterSelect-Highlight" alphaMode="ADD" parentKey="selection" hidden="true">
  360.                                         <Size>
  361.                                                 <AbsDimension x="256" y="96"/>
  362.                                         </Size>
  363.                                         <Anchors>
  364.                                                 <Anchor point="LEFT" x="-38" y="-2"/>
  365.                                         </Anchors>
  366.                                 </Texture>
  367.                         </Layer>
  368.                         <Layer level="OVERLAY">
  369.                                 <FontString parentKey="text" inherits="QuestFontNormalHuge" hidden="true">
  370.                                         <Anchors>
  371.                                                 <Anchor point="LEFT" relativePoint="RIGHT" x="20" y="0"/>
  372.                                         </Anchors>
  373.                                 </FontString>
  374.                         </Layer>
  375.                 </Layers>
  376.                 <Scripts>
  377.                         <OnClick>
  378.                                 CharacterClass_OnClick(self, self:GetID());    
  379.                         </OnClick>
  380.                         <OnEnter>
  381.                                 if ( self.tooltip ) then
  382.                                         CharacterCreateTooltip:SetOwner(self, -3, -5);
  383.                                         CharacterCreateTooltip:SetText(self.tooltip);
  384.                                 end
  385.                         </OnEnter>
  386.                         <OnLeave>
  387.                                 CharacterCreateTooltip:Hide();
  388.                         </OnLeave>
  389.                 </Scripts>
  390.                 <NormalTexture name="$parentNormalTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes"/>
  391.                 <PushedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes">
  392.                         <Size x="44" y="44"/>
  393.                         <Anchors>
  394.                                 <Anchor point="CENTER" x="2" y="-2"/>
  395.                         </Anchors>
  396.                 </PushedTexture>
  397.         </CheckButton>
  398.         <Button name="CharCreateNavButtonTemplate" inherits="GlueButtonTemplate" virtual="true">
  399.                 <Size x="124" y="62"/>
  400.                 <Layers>
  401.                         <Layer level="OVERLAY">
  402.                                 <Texture name="$parentRightEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  403.                                         <Size x="16" y="48"/>
  404.                                         <Anchors>
  405.                                                 <Anchor point="RIGHT" x="-4" y="3"/>
  406.                                         </Anchors>
  407.                                         <TexCoords left="0.95703125" right="0.98828125" top="0.00097656" bottom="0.04785156"/>
  408.                                 </Texture>
  409.                                 <Texture name="$parentLeftEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  410.                                         <Size x="16" y="48"/>
  411.                                         <Anchors>
  412.                                                 <Anchor point="LEFT" x="4" y="3"/>
  413.                                         </Anchors>
  414.                                         <TexCoords left="0.95703125" right="0.98828125" top="0.08300781" bottom="0.12988281"/>
  415.                                 </Texture>
  416.                                 <Texture name="$parentTopEdge" file="Interface\Glues\CharacterCreate\ButtonFrame-Mid">
  417.                                         <Size x="0" y="32"/>
  418.                                         <Anchors>
  419.                                                 <Anchor point="RIGHT" relativeTo="$parentRightEdge" relativePoint="LEFT" x="0" y="16"/>
  420.                                                 <Anchor point="LEFT" relativeTo="$parentLeftEdge" relativePoint="RIGHT" x="0" y="16"/>
  421.                                         </Anchors>
  422.                                         <TexCoords left="0" right="1" top="0" bottom="0.5"/>
  423.                                 </Texture>
  424.                                 <Texture name="$parentBottomEdge" file="Interface\Glues\CharacterCreate\ButtonFrame-Mid">
  425.                                         <Size x="0" y="32"/>
  426.                                         <Anchors>
  427.                                                 <Anchor point="RIGHT" relativeTo="$parentRightEdge" relativePoint="LEFT" x="0" y="-16"/>
  428.                                                 <Anchor point="LEFT" relativeTo="$parentLeftEdge" relativePoint="RIGHT" x="0" y="-16"/>
  429.                                         </Anchors>
  430.                                         <TexCoords left="0" right="1" top="0.5" bottom="1"/>
  431.                                 </Texture>
  432.                         </Layer>
  433.                 </Layers>
  434.                 <Scripts>
  435.                         <OnUpdate>
  436.                                 CharacterCreate_DeathKnightSwap(self);
  437.                         </OnUpdate>
  438.                 </Scripts>
  439.         </Button>
  440.         <Button name="CharCreateChangeStyleButtonTemplate" inherits="CharCreateNavButtonTemplate" virtual="true">
  441.                 <Size x="110" y="62"/>
  442.                 <Layers>
  443.                         <Layer level="OVERLAY" textureSubLevel="1">
  444.                                 <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" parentKey="arrow">
  445.                                         <Size x="33" y="44"/>
  446.                                         <Anchors>
  447.                                                 <Anchor point="CENTER" x="0" y="3"/>
  448.                                         </Anchors>
  449.                                         <TexCoords left="0.54492188" right="0.60937500" top="0.53710938" bottom="0.58007813"/>
  450.                                 </Texture>
  451.                         </Layer>
  452.                 </Layers>
  453.                 <Scripts>
  454.                         <OnMouseDown>
  455.                                 if ( self:IsEnabled() ) then
  456.                                         self.arrow:SetPoint("CENTER", 1, 2);
  457.                                 end
  458.                         </OnMouseDown>
  459.                         <OnMouseUp>
  460.                                 self.arrow:SetPoint("CENTER", 0, 3);
  461.                         </OnMouseUp>
  462.                 </Scripts>
  463.         </Button>
  464.         <CheckButton name="CharCreateCustomizationButtonTemplate" virtual="true">
  465.                 <HitRectInsets>
  466.                         <AbsInset left="8" right="8" top="8" bottom="8"/>
  467.                 </HitRectInsets>
  468.                 <Size x="162" y="46"/>
  469.                 <Layers>
  470.                         <Layer level="ARTWORK">
  471.                                 <FontString name="$parentText" inherits="GlueFontNormal" parentKey="text">
  472.                                         <Anchors>
  473.                                                 <Anchor point="CENTER" x="0" y="0"/>
  474.                                         </Anchors>
  475.                                 </FontString>
  476.                         </Layer>
  477.                 </Layers>
  478.                 <NormalTexture name="CustomizeButton-Up" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  479.                         <Size x="214" y="85"/>
  480.                         <TexCoords left="0.00195313" right="0.41992188" top="0.60351563" bottom="0.68652344"/>
  481.                 </NormalTexture>
  482.                 <PushedTexture name="CustomizeButton-Down" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  483.                         <Size x="214" y="85"/>
  484.                         <TexCoords left="0.00195313" right="0.41992188" top="0.60351563" bottom="0.68652344"/>
  485.                 </PushedTexture>
  486.                 <HighlightTexture name="CustomizeButton-Highlight" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" alphaMode="ADD">
  487.                         <Size x="214" y="85"/>
  488.                         <TexCoords left="0.00195313" right="0.41992188" top="0.60351563" bottom="0.68652344"/>
  489.                 </HighlightTexture>
  490.                 <Scripts>
  491.                         <OnMouseDown>
  492.                                 self.text:SetPoint("CENTER", 1, -1);
  493.                         </OnMouseDown>
  494.                         <OnMouseUp>
  495.                                 self.text:SetPoint("CENTER", 0, 0);
  496.                         </OnMouseUp>
  497.                         <OnClick>
  498.                                 PlaySound("gsCharacterCreationClass");
  499.                                 CharCreateSelectCustomizationType(self:GetID());
  500.                         </OnClick>
  501.                 </Scripts>
  502.         </CheckButton>
  503.         <Frame name="CharCreatePanelTemplate" virtual="true">
  504.                 <Size x="243" y="744"/>
  505.                 <Layers>
  506.                         <Layer level="BACKGROUND">
  507.                                 <Texture parentKey="factionBg">
  508.                                         <Anchors>
  509.                                                 <Anchor point="TOPLEFT" x="8" y="-10"/>
  510.                                                 <Anchor point="BOTTOMRIGHT" x="-8" y="10"/>
  511.                                         </Anchors>
  512.                                         <Color r="1" g="1" b="1" a="0.75"/>
  513.                                         <Gradient orientation="VERTICAL">
  514.                                                 <MaxColor r="0.2" g="0" b="0"/>
  515.                                                 <MinColor r="0" g="0" b="0"/>
  516.                                         </Gradient>
  517.                                 </Texture>
  518.                         </Layer>
  519.                         <Layer level="ARTWORK">
  520.                                 <Texture name="$parentTopEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  521.                                         <Size x="243" y="48"/>
  522.                                         <Anchors>
  523.                                                 <Anchor point="TOP"/>
  524.                                         </Anchors>
  525.                                         <TexCoords left="0.42382813" right="0.89843750" top="0.68847656" bottom="0.73535156"/>
  526.                                 </Texture>
  527.                                 <Texture name="$parentBottomEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  528.                                         <Size x="243" y="46"/>
  529.                                         <Anchors>
  530.                                                 <Anchor point="BOTTOM"/>
  531.                                         </Anchors>
  532.                                         <TexCoords left="0.42382813" right="0.89843750" top="0.73730469" bottom="0.78222656"/>
  533.                                 </Texture>
  534.                         </Layer>
  535.                         <Layer level="ARTWORK" textureSubLevel="-1">
  536.                                 <Texture name="$parentRightEdge" file="Interface\Glues\CharacterCreate\Frame-Sides">
  537.                                         <Size x="16" y="0"/>
  538.                                         <Anchors>
  539.                                                 <Anchor point="TOPRIGHT" relativeTo="$parentTopEdge" relativePoint="BOTTOMRIGHT" x="0" y="10"/>
  540.                                                 <Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomEdge" relativePoint="TOPRIGHT" x="0" y="-10"/>
  541.                                         </Anchors>
  542.                                         <TexCoords left="0" right="0.5" top="0" bottom="1"/>
  543.                                 </Texture>
  544.                                 <Texture name="$parentLeftEdge" file="Interface\Glues\CharacterCreate\Frame-Sides">
  545.                                         <Size x="16" y="0"/>
  546.                                         <Anchors>
  547.                                                 <Anchor point="TOPLEFT" relativeTo="$parentTopEdge" relativePoint="BOTTOMLEFT" x="0" y="10"/>
  548.                                                 <Anchor point="BOTTOMLEFT" relativeTo="$parentBottomEdge" relativePoint="TOPLEFT" x="0" y="-10"/>
  549.                                         </Anchors>
  550.                                         <TexCoords left="0.5" right="1" top="0" bottom="1"/>
  551.                                 </Texture>
  552.                         </Layer>
  553.                 </Layers>
  554.         </Frame>
  555.         <Frame name="CharacterCreateInfoTemplate" hidden="true" virtual="true" inherits="CharCreatePanelTemplate">
  556.                 <Size>
  557.                         <AbsDimension x="243" y="300"/>
  558.                 </Size>
  559.                 <!--
  560.                <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
  561.                        <EdgeSize>
  562.                                <AbsValue val="16"/>
  563.                        </EdgeSize>
  564.                        <TileSize>
  565.                                <AbsValue val="16"/>
  566.                        </TileSize>
  567.                        <BackgroundInsets>
  568.                                <AbsInset left="3" right="3" top="27" bottom="3"/>
  569.                        </BackgroundInsets>
  570.                </Backdrop>
  571.                -->
  572.                 <Layers>
  573.                         <Layer level="BORDER">
  574.                                 <Texture name="$parentHeaderTex">
  575.                                         <Size x="0" y="32"/>
  576.                                         <Anchors>
  577.                                                 <Anchor point="TOPLEFT" x="6" y="-8"/>
  578.                                                 <Anchor point="TOPRIGHT" x="-6" y="-8"/>
  579.                                         </Anchors>
  580.                                         <Color r="0" g="0" b="0" a="1"/>
  581.                                 </Texture>
  582.                         </Layer>
  583.                         <Layer level="ARTWORK">
  584.                                 <FontString name="$parentTitle" inherits="FactionName_Shadow_Huge" parentKey="title">
  585.                                         <Anchors>
  586.                                                 <Anchor point="LEFT" relativeTo="$parentHeaderTex" x="24" y="-2"/>
  587.                                         </Anchors>
  588.                                         <Color r="1" g="1" b="1"/>
  589.                                 </FontString>
  590.                         </Layer>
  591.                 </Layers>
  592.                 <Frames>
  593.                         <ScrollFrame name="$parentScrollFrame" inherits="GlueScrollFrameTemplate" parentKey="scrollFrame">
  594.                                 <Size x="210" y="0"/>
  595.                                 <Anchors>
  596.                                         <Anchor point="TOPLEFT" relativeTo="$parentHeaderTex" relativePoint="BOTTOMLEFT" x="11" y="0"/>
  597.                                         <Anchor point="TOPRIGHT" relativeTo="$parentHeaderTex" relativePoint="BOTTOMRIGHT" x="-31" y="0"/>
  598.                                         <Anchor point="BOTTOM" x="0" y="16"/>
  599.                                 </Anchors>
  600.                                 <Layers>
  601.                                         <Layer level="BACKGROUND">
  602.                                                 <Texture>
  603.                                                         <Anchors>
  604.                                                                 <Anchor point="TOPLEFT" relativeTo="$parentScrollBar" x="-3" y="18"/>
  605.                                                                 <Anchor point="BOTTOMRIGHT" relativeTo="$parentScrollBar" x="1" y="-18"/>
  606.                                                         </Anchors>
  607.                                                         <Color r="0" g="0" b="0" a="0.5"/>
  608.                                                 </Texture>
  609.                                         </Layer>
  610.                                         <Layer level="BORDER">
  611.                                                 <Texture file="Interface\Glues\CharacterCreate\Frame-Sides" parentKey="c">
  612.                                                         <Size x="16" y="0"/>
  613.                                                         <Anchors>
  614.                                                                 <Anchor point="TOPRIGHT" x="15" y="10"/>
  615.                                                                 <Anchor point="BOTTOMRIGHT" x="15" y="10"/>
  616.                                                         </Anchors>
  617.                                                         <TexCoords left="0.5" right="1" top="0" bottom="1"/>
  618.                                                 </Texture>
  619.                                         </Layer>
  620.                                         <Layer level="ARTWORK">
  621.                                                 <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" parentKey="a">
  622.                                                         <Size x="51" y="33"/>
  623.                                                         <Anchors>
  624.                                                                 <Anchor point="TOPRIGHT" x="31" y="32"/>
  625.                                                         </Anchors>
  626.                                                         <TexCoords left="0.1875" right="0.28710938" top="0.9375" bottom="0.96972656"/>
  627.                                                 </Texture>
  628.                                                 <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" parentKey="b">
  629.                                                         <Size x="51" y="33"/>
  630.                                                         <Anchors>
  631.                                                                 <Anchor point="BOTTOMRIGHT" x="31" y="-9"/>
  632.                                                         </Anchors>
  633.                                                         <TexCoords left="0.1875" right="0.28710938" top="0.96972656" bottom="0.9375"/>
  634.                                                 </Texture>
  635.                                         </Layer>
  636.                                 </Layers>
  637.                                 <Scripts>
  638.                                         <OnLoad>
  639.                                                 local scrollBar = _G[self:GetName().."ScrollBar"];
  640.                                                 scrollBar:ClearAllPoints();
  641.                                                 scrollBar:SetPoint("TOPLEFT", self, "TOPRIGHT", 11, 10);
  642.                                                 scrollBar:SetPoint("BOTTOMLEFT", self, "BOTTOMRIGHT", 11, 12);
  643.                                                 GlueScrollFrame_OnScrollRangeChanged(self, yrange);
  644.                                         </OnLoad>
  645.                                         <OnScrollRangeChanged>
  646.                                                 GlueScrollFrame_OnScrollRangeChanged(self, yrange);
  647.                                         </OnScrollRangeChanged>
  648.                                 </Scripts>
  649.                                 <ScrollChild>
  650.                                         <Frame name="$parentScrollChild" parentKey="scrollChild">
  651.                                                 <Size x="210" y="10"/>
  652.                                                 <Layers>
  653.                                                         <Layer level="BACKGROUND">
  654.                                                                 <FontString name="$parentBulletText" inherits="GlueFontNormalSmall" justifyH="LEFT" parentKey="bulletText">
  655.                                                                         <Size x="190" y="0"/>
  656.                                                                         <Anchors>
  657.                                                                                 <Anchor point="TOPLEFT" x="0" y="0"/>
  658.                                                                         </Anchors>
  659.                                                                 </FontString>
  660.                                                                 <FontString name="$parentInfoText" inherits="GlueFontCharacterCreate" justifyH="LEFT" parentKey="infoText">
  661.                                                                         <Size x="190" y="0"/>
  662.                                                                         <Anchors>
  663.                                                                                 <Anchor point="TOPLEFT" relativeTo="$parentBulletText" relativePoint="BOTTOMLEFT" x="0" y="-2"/>
  664.                                                                         </Anchors>
  665.                                                                 </FontString>
  666.                                                         </Layer>
  667.                                                 </Layers>
  668.                                         </Frame>
  669.                                 </ScrollChild>
  670.                         </ScrollFrame>
  671.                 </Frames>
  672.         </Frame>      
  673.         <Frame name="CharacterCustomizationFrameTemplate" virtual="true">
  674.                 <Size>
  675.                         <AbsDimension x="230" y="32"/>
  676.                 </Size>
  677.                 <Layers>
  678.                         <Layer level="BACKGROUND">
  679.                                 <Texture name="$parentLeft" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
  680.                                         <Size x="25" y="64"/>
  681.                                         <Anchors>
  682.                                                 <Anchor point="LEFT" x="-5" y="0"/>
  683.                                         </Anchors>
  684.                                         <TexCoords left="0" right="0.1953125" top="0" bottom="1"/>
  685.                                 </Texture>
  686.                                 <Texture name="$parentRight" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
  687.                                         <Size x="25" y="64"/>
  688.                                         <Anchors>
  689.                                                 <Anchor point="RIGHT" x="-44" y="0"/>
  690.                                         </Anchors>
  691.                                         <TexCoords left="0.8046875" right="1" top="0" bottom="1"/>
  692.                                 </Texture>
  693.                                 <Texture name="$parentMiddle" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
  694.                                         <Size x="40" y="64"/>
  695.                                         <Anchors>
  696.                                                 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
  697.                                                 <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/>
  698.                                         </Anchors>
  699.                                         <TexCoords left="0.1953125" right="0.8046875" top="0" bottom="1"/>
  700.                                 </Texture>
  701.                                 <FontString name="$parentText" inherits="GlueFontHighlightSmall">
  702.                                         <Anchors>
  703.                                                 <Anchor point="CENTER" relativeTo="$parentMiddle" x="0" y="2"/>
  704.                                         </Anchors>
  705.                                 </FontString>
  706.                         </Layer>
  707.                 </Layers>
  708.                 <Frames>
  709.                         <Button name="$parentRightButton">
  710.                                 <Size x="32" y="32"/>
  711.                                 <Anchors>
  712.                                         <Anchor point="RIGHT"/>
  713.                                 </Anchors>
  714.                                 <Scripts>
  715.                                         <OnClick>
  716.                                                 CharacterCustomization_Right(self:GetParent():GetID());
  717.                                         </OnClick>
  718.                                 </Scripts>
  719.                                 <NormalTexture file="Interface\Glues\Common\Glue-RightArrow-Button-Up"/>
  720.                                 <PushedTexture file="Interface\Glues\Common\Glue-RightArrow-Button-Down"/>
  721.                                 <HighlightTexture file="Interface\Glues\Common\Glue-RightArrow-Button-Highlight" alphaMode="ADD"/>
  722.                         </Button>
  723.                         <Button name="$parentLeftButton">
  724.                                 <Size x="32" y="32"/>
  725.                                 <Anchors>
  726.                                         <Anchor point="RIGHT" relativeTo="$parentRightButton" relativePoint="LEFT" x="3" y="0"/>
  727.                                 </Anchors>
  728.                                 <Scripts>
  729.                                         <OnClick>
  730.                                                 CharacterCustomization_Left(self:GetParent():GetID());
  731.                                         </OnClick>
  732.                                 </Scripts>
  733.                                 <NormalTexture file="Interface\Glues\Common\Glue-LeftArrow-Button-Up"/>
  734.                                 <PushedTexture file="Interface\Glues\Common\Glue-LeftArrow-Button-Down"/>
  735.                                 <HighlightTexture file="Interface\Glues\Common\Glue-LeftArrow-Button-Highlight" alphaMode="ADD"/>
  736.                         </Button>
  737.                 </Frames>
  738.         </Frame>
  739.         <CheckButton name="CharacterCreateGenderButtonTemplate" virtual="true">
  740.                 <Size x="38" y="38"/>
  741.                 <Layers>
  742.                         <Layer level="BACKGROUND">
  743.                                 <Texture name="$parentShadow" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-IconShadow">
  744.                                         <Size x="58" y="58"/>
  745.                                         <Anchors>
  746.                                                 <Anchor point="CENTER" x="0" y="0"/>
  747.                                         </Anchors>
  748.                                         <Color r="1.0" g="1.0" b="1.0" a="0.85"/>
  749.                                 </Texture>
  750.                         </Layer>
  751.                         <Layer level="OVERLAY">
  752.                                 <Texture name="$parentBevelEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Highlights">
  753.                                         <Size x="38" y="38"/>
  754.                                         <Anchors>
  755.                                                 <Anchor point="CENTER" x="0" y="0"/>
  756.                                         </Anchors>
  757.                                         <TexCoords left="0" right="0.5" top="0.5" bottom="1.0"/>
  758.                                 </Texture>
  759.                                 <Texture name="$parentDisableTexture" hidden="true">
  760.                                         <Size x="38" y="38"/>
  761.                                         <Anchors>
  762.                                                 <Anchor point="CENTER" x="0" y="0"/>
  763.                                         </Anchors>
  764.                                         <Color r="0.0" g="0.0" b="0.0" a="0.75"/>
  765.                                 </Texture>
  766.                         </Layer>
  767.                 </Layers>
  768.                 <Scripts>
  769.                         <OnMouseDown>
  770.                                 if( self:IsEnabled() == 1 ) then
  771.                                         _G[self:GetName().."BevelEdge"]:SetPoint("CENTER", self, "CENTER", 2, -2);
  772.                                         _G[self:GetName().."Shadow"]:SetSize(52, 52);
  773.                                 end
  774.                         </OnMouseDown>
  775.                         <OnMouseUp>
  776.                                 if( self:IsEnabled() == 1 ) then
  777.                                         _G[self:GetName().."BevelEdge"]:SetPoint("CENTER", self, "CENTER", 0, 0);
  778.                                         _G[self:GetName().."Shadow"]:SetSize(58, 58);
  779.                                 end
  780.                         </OnMouseUp>
  781.                         <OnLeave>
  782.                                 CharacterCreateTooltip:Hide();
  783.                         </OnLeave>
  784.                 </Scripts>
  785.                 <HighlightTexture file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Highlights" alphaMode="ADD">
  786.                         <TexCoords left="0" right="0.5" top="0" bottom="0.5"/>
  787.                 </HighlightTexture>
  788.                 <CheckedTexture file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Highlights" alphaMode="ADD">
  789.                         <TexCoords left="0.5" right="1" top="0" bottom="0.5"/>
  790.                 </CheckedTexture>
  791.                 <NormalTexture name="$parentNormalTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Gender"/>
  792.                 <PushedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Gender">
  793.                         <Size x="38" y="38"/>
  794.                         <Anchors>
  795.                                 <Anchor point="CENTER" x="2" y="-2"/>
  796.                         </Anchors>
  797.                 </PushedTexture>
  798.         </CheckButton>
  799.         <Frame name="CharCreatePreviewFrameTemplate" virtual="true">
  800.                 <Size x="128" y="118"/>
  801.                 <Layers>
  802.                         <Layer level="BACKGROUND">
  803.                                 <Texture>
  804.                                         <Anchors>
  805.                                                 <Anchor point="TOPLEFT" x="0" y="-3"/>
  806.                                                 <Anchor point="BOTTOMRIGHT" x="0" y="0"/>
  807.                                         </Anchors>
  808.                                         <Color r="0" g="0" b="0" a="0.4"/>
  809.                                 </Texture>
  810.                         </Layer>
  811.                 </Layers>
  812.                 <Frames>
  813.                         <Model name="$parentModel" parentKey="model">
  814.                                 <Size x="122" y="114"/>
  815.                                 <Anchors>
  816.                                         <Anchor point="CENTER"/>
  817.                                 </Anchors>
  818.                         </Model>
  819.                         <Button parentKey="button" frameStrata="HIGH" setAllPoints="true">
  820.                                 <Layers>
  821.                                         <Layer level="BACKGROUND">
  822.                                                 <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  823.                                                         <Size x="154" y="146"/>
  824.                                                         <Anchors>
  825.                                                                 <Anchor point="CENTER"/>
  826.                                                         </Anchors>
  827.                                                         <TexCoords left="0.63476563" right="0.84960938" top="0.33007813" bottom="0.43164063"/>
  828.                                                 </Texture>
  829.                                         </Layer>
  830.                                         <Layer level="OVERLAY">
  831.                                                 <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" alphaMode="ADD" parentKey="highlight" hidden="true">
  832.                                                         <Anchors>
  833.                                                                 <Anchor point="TOPLEFT" x="-8" y="8"/>
  834.                                                                 <Anchor point="BOTTOMRIGHT" x="8" y="-8"/>
  835.                                                         </Anchors>
  836.                                                         <TexCoords left="0.41601563" right="0.63085938" top="0.33007813" bottom="0.43164063"/>
  837.                                                 </Texture>
  838.                                         </Layer>
  839.                                 </Layers>
  840.                                 <Scripts>
  841.                                         <OnEnter>
  842.                                                 self.highlight:Show();
  843.                                         </OnEnter>
  844.                                         <OnLeave>
  845.                                                 self.highlight:Hide();
  846.                                         </OnLeave>
  847.                                         <OnClick function="CharCreatePreviewFrameButton_OnClick"/>
  848.                                 </Scripts>
  849.                         </Button>
  850.                 </Frames>
  851.         </Frame>
  852.  
  853.         <ModelFFX name="CharacterCreate" toplevel="true" parent="GlueParent" setAllPoints="true" enableKeyboard="true" hidden="true">
  854.                 <Frames>
  855.                         <Frame name="CharacterCreateFrame" setAllPoints="true" enableMouse="true">
  856.                                 <Frames>
  857.                                         <Button name="CharacterCreateRotateLeft">
  858.                                                 <Size x="50" y="50"/>
  859.                                                 <Anchors>
  860.                                                         <Anchor point="BOTTOM" x="-15" y="-1"/>
  861.                                                 </Anchors>
  862.                                                 <HitRectInsets>
  863.                                                         <AbsInset left="13" right="13" top="10" bottom="13"/>
  864.                                                 </HitRectInsets>
  865.                                                 <Scripts>
  866.                                                         <OnLoad>
  867.                                                                 self:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
  868.                                                         </OnLoad>
  869.                                                         <OnClick>
  870.                                                                 PlaySound("igInventoryRotateCharacter");
  871.                                                         </OnClick>
  872.                                                         <OnUpdate>
  873.                                                                 CharacterCreateRotateLeft_OnUpdate(self);
  874.                                                         </OnUpdate>
  875.                                                 </Scripts>
  876.                                                 <NormalTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Up">
  877.                                                         <TexCoords left="1.0" right="0" top="0" bottom="1.0"/>
  878.                                                 </NormalTexture>
  879.                                                 <PushedTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Down">
  880.                                                         <TexCoords left="1.0" right="0" top="0" bottom="1.0"/>
  881.                                                 </PushedTexture>
  882.                                                 <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
  883.                                                         <Size x="30" y="30"/>
  884.                                                         <Anchors>
  885.                                                                 <Anchor point="CENTER" x="0" y="0"/>
  886.                                                         </Anchors>
  887.                                                 </HighlightTexture>
  888.                                         </Button>
  889.                                         <Button name="CharacterCreateRotateRight">
  890.                                                 <Size x="50" y="50"/>
  891.                                                 <Anchors>
  892.                                                         <Anchor point="LEFT" relativeTo="CharacterCreateRotateLeft" relativePoint="RIGHT" x="-19" y="0"/>
  893.                                                 </Anchors>
  894.                                                 <HitRectInsets>
  895.                                                         <AbsInset left="13" right="13" top="10" bottom="13"/>
  896.                                                 </HitRectInsets>
  897.                                                 <Scripts>
  898.                                                         <OnLoad>
  899.                                                                 self:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
  900.                                                         </OnLoad>
  901.                                                         <OnClick>
  902.                                                                 PlaySound("igInventoryRotateCharacter");
  903.                                                         </OnClick>
  904.                                                         <OnUpdate>
  905.                                                                 CharacterCreateRotateRight_OnUpdate(self);
  906.                                                         </OnUpdate>
  907.                                                 </Scripts>
  908.                                                 <NormalTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Up"/>
  909.                                                 <PushedTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Down"/>
  910.                                                 <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
  911.                                                         <Size x="30" y="30"/>
  912.                                                         <Anchors>
  913.                                                                 <Anchor point="CENTER" x="0" y="0"/>
  914.                                                         </Anchors>
  915.                                                 </HighlightTexture>
  916.                                         </Button>
  917.                                         <Button name="CharCreateBackButton" inherits="CharCreateNavButtonTemplate" text="BACK">
  918.                                                 <Anchors>
  919.                                                         <Anchor point="BOTTOM" x="-132" y="-6"/>
  920.                                                 </Anchors>
  921.                                                 <Layers>
  922.                                                         <Layer level="OVERLAY" textureSubLevel="1">
  923.                                                                 <Texture name="$parentArrow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  924.                                                                         <Size x="33" y="44"/>
  925.                                                                         <Anchors>
  926.                                                                                 <Anchor point="LEFT" x="-9" y="3"/>
  927.                                                                         </Anchors>
  928.                                                                         <TexCoords left="0.54492188" right="0.60937500" top="0.53710938" bottom="0.58007813"/>
  929.                                                                 </Texture>
  930.                                                         </Layer>
  931.                                                 </Layers>
  932.                                                 <Scripts>
  933.                                                         <OnClick function="CharacterCreate_Back"/>
  934.                                                 </Scripts>
  935.                                         </Button>
  936.                                         <Button name="CharCreateOkayButton" inherits="CharCreateNavButtonTemplate" text="CUSTOMIZE">
  937.                                                 <Anchors>
  938.                                                         <Anchor point="BOTTOM" x="137" y="-6"/>
  939.                                                 </Anchors>
  940.                                                 <Layers>
  941.                                                         <Layer level="OVERLAY" textureSubLevel="1">
  942.                                                                 <Texture name="$parentTopGlow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" parentKey="TopGlow">
  943.                                                                         <Size x="117" y="32"/>
  944.                                                                         <Anchors>
  945.                                                                                 <Anchor point="TOP" x="0" y="18"/>
  946.                                                                         </Anchors>
  947.                                                                         <TexCoords left="0.18750000" right="0.41601563" top="0.89257813" bottom="0.92382813"/>
  948.                                                                 </Texture>
  949.                                                                 <Texture name="$parentBottomGlow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" parentKey="BottomGlow">
  950.                                                                         <Size x="117" y="32"/>
  951.                                                                         <Anchors>
  952.                                                                                 <Anchor point="BOTTOM" x="0" y="-13"/>
  953.                                                                         </Anchors>
  954.                                                                         <TexCoords left="0.18750000" right="0.41601563" top="0.92382813" bottom="0.89257813"/>
  955.                                                                 </Texture>
  956.                                                                 <Texture name="$parentArrow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" parentKey="Arrow">
  957.                                                                         <Size x="33" y="44"/>
  958.                                                                         <Anchors>
  959.                                                                                 <Anchor point="RIGHT" x="10" y="3"/>
  960.                                                                         </Anchors>
  961.                                                                         <TexCoords left="0.81250000" right="0.87695313" top="0.43359375" bottom="0.47656250"/>
  962.                                                                 </Texture>
  963.                                                         </Layer>
  964.                                                 </Layers>
  965.                                                 <Scripts>
  966.                                                         <OnClick function="CharacterCreate_Forward"/>
  967.                                                 </Scripts>
  968.                                         </Button>
  969.                                         <EditBox name="CharacterCreateNameEdit" letters="12" hidden="true">
  970.                                                 <Size x="156" y="40"/>
  971.                                                 <Anchors>
  972.                                                         <Anchor point="BOTTOM" x="0" y="64"/>
  973.                                                 </Anchors>
  974.                                                 <Layers>
  975.                                                         <Layer level="BORDER">
  976.                                                                 <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  977.                                                                         <Size x="117" y="32"/>
  978.                                                                         <Anchors>
  979.                                                                                 <Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-3"/>
  980.                                                                         </Anchors>
  981.                                                                         <TexCoords left="0.18750000" right="0.41601563" top="0.89257813" bottom="0.92382813"/>
  982.                                                                 </Texture>
  983.                                                         </Layer>
  984.                                                         <Layer level="ARTWORK">
  985.                                                                 <FontString inherits="FactionName_Shadow_Huge" text="NAME">
  986.                                                                         <Size x="256" y="64"/>
  987.                                                                         <Anchors>
  988.                                                                                 <Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-23"/>
  989.                                                                         </Anchors>
  990.                                                                 </FontString>
  991.                                                         </Layer>
  992.                                                 </Layers>
  993.                                                 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
  994.                                                         <BackgroundInsets>
  995.                                                                 <AbsInset left="10" right="5" top="4" bottom="9"/>
  996.                                                         </BackgroundInsets>
  997.                                                         <TileSize>
  998.                                                                 <AbsValue val="16"/>
  999.                                                         </TileSize>
  1000.                                                         <EdgeSize>
  1001.                                                                 <AbsValue val="16"/>
  1002.                                                         </EdgeSize>
  1003.                                                 </Backdrop>
  1004.                                                 <Scripts>
  1005.                                                         <OnEscapePressed>
  1006.                                                                 CharacterCreate_Back();
  1007.                                                         </OnEscapePressed>
  1008.                                                         <OnEnterPressed>
  1009.                                                                 CharacterCreate_Forward();
  1010.                                                         </OnEnterPressed>
  1011.                                                 </Scripts>
  1012.                                                 <FontString inherits="GlueEditBoxFont"/>
  1013.                                                 <TextInsets>
  1014.                                                         <AbsInset left="15"/>
  1015.                                                 </TextInsets>
  1016.                                         </EditBox>
  1017.                                         <Button name="CharacterCreateRandomName" inherits="GlueButtonSmallTemplate" text="RANDOMIZE" hidden="true">
  1018.                                                 <Size x="146" y="30"/>
  1019.                                                 <Anchors>
  1020.                                                         <Anchor point="TOP" relativeTo="CharacterCreateNameEdit" relativePoint="BOTTOM" x="0" y="6"/>
  1021.                                                 </Anchors>
  1022.                                                 <Scripts>
  1023.                                                         <OnLoad>
  1024.                                                                 self:SetWidth(self:GetTextWidth() + 50);
  1025.                                                         </OnLoad>
  1026.                                                         <OnClick>
  1027.                                                                 CharacterCreate_GenerateRandomName(self);
  1028.                                                                 CharCreateOkayButton:Disable();
  1029.                                                         </OnClick>
  1030.                                                         <OnUpdate>
  1031.                                                                 CharacterCreate_DeathKnightSwap(self);
  1032.                                                         </OnUpdate>
  1033.                                                 </Scripts>
  1034.                                         </Button>
  1035.                                         <Frame name="CharCreateRaceFrame">
  1036.                                                 <Size x="243" y="104"/>
  1037.                                                 <Anchors>
  1038.                                                         <Anchor point="TOPLEFT" x="3" y="-3"/>
  1039.                                                 </Anchors>
  1040.                                                 <Layers>
  1041.                                                         <Layer level="BACKGROUND" textureSubLevel="-1">
  1042.                                                                 <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1043.                                                                         <Size x="143" y="48"/>
  1044.                                                                         <Anchors>
  1045.                                                                                 <Anchor point="TOPLEFT" x="30" y="-83"/>
  1046.                                                                         </Anchors>
  1047.                                                                         <TexCoords left="0.42382813" right="0.703125" top="0.68847656" bottom="0.73535156"/>  
  1048.                                                                 </Texture>
  1049.                                                                 <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1050.                                                                         <Size x="143" y="48"/>
  1051.                                                                         <Anchors>
  1052.                                                                                 <Anchor point="TOPRIGHT" x="-30" y="-83"/>
  1053.                                                                         </Anchors>
  1054.                                                                         <TexCoords left="0.61914063" right="0.89843750" top="0.68847656" bottom="0.73535156"/>
  1055.                                                                 </Texture>
  1056.                                                         </Layer>
  1057.                                                         <Layer level="ARTWORK">
  1058.                                                                 <FontString name="CharCreateCustomizationLabel" inherits="FactionName_Shadow_Huge" text="CUSTOMIZE_OPTIONS" hidden="true">
  1059.                                                                         <Anchors>
  1060.                                                                                 <Anchor point="TOP" x="0" y="-26"/>
  1061.                                                                         </Anchors>
  1062.                                                                         <Color r="1.0" g="0.82" b="0.0"/>
  1063.                                                                 </FontString>
  1064.                                                         </Layer>
  1065.                                                 </Layers>
  1066.                                                 <Frames>
  1067.                                                         <Frame name="CharCreateRaceInfoFrame" inherits="CharacterCreateInfoTemplate">
  1068.                                                                 <Anchors>
  1069.                                                                         <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="-28" y="-607"/>
  1070.                                                                 </Anchors>
  1071.                                                         </Frame>
  1072.                                                         <Frame name="CharCreateRaceButtonsFrame" setAllPoints="true">
  1073.                                                                 <Layers>
  1074.                                                                         <Layer level="BACKGROUND" textureSubLevel="-2">
  1075.                                                                                 <Texture name="$parentBanners" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1076.                                                                                         <Size x="186" y="566"/> <!-- 566 -->
  1077.                                                                                         <Anchors>
  1078.                                                                                                 <Anchor point="TOP" x="0" y="-96"/>
  1079.                                                                                         </Anchors>
  1080.                                                                                         <TexCoords left="0.00195313" right="0.41210938" top="0.00097656" bottom="0.60156250"/>
  1081.                                                                                 </Texture>
  1082.                                                                         </Layer>
  1083.                                                                         <Layer level="BACKGROUND" textureSubLevel="-1">
  1084.                                                                                <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1085.                                                                                         <Size x="143" y="48"/>
  1086.                                                                                         <Anchors>
  1087.                                                                                                 <Anchor point="TOPLEFT" x="29" y="-84"/>
  1088.                                                                                         </Anchors>
  1089.                                                                                         <TexCoords left="0.42382813" right="0.703125" top="0.68847656" bottom="0.73535156"/>  
  1090.                                                                                 </Texture>
  1091.                                                                                <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1092.                                                                                         <Size x="143" y="48"/>
  1093.                                                                                         <Anchors>
  1094.                                                                                                 <Anchor point="TOPRIGHT" x="-29" y="-84"/>
  1095.                                                                                         </Anchors>
  1096.                                                                                         <TexCoords left="0.61914063" right="0.89843750" top="0.68847656" bottom="0.73535156"/>
  1097.                                                                                 </Texture>
  1098.                                                                         </Layer>
  1099.                                                                         <Layer level="ARTWORK">
  1100.                                                                                 <FontString name="CharCreateAllianceLabel" inherits="FactionName_Shadow_Large" text="ALLIANCE">
  1101.                                                                                         <Anchors>
  1102.                                                                                                 <Anchor point="TOP" x="-41" y="-110"/>
  1103.                                                                                         </Anchors>
  1104.                                                                                         <Color r="1.0" g="0.82" b="0.0"/>
  1105.                                                                                 </FontString>
  1106.                                                                                 <FontString name="CharCreateHordeLabel" inherits="FactionName_Shadow_Large" text="HORDE">
  1107.                                                                                         <Anchors>
  1108.                                                                                                 <Anchor point="TOP" x="45" y="-110"/>
  1109.                                                                                         </Anchors>
  1110.                                                                                         <Color r="1.0" g="0.82" b="0.0"/>
  1111.                                                                                 </FontString>
  1112.                                                                         </Layer>
  1113.                                                                 </Layers>
  1114.                                                                 <Frames>
  1115.                                                                         <CheckButton name="CharCreateRaceButton1" inherits="CharCreateRaceButtonTemplate" id="1">
  1116.                                                                                 <Anchors>
  1117.                                                                                         <Anchor point="TOP" relativePoint="TOP" x="-43" y="-121"/>
  1118.                                                                                 </Anchors>
  1119.                                                                         </CheckButton>
  1120.                                                                         <CheckButton name="CharCreateRaceButton2" inherits="CharCreateRaceButtonTemplate" id="2">
  1121.                                                                                 <Anchors>
  1122.                                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton1" relativePoint="BOTTOMLEFT" x="0" y="-25"/>
  1123.                                                                                 </Anchors>
  1124.                                                                         </CheckButton>
  1125.                                                                         <CheckButton name="CharCreateRaceButton3" inherits="CharCreateRaceButtonTemplate" id="3">
  1126.                                                                                 <Anchors>
  1127.                                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton2" relativePoint="BOTTOMLEFT" x="0" y="-25"/>
  1128.                                                                                 </Anchors>
  1129.                                                                         </CheckButton>
  1130.                                                                         <CheckButton name="CharCreateRaceButton4" inherits="CharCreateRaceButtonTemplate" id="4">
  1131.                                                                                 <Anchors>
  1132.                                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton3" relativePoint="BOTTOMLEFT" x="0" y="-25"/>
  1133.                                                                                 </Anchors>
  1134.                                                                         </CheckButton>
  1135.                                                                         <CheckButton name="CharCreateRaceButton5" inherits="CharCreateRaceButtonTemplate" id="5">
  1136.                                                                                 <Anchors>
  1137.                                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton4" relativePoint="BOTTOMLEFT" x="0" y="-25"/>
  1138.                                                                                 </Anchors>
  1139.                                                                         </CheckButton>
  1140.                                                                         <CheckButton name="CharCreateRaceButton6" inherits="CharCreateRaceButtonTemplate" id="6">
  1141.                                                                                 <Anchors>
  1142.                                                                                         <Anchor point="TOP" relativePoint="TOP" x="43" y="-121"/>
  1143.                                                                                 </Anchors>
  1144.                                                                         </CheckButton>
  1145.                                                                         <CheckButton name="CharCreateRaceButton7" inherits="CharCreateRaceButtonTemplate" id="7">
  1146.                                                                                 <Anchors>
  1147.                                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton6" relativePoint="BOTTOMLEFT" x="0" y="-25"/>
  1148.                                                                                 </Anchors>
  1149.                                                                         </CheckButton>
  1150.                                                                         <CheckButton name="CharCreateRaceButton8" inherits="CharCreateRaceButtonTemplate" id="8">
  1151.                                                                                 <Anchors>
  1152.                                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton7" relativePoint="BOTTOMLEFT" x="0" y="-25"/>
  1153.                                                                                 </Anchors>
  1154.                                                                         </CheckButton>
  1155.                                                                         <CheckButton name="CharCreateRaceButton11" inherits="CharCreateRaceButtonTemplate" id="11">
  1156.                                                                                 <Anchors>
  1157.                                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton8" relativePoint="BOTTOMLEFT" x="0" y="-25"/>
  1158.                                                                                 </Anchors>
  1159.                                                                         </CheckButton>
  1160.                                                                         <CheckButton name="CharCreateRaceButton10" inherits="CharCreateRaceButtonTemplate" id="10">
  1161.                                                                                 <Anchors>
  1162.                                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton9" relativePoint="BOTTOMLEFT" x="0" y="-25"/>
  1163.                                                                                 </Anchors>
  1164.                                                                         </CheckButton>
  1165.                                                                         <CheckButton name="CharCreateRaceButton9" inherits="CharCreateRaceButtonTemplate" id="9">
  1166.                                                                                 <Anchors>
  1167.                                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton9" relativePoint="BOTTOMLEFT" x="15" y="-25"/>
  1168.                                                                                 </Anchors>
  1169.                                                                         </CheckButton>
  1170.                                                                 </Frames>
  1171.                                                         </Frame>
  1172.                                                         <Frame name="CharCreatePandarenFactionFrame" enableMouse="true">
  1173.                                                                 <Size x="243" y="104"/>
  1174.                                                                 <Anchors>
  1175.                                                                         <Anchor point="BOTTOM" x="0" y="-570"/>
  1176.                                                                 </Anchors>
  1177.                                                                 <Layers>
  1178.                                                                         <Layer level="BACKGROUND">
  1179.                                                                                 <Texture file="Interface\Glues\CharacterCreate\Race-Change-BannerCover">
  1180.                                                                                         <Size x="256" y="128"/>
  1181.                                                                                         <Anchors>
  1182.                                                                                                 <Anchor point="BOTTOM" x="0" y="0"/>
  1183.                                                                                         </Anchors>
  1184.                                                                                 </Texture>
  1185.                                                                         </Layer>
  1186.                                                                 </Layers>
  1187.                                                                 <Frames>
  1188.                                                                         <CheckButton name="$parentAllianceButton" inherits="CharCreateRaceButtonTemplate" parentKey="AllianceButton" hidden="true">
  1189.                                                                                 <Anchors>
  1190.                                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton5" relativePoint="BOTTOMLEFT" x="0" y="-42"/>
  1191.                                                                                 </Anchors>
  1192.                                                                                 <Scripts>
  1193.                                                                                         <OnClick function="PandarenFactionButton_OnClick"/>
  1194.                                                                                 </Scripts>
  1195.                                                                         </CheckButton>
  1196.                                                                         <CheckButton name="$parentHordeButton" inherits="CharCreateRaceButtonTemplate" parentKey="HordeButton" hidden="true">
  1197.                                                                                 <Anchors>
  1198.                                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateRaceButton11" relativePoint="BOTTOMLEFT" x="0" y="-42"/>
  1199.                                                                                 </Anchors>
  1200.                                                                                 <Scripts>
  1201.                                                                                         <OnClick function="PandarenFactionButton_OnClick"/>
  1202.                                                                                 </Scripts>
  1203.                                                                         </CheckButton>
  1204.                                                                 </Frames>
  1205.                                                                 <Scripts>
  1206.                                                                         <OnLoad function="PandarenFactionButtons_OnLoad"/>
  1207.                                                                 </Scripts>
  1208.                                                         </Frame>
  1209.                                                         <Frame inherits="CharCreatePanelTemplate" setAllPoints="true">          <!-- top filigree box -->
  1210.                                                                 <Scripts>
  1211.                                                                         <OnLoad>
  1212.                                                                                 CharCreateRaceFrame.factionBg = self.factionBg;
  1213.                                                                         </OnLoad>
  1214.                                                                 </Scripts>
  1215.                                                         </Frame>
  1216.                                                 </Frames>
  1217.                                         </Frame>
  1218.                                         <Frame name="CharCreateClassFrame" inherits="CharCreatePanelTemplate">
  1219.                                                 <Size x="243" y="744"/>
  1220.                                                 <Anchors>
  1221.                                                         <Anchor point="TOPRIGHT" x="117" y="-3"/>
  1222.                                                         <Anchor point="BOTTOMRIGHT" x="117" y="3"/>
  1223.                                                 </Anchors>
  1224.                                                 <Layers>
  1225.                                                         <Layer level="ARTWORK">
  1226.                                                                 <FontString name="CharCreateClassLabel" inherits="FactionName_Shadow_Huge" text="CLASS">
  1227.                                                                         <Anchors>
  1228.                                                                                 <Anchor point="TOP" x="-50" y="-21"/>
  1229.                                                                         </Anchors>
  1230.                                                                         <Color r="1.0" g="0.82" b="0.0"/>
  1231.                                                                 </FontString>
  1232.                                                         </Layer>
  1233.                                                 </Layers>
  1234.                                                 <Frames>
  1235.                                                         <Frame name="CharCreateClassInfoFrame" inherits="CharacterCreateInfoTemplate">
  1236.                                                                 <Anchors>
  1237.                                                                         <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMLEFT" x="-1" y="51"/>
  1238.                                                                 </Anchors>
  1239.                                                         </Frame>
  1240.                                                         <CheckButton name="CharCreateClassButton1" inherits="CharCreateClassButtonTemplate" id="1">
  1241.                                                                 <Anchors>
  1242.                                                                         <Anchor point="TOP" relativeTo="CharCreateClassLabel" relativePoint="BOTTOM" x="0" y="-12"/>
  1243.                                                                 </Anchors>
  1244.                                                         </CheckButton>
  1245.                                                         <CheckButton name="CharCreateClassButton2" inherits="CharCreateClassButtonTemplate" id="2">
  1246.                                                                 <Anchors>
  1247.                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateClassButton1" relativePoint="BOTTOMLEFT" x="0" y="-18"/>
  1248.                                                                 </Anchors>
  1249.                                                         </CheckButton>
  1250.                                                         <CheckButton name="CharCreateClassButton3" inherits="CharCreateClassButtonTemplate" id="3">
  1251.                                                                 <Anchors>
  1252.                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateClassButton2" relativePoint="BOTTOMLEFT" x="0" y="-18"/>
  1253.                                                                 </Anchors>
  1254.                                                         </CheckButton>
  1255.                                                         <CheckButton name="CharCreateClassButton4" inherits="CharCreateClassButtonTemplate" id="4">
  1256.                                                                 <Anchors>
  1257.                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateClassButton3" relativePoint="BOTTOMLEFT" x="0" y="-18"/>
  1258.                                                                 </Anchors>
  1259.                                                         </CheckButton>
  1260.                                                         <CheckButton name="CharCreateClassButton5" inherits="CharCreateClassButtonTemplate" id="5">
  1261.                                                                 <Anchors>
  1262.                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateClassButton4" relativePoint="BOTTOMLEFT" x="0" y="-18"/>
  1263.                                                                 </Anchors>
  1264.                                                         </CheckButton>
  1265.                                                         <CheckButton name="CharCreateClassButton6" inherits="CharCreateClassButtonTemplate" id="6">
  1266.                                                                 <Anchors>
  1267.                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateClassButton5" relativePoint="BOTTOMLEFT" x="0" y="-18"/>
  1268.                                                                 </Anchors>
  1269.                                                         </CheckButton>
  1270.                                                         <CheckButton name="CharCreateClassButton7" inherits="CharCreateClassButtonTemplate" id="7">
  1271.                                                                 <Anchors>
  1272.                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateClassButton6" relativePoint="BOTTOMLEFT" x="0" y="-18"/>
  1273.                                                                 </Anchors>
  1274.                                                         </CheckButton>
  1275.                                                         <CheckButton name="CharCreateClassButton8" inherits="CharCreateClassButtonTemplate" id="8">
  1276.                                                                 <Anchors>
  1277.                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateClassButton7" relativePoint="BOTTOMLEFT" x="0" y="-18"/>
  1278.                                                                 </Anchors>
  1279.                                                         </CheckButton>
  1280.                                                         <CheckButton name="CharCreateClassButton9" inherits="CharCreateClassButtonTemplate" id="9">
  1281.                                                                 <Anchors>
  1282.                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateClassButton8" relativePoint="BOTTOMLEFT" x="0" y="-18"/>
  1283.                                                                 </Anchors>
  1284.                                                         </CheckButton>
  1285.                                                         <CheckButton name="CharCreateClassButton10" inherits="CharCreateClassButtonTemplate" id="10">
  1286.                                                                 <Anchors>
  1287.                                                                         <Anchor point="TOPLEFT" relativeTo="CharCreateClassButton9" relativePoint="BOTTOMLEFT" x="0" y="-18"/>
  1288.                                                                 </Anchors>
  1289.                                                         </CheckButton>
  1290.                                                 </Frames>
  1291.                                         </Frame>
  1292.                                         <Button name="CharCreateMoreInfoButton" inherits="CharCreateNavButtonTemplate" text="CHAR_CREATE_MORE_INFO">
  1293.                                                 <Size x="180" y="62"/>
  1294.                                                 <Anchors>
  1295.                                                         <Anchor point="CENTER" relativeTo="CharCreateRaceFrame" x="0" y="0"/>
  1296.                                                         <Anchor point="BOTTOM" x="0" y="-6"/>
  1297.                                                 </Anchors>
  1298.                                                 <Layers>
  1299.                                                         <Layer level="OVERLAY" textureSubLevel="1">
  1300.                                                                 <Texture name="$parentTopGlow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" hidden="true">
  1301.                                                                         <Size x="117" y="32"/>
  1302.                                                                         <Anchors>
  1303.                                                                                 <Anchor point="TOP" x="0" y="18"/>
  1304.                                                                         </Anchors>
  1305.                                                                         <TexCoords left="0.18750000" right="0.41601563" top="0.89257813" bottom="0.92382813"/>
  1306.                                                                 </Texture>
  1307.                                                                 <Texture name="$parentBottomGlow" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" hidden="true">
  1308.                                                                         <Size x="117" y="32"/>
  1309.                                                                         <Anchors>
  1310.                                                                                 <Anchor point="BOTTOM" x="0" y="-13"/>
  1311.                                                                         </Anchors>
  1312.                                                                         <TexCoords left="0.18750000" right="0.41601563" top="0.92382813" bottom="0.89257813"/>
  1313.                                                                 </Texture>
  1314.                                                         </Layer>
  1315.                                                 </Layers>
  1316.                                                 <Scripts>
  1317.                                                         <OnClick>
  1318.                                                                 PlaySound("igMainMenuOptionCheckBoxOn");
  1319.                                                                 if ( self.infoShown ) then
  1320.                                                                         self.infoShown = nil;
  1321.                                                                         CharCreateMoreInfoButtonTopGlow:Hide();
  1322.                                                                         CharCreateMoreInfoButtonBottomGlow:Hide();
  1323.                                                                         CharCreateRaceInfoFrame:Hide();
  1324.                                                                         CharCreateClassInfoFrame:Hide();
  1325.                                                                 else
  1326.                                                                         self.infoShown = true;
  1327.                                                                         CharCreateMoreInfoButtonTopGlow:Show();
  1328.                                                                         CharCreateMoreInfoButtonBottomGlow:Show();
  1329.                                                                         CharCreateRaceInfoFrame:Show();
  1330.                                                                         CharCreateClassInfoFrame:Show();
  1331.                                                                 end
  1332.                                                         </OnClick>
  1333.                                                 </Scripts>
  1334.                                         </Button>
  1335.                                         <Frame name="CharCreateCustomizationFrame" hidden="true" inherits="CharCreatePanelTemplate">
  1336.                                                 <Size x="243" y="104"/>
  1337.                                                 <Anchors>
  1338.                                                         <Anchor point="TOPLEFT" x="3" y="-3"/>
  1339.                                                 </Anchors>
  1340.                                                 <Scripts>
  1341.                                                         <OnShow>
  1342.                                                                 CharCreateCustomizationFrame_OnShow();
  1343.                                                         </OnShow>
  1344.                                                 </Scripts>
  1345.                                                 <Layers>
  1346.                                                         <Layer level="BACKGROUND">
  1347.                                                                 <Texture name="$parentBanner" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Banner">
  1348.                                                                         <Size x="200" y="308"/>
  1349.                                                                         <TexCoords left="0.109375" right="0.890625" top="0.201171875" bottom="0.80078125"/>
  1350.                                                                         <Anchors>
  1351.                                                                                 <Anchor point="TOP"  x="0" y="18" relativePoint="BOTTOM"/>
  1352.                                                                         </Anchors>
  1353.                                                                 </Texture>
  1354.                                                         </Layer>
  1355.                                                         <Layer level="BACKGROUND" textureSubLevel="1">
  1356.                                                                 <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1357.                                                                         <Size x="143" y="48"/>
  1358.                                                                         <Anchors>
  1359.                                                                                 <Anchor point="TOPLEFT" x="23" y="-84"/>
  1360.                                                                         </Anchors>
  1361.                                                                         <TexCoords left="0.42382813" right="0.703125" top="0.68847656" bottom="0.73535156"/>  
  1362.                                                                 </Texture>
  1363.                                                                 <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1364.                                                                         <Size x="143" y="48"/>
  1365.                                                                         <Anchors>
  1366.                                                                                 <Anchor point="TOPRIGHT" x="-23" y="-84"/>
  1367.                                                                         </Anchors>
  1368.                                                                         <TexCoords left="0.61914063" right="0.89843750" top="0.68847656" bottom="0.73535156"/>
  1369.                                                                 </Texture>
  1370.                                                         </Layer>                                                      
  1371.                                                         <Layer level="ARTWORK">
  1372.                                                                 <FontString name="CharCreateCustomizationLabel" inherits="FactionName_Shadow_Huge" text="CUSTOMIZE_OPTIONS" hidden="true">
  1373.                                                                         <Anchors>
  1374.                                                                                 <Anchor point="TOP" x="0" y="-26"/>
  1375.                                                                         </Anchors>
  1376.                                                                         <Color r="1.0" g="0.82" b="0.0"/>
  1377.                                                                 </FontString>
  1378.                                                         </Layer>
  1379.                                                 </Layers>
  1380.                                                 <Frames>
  1381.                                                         <CheckButton name="CharCreateCustomizationButton1" inherits="CharCreateCustomizationButtonTemplate" id="1">
  1382.                                                                 <Anchors>
  1383.                                                                         <Anchor point="TOP" x="0" y="-101"/>
  1384.                                                                 </Anchors>
  1385.                                                                 <Scripts>
  1386.                                                                         <OnClick>
  1387.                                                                                 CharCustomizeButtonClick(1);
  1388.                                                                         </OnClick>
  1389.                                                                 </Scripts>
  1390.                                                         </CheckButton>
  1391.                                                         <CheckButton name="CharCreateCustomizationButton2" inherits="CharCreateCustomizationButtonTemplate" id="2">
  1392.                                                                 <Anchors>
  1393.                                                                         <Anchor point="TOP" relativeTo="CharCreateCustomizationButton1" relativePoint="BOTTOM" x="0" y="0"/>
  1394.                                                                 </Anchors>
  1395.                                                                 <Scripts>
  1396.                                                                         <OnClick>
  1397.                                                                                 CharCustomizeButtonClick(2);
  1398.                                                                         </OnClick>
  1399.                                                                 </Scripts>
  1400.                                                         </CheckButton>
  1401.                                                         <CheckButton name="CharCreateCustomizationButton3" inherits="CharCreateCustomizationButtonTemplate" id="3">
  1402.                                                                 <Anchors>
  1403.                                                                         <Anchor point="TOP" relativeTo="CharCreateCustomizationButton2" relativePoint="BOTTOM" x="0" y="0"/>
  1404.                                                                 </Anchors>
  1405.                                                                 <Scripts>
  1406.                                                                         <OnClick>
  1407.                                                                                 CharCustomizeButtonClick(3);
  1408.                                                                         </OnClick>
  1409.                                                                 </Scripts>
  1410.                                                         </CheckButton>
  1411.                                                         <CheckButton name="CharCreateCustomizationButton4" inherits="CharCreateCustomizationButtonTemplate" id="4">
  1412.                                                                 <Anchors>
  1413.                                                                         <Anchor point="TOP" relativeTo="CharCreateCustomizationButton3" relativePoint="BOTTOM" x="0" y="0"/>
  1414.                                                                 </Anchors>
  1415.                                                                 <Scripts>
  1416.                                                                         <OnClick>
  1417.                                                                                 CharCustomizeButtonClick(4);
  1418.                                                                         </OnClick>
  1419.                                                                 </Scripts>
  1420.                                                         </CheckButton>
  1421.                                                         <CheckButton name="CharCreateCustomizationButton5" inherits="CharCreateCustomizationButtonTemplate" id="5">
  1422.                                                                 <Anchors>
  1423.                                                                         <Anchor point="TOP" relativeTo="CharCreateCustomizationButton4" relativePoint="BOTTOM" x="0" y="0"/>
  1424.                                                                 </Anchors>
  1425.                                                                 <Scripts>
  1426.                                                                         <OnClick>
  1427.                                                                                 CharCustomizeButtonClick(5);
  1428.                                                                         </OnClick>
  1429.                                                                 </Scripts>
  1430.                                                         </CheckButton>
  1431.                                                         <Button name="CharCreateRandomizeButton" inherits="GlueButtonSmallTemplate" text="RANDOMIZE">
  1432.                                                                 <Size x="146" y="34"/>
  1433.                                                                 <Scripts>
  1434.                                                                         <OnLoad>
  1435.                                                                                 self:SetWidth(self:GetTextWidth() + 50);
  1436.                                                                         </OnLoad>
  1437.                                                                         <OnClick>
  1438.                                                                                 CharacterCreate_Randomize();
  1439.                                                                         </OnClick>
  1440.                                                                         <OnUpdate>
  1441.                                                                                 CharacterCreate_DeathKnightSwap(self);
  1442.                                                                         </OnUpdate>
  1443.                                                                 </Scripts>
  1444.                                                         </Button>
  1445.                                                         <CheckButton name="CharacterCreateAlternateFormTop" hidden="true">
  1446.                                                                 <Size x="82" y="79"/>
  1447.                                                                 <Anchors>
  1448.                                                                         <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPRIGHT" x="-41" y="-106"/>
  1449.                                                                 </Anchors>
  1450.                                                                 <Layers>
  1451.                                                                         <Layer level="BACKGROUND">
  1452.                                                                                 <Texture name="$parentPortrait">
  1453.                                                                                         <Size x="60" y="60"/>  
  1454.                                                                                         <Anchors>
  1455.                                                                                                 <Anchor point="CENTER" x="0" y="-5"/>
  1456.                                                                                         </Anchors>
  1457.                                                                                 </Texture>
  1458.                                                                         </Layer>
  1459.                                                                         <Layer level="OVERLAY">
  1460.                                                                                 <Texture name="$parentTop" file="Interface\Glues\CharacterCreate\AlternateForm">
  1461.                                                                                         <Size x="82" y="79"/>  
  1462.                                                                                         <TexCoords left="0.00781250" right="0.64843750" top="0.00390625" bottom="0.310546875"/>
  1463.                                                                                 </Texture>
  1464.                                                                         </Layer>
  1465.                                                                 </Layers>
  1466.                                                                 <Scripts>
  1467.                                                                         <OnClick>
  1468.                                                                                 CharacterCreateAlternateFormTop:SetChecked(true);
  1469.                                                                                 CharacterCreateAlternateFormBottom:SetChecked(false);                                                                  
  1470.                                                                                 if ( IsViewingAlteredForm() ) then
  1471.                                                                                         PlaySound("gsCharacterCreationClass");
  1472.                                                                                         SetViewingAlteredForm(false);
  1473.                                                                                         CharCreate_PrepPreviewModels(true);
  1474.                                                                                         CharCreate_ResetFeaturesDisplay();
  1475.                                                                                 end
  1476.                                                                         </OnClick>
  1477.                                                                 </Scripts>
  1478.                                                                 <HighlightTexture name="$parentHighlight" file="Interface\Glues\CharacterCreate\AlternateForm" alphaMode="ADD">
  1479.                                                                         <Size x="60" y="60"/>  
  1480.                                                                         <Anchors>
  1481.                                                                                 <Anchor point="CENTER" x="0" y="-5"/>
  1482.                                                                         </Anchors>
  1483.                                                                         <TexCoords left="0.49218750" right="0.96093750" top="0.62890625" bottom="0.86328125"/>
  1484.                                                                 </HighlightTexture>
  1485.                                                                 <CheckedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\AlternateForm" alphaMode="ADD">
  1486.                                                                         <Size x="60" y="60"/>  
  1487.                                                                         <Anchors>
  1488.                                                                                 <Anchor point="CENTER" x="0" y="-5"/>
  1489.                                                                         </Anchors>
  1490.                                                                         <TexCoords left="0.00781250" right="0.47656250" top="0.62890625" bottom="0.86328125"/>
  1491.                                                                 </CheckedTexture>
  1492.                                                         </CheckButton>
  1493.                                                         <CheckButton name="CharacterCreateAlternateFormBottom" hidden="true">
  1494.                                                                 <Size x="82" y="79"/>
  1495.                                                                 <Anchors>
  1496.                                                                         <Anchor point="TOPLEFT" relativeTo="CharacterCreateAlternateFormTop" relativePoint="BOTTOMLEFT" x="0" y="0"/>
  1497.                                                                 </Anchors>
  1498.                                                                 <Layers>
  1499.                                                                         <Layer level="BACKGROUND">
  1500.                                                                                 <Texture name="$parentPortrait">
  1501.                                                                                         <Size x="60" y="60"/>  
  1502.                                                                                         <Anchors>
  1503.                                                                                                 <Anchor point="CENTER" x="0" y="1"/>
  1504.                                                                                         </Anchors>
  1505.                                                                                 </Texture>
  1506.                                                                         </Layer>
  1507.                                                                         <Layer level="OVERLAY">
  1508.                                                                                 <Texture name="Bottom" file="Interface\Glues\CharacterCreate\AlternateForm">
  1509.                                                                                         <Size x="82" y="158"/>
  1510.                                                                                         <TexCoords left="0.00781250" right="0.64843750" top="0.310546875" bottom="0.62109375"/>
  1511.                                                                                 </Texture>
  1512.                                                                         </Layer>
  1513.                                                                 </Layers>
  1514.                                                                 <Scripts>
  1515.                                                                         <OnClick>
  1516.                                                                                 CharacterCreateAlternateFormTop:SetChecked(false);
  1517.                                                                                 CharacterCreateAlternateFormBottom:SetChecked(true);                                                                  
  1518.                                                                                 if ( not IsViewingAlteredForm() ) then
  1519.                                                                                         PlaySound("gsCharacterCreationClass");
  1520.                                                                                         SetViewingAlteredForm(true);
  1521.                                                                                         CharCreate_PrepPreviewModels(true);
  1522.                                                                                         CharCreate_ResetFeaturesDisplay();
  1523.                                                                                 end
  1524.                                                                         </OnClick>
  1525.                                                                 </Scripts>
  1526.                                                                 <HighlightTexture name="$parentHighlight" file="Interface\Glues\CharacterCreate\AlternateForm" alphaMode="ADD">
  1527.                                                                         <Size x="60" y="60"/>  
  1528.                                                                         <Anchors>
  1529.                                                                                 <Anchor point="CENTER" x="0" y="1"/>
  1530.                                                                         </Anchors>
  1531.                                                                         <TexCoords left="0.49218750" right="0.96093750" top="0.62890625" bottom="0.86328125"/>
  1532.                                                                 </HighlightTexture>
  1533.                                                                 <CheckedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\AlternateForm" alphaMode="ADD">
  1534.                                                                         <Size x="60" y="60"/>  
  1535.                                                                         <Anchors>
  1536.                                                                                 <Anchor point="CENTER" x="0" y="1"/>
  1537.                                                                         </Anchors>
  1538.                                                                         <TexCoords left="0.00781250" right="0.47656250" top="0.62890625" bottom="0.86328125"/>
  1539.                                                                 </CheckedTexture>
  1540.                                                         </CheckButton>
  1541.                                                 </Frames>
  1542.                                         </Frame>
  1543.                                         <Frame name="CharCreatePreviewFrame" hidden="true">
  1544.                                                 <Size x="243" y="682"/>
  1545.                                                 <Anchors>
  1546.                                                         <Anchor point="RIGHT" x="77" y="0"/>
  1547.                                                 </Anchors>
  1548.                                                 <Layers>
  1549.                                                         <Layer level="BACKGROUND">
  1550.                                                                 <Texture parentKey="factionBg">
  1551.                                                                         <Anchors>
  1552.                                                                                 <Anchor point="TOPLEFT" x="8" y="-10"/>
  1553.                                                                                 <Anchor point="BOTTOMRIGHT" x="-8" y="10"/>
  1554.                                                                         </Anchors>
  1555.                                                                         <Color r="1" g="1" b="1" a="0.75"/>
  1556.                                                                         <Gradient orientation="VERTICAL">
  1557.                                                                                 <MaxColor r="0.2" g="0" b="0"/>
  1558.                                                                                 <MinColor r="0" g="0" b="0"/>
  1559.                                                                         </Gradient>
  1560.                                                                 </Texture>
  1561.                                                         </Layer>
  1562.                                                 </Layers>
  1563.                                                 <Frames>
  1564.                                                         <Button name="CharCreateStyleUpButton" inherits="CharCreateChangeStyleButtonTemplate">
  1565.                                                                 <Anchors>
  1566.                                                                         <Anchor point="BOTTOM" relativePoint="TOP" x="-28" y="-17"/>
  1567.                                                                 </Anchors>
  1568.                                                                 <Scripts>
  1569.                                                                         <OnLoad>
  1570.                                                                                 --SetClampedTextureRotation(self.arrow, 90);
  1571.                                                                         </OnLoad>
  1572.                                                                         <OnMouseDown>
  1573.                                                                                 CharCreate_ChangeFeatureVariation(-1);
  1574.                                                                                 CharacterCreateWhileMouseDown_OnMouseDown(-1);
  1575.                                                                         </OnMouseDown>
  1576.                                                                         <OnMouseUp>
  1577.                                                                                 CharacterCreateWhileMouseDown_OnMouseUp()
  1578.                                                                         </OnMouseUp>
  1579.                                                                 </Scripts>
  1580.                                                         </Button>
  1581.                                                         <Button name="CharCreateStyleDownButton" inherits="CharCreateChangeStyleButtonTemplate">
  1582.                                                                 <Anchors>
  1583.                                                                         <Anchor point="TOP" relativePoint="BOTTOM" x="-28" y="10"/>
  1584.                                                                 </Anchors>
  1585.                                                                 <Scripts>
  1586.                                                                         <OnLoad>
  1587.                                                                                 --SetClampedTextureRotation(self.arrow, 270);
  1588.                                                                         </OnLoad>
  1589.                                                                         <OnMouseDown>
  1590.                                                                                 CharCreate_ChangeFeatureVariation(1);
  1591.                                                                                 CharacterCreateWhileMouseDown_OnMouseDown(1);
  1592.                                                                         </OnMouseDown>
  1593.                                                                         <OnMouseUp>
  1594.                                                                                 CharacterCreateWhileMouseDown_OnMouseUp()
  1595.                                                                         </OnMouseUp>
  1596.                                                                 </Scripts>
  1597.                                                         </Button>
  1598.                                                         <ScrollFrame parentKey="scrollFrame">
  1599.                                                                 <Size x="180" y="0"/>
  1600.                                                                 <Anchors>
  1601.                                                                         <Anchor point="TOPLEFT" x="8" y="-14"/>
  1602.                                                                         <Anchor point="BOTTOMLEFT" x="8" y="12"/>
  1603.                                                                 </Anchors>
  1604.                                                                 <Layers>
  1605.                                                                         <Layer level="BACKGROUND">
  1606.                                                                                 <Texture setAllPoints="true">
  1607.                                                                                         <Color r="0" g="1" b="0" a="0"/>
  1608.                                                                                 </Texture>
  1609.                                                                         </Layer>
  1610.                                                                 </Layers>
  1611.                                                                 <ScrollChild>
  1612.                                                                         <Frame parentKey="container">
  1613.                                                                                 <Size x="10" y="10"/>
  1614.                                                                                 <Anchors>
  1615.                                                                                         <Anchor point="TOPLEFT"/>
  1616.                                                                                 </Anchors>
  1617.                                                                         </Frame>
  1618.                                                                 </ScrollChild>
  1619.                                                         </ScrollFrame>
  1620.                                                         <Frame setAllPoints="true" parentKey="border" frameStrata="HIGH">
  1621.                                                                 <Layers>
  1622.                                                                         <Layer level="BORDER">
  1623.                                                                                 <Texture name="$parentTopEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1624.                                                                                         <Size x="183" y="48"/>
  1625.                                                                                         <Anchors>
  1626.                                                                                                 <Anchor point="TOPLEFT"/>
  1627.                                                                                         </Anchors>
  1628.                                                                                         <TexCoords left="0.42382813" right="0.78125" top="0.68847656" bottom="0.73535156"/>    
  1629.                                                                                 </Texture>
  1630.                                                                                 <Texture name="$parentBottomEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1631.                                                                                         <Size x="183" y="46"/>
  1632.                                                                                         <Anchors>
  1633.                                                                                                 <Anchor point="BOTTOMLEFT"/>
  1634.                                                                                         </Anchors>
  1635.                                                                                         <TexCoords left="0.42382813" right="0.78125" top="0.73730469" bottom="0.78222656"/>    
  1636.                                                                                 </Texture>
  1637.                                                                                 <Texture name="$parentTopEdge2" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1638.                                                                                         <Size x="50" y="48"/>
  1639.                                                                                         <Anchors>
  1640.                                                                                                 <Anchor point="LEFT" relativeTo="$parentTopEdge" relativePoint="RIGHT"/>
  1641.                                                                                         </Anchors>
  1642.                                                                                         <TexCoords left="0.72265625" right="0.8203125" top="0.68847656" bottom="0.73535156"/>  
  1643.                                                                                 </Texture>
  1644.                                                                                 <Texture name="$parentBottomEdge2" file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk">
  1645.                                                                                         <Size x="50" y="46"/>
  1646.                                                                                         <Anchors>
  1647.                                                                                                 <Anchor point="LEFT" relativeTo="$parentBottomEdge" relativePoint="RIGHT"/>
  1648.                                                                                         </Anchors>
  1649.                                                                                         <TexCoords left="0.72265625" right="0.8203125" top="0.73730469" bottom="0.78222656"/>  
  1650.                                                                                 </Texture>
  1651.                                                                         </Layer>
  1652.                                                                         <Layer level="BORDER" textureSubLevel="-1">
  1653.                                                                                 <Texture name="$parentLeftEdge" file="Interface\Glues\CharacterCreate\Frame-Sides">
  1654.                                                                                         <Size x="16" y="0"/>
  1655.                                                                                         <Anchors>
  1656.                                                                                                 <Anchor point="TOPLEFT" relativeTo="$parentTopEdge" relativePoint="BOTTOMLEFT" x="0" y="10"/>
  1657.                                                                                                 <Anchor point="BOTTOMLEFT" relativeTo="$parentBottomEdge" relativePoint="TOPLEFT" x="0" y="-10"/>
  1658.                                                                                         </Anchors>
  1659.                                                                                         <TexCoords left="0.5" right="1" top="0" bottom="1"/>
  1660.                                                                                 </Texture>
  1661.                                                                         </Layer>
  1662.                                                                         <Layer level="ARTWORK">
  1663.                                                                                 <Texture file="Interface\Glues\CharacterCreate\CharacterCreate-Arrow" parentKey="arrow">
  1664.                                                                                         <Anchors>
  1665.                                                                                                 <Anchor point="RIGHT" relativePoint="LEFT" x="33" y="-4"/>
  1666.                                                                                         </Anchors>
  1667.                                                                                 </Texture>
  1668.                                                                         </Layer>
  1669.                                                                         <Layer level="OVERLAY">
  1670.                                                                                 <FontString inherits="GlueFontNormalSmall" parentKey="number" text="8">
  1671.                                                                                         <Anchors>
  1672.                                                                                                 <Anchor point="CENTER" relativeKey="$parent.arrow" x="7" y="1"/>
  1673.                                                                                         </Anchors>
  1674.                                                                                 </FontString>
  1675.                                                                                 <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreatePatchwerk" alphaMode="ADD"> <!-- selection border -->
  1676.                                                                                         <Size x="146" y="136"/>
  1677.                                                                                         <Anchors>
  1678.                                                                                                 <Anchor point="TOPLEFT" x="20" y="-273"/>
  1679.                                                                                         </Anchors>
  1680.                                                                                         <TexCoords left="0.41601563" right="0.63085938" top="0.43359375" bottom="0.53515625"/>
  1681.                                                                                 </Texture>
  1682.                                                                         </Layer>
  1683.                                                                 </Layers>
  1684.                                                         </Frame>
  1685.                                                 </Frames>
  1686.                                                 <Scripts>
  1687.                                                         <OnUpdate function="CharCreatePreviewFrame_OnUpdate"/>
  1688.                                                         <OnHide>
  1689.                                                                 CharCreatePreviewFrame_StopAnimating();
  1690.                                                         </OnHide>
  1691.                                                 </Scripts>
  1692.                                         </Frame>
  1693.                                         <CheckButton name="CharCreateMaleButton" inherits="CharacterCreateGenderButtonTemplate" frameStrata="HIGH">
  1694.                                                 <Anchors>
  1695.                                                         <Anchor point="TOPLEFT" x="75" y="-48"/>
  1696.                                                 </Anchors>
  1697.                                                 <Layers>
  1698.                                                         <Layer level="ARTWORK">
  1699.                                                                 <FontString name="CharCreateGenderLabel" inherits="FactionName_Shadow_Huge" text="GENDER">
  1700.                                                                         <Anchors>
  1701.                                                                                 <Anchor point="TOP" x="30" y="24"/>
  1702.                                                                         </Anchors>
  1703.                                                                         <Color r="1.0" g="0.82" b="0.0"/>
  1704.                                                                 </FontString>
  1705.                                                         </Layer>
  1706.                                                 </Layers>
  1707.                                                 <Scripts>
  1708.                                                         <OnLoad>
  1709.                                                                 _G[self:GetName().."NormalTexture"]:SetTexCoord(0, 0.5, 0, 1.0);
  1710.                                                                 _G[self:GetName().."PushedTexture"]:SetTexCoord(0, 0.5, 0, 1.0);
  1711.                                                         </OnLoad>
  1712.                                                         <OnClick>
  1713.                                                                 PlaySound("gsCharacterCreationClass");
  1714.                                                                 if ( GetSelectedSex() ~= SEX_MALE ) then
  1715.                                                                         SetCharacterGender(SEX_MALE);
  1716.                                                                 else
  1717.                                                                         self:SetChecked(1);
  1718.                                                                 end
  1719.                                                         </OnClick>
  1720.                                                         <OnEnter>
  1721.                                                                 --CharacterCreateTooltip:SetOwner(self, -3, -5);
  1722.                                                                 --CharacterCreateTooltip:SetText(MALE);
  1723.                                                         </OnEnter>
  1724.                                                 </Scripts>
  1725.                                         </CheckButton>
  1726.                                         <CheckButton name="CharCreateFemaleButton" inherits="CharacterCreateGenderButtonTemplate" frameStrata="HIGH">
  1727.                                                 <Anchors>
  1728.                                                         <Anchor point="TOPLEFT" x="135" y="-48"/>
  1729.                                                 </Anchors>
  1730.                                                 <Scripts>
  1731.                                                         <OnLoad>
  1732.                                                                 _G[self:GetName().."NormalTexture"]:SetTexCoord(0.5, 1.0, 0, 1.0);
  1733.                                                                 _G[self:GetName().."PushedTexture"]:SetTexCoord(0.5, 1.0, 0, 1.0);
  1734.                                                         </OnLoad>
  1735.                                                         <OnClick>
  1736.                                                                 PlaySound("gsCharacterCreationClass");
  1737.                                                                 if ( GetSelectedSex() ~= SEX_FEMALE and _G["CharCreateRaceButton6"]:GetChecked() ~= 1 ) then
  1738.                                                                         SetCharacterGender(SEX_FEMALE);
  1739.                                                                 elseif ( _G["CharCreateRaceButton6"]:GetChecked() ~= 1 ) then
  1740.                                                                         self:SetChecked(1);
  1741.                                                                 end
  1742.                                                         </OnClick>
  1743.                                                         <OnEnter>
  1744.                                                                 --CharacterCreateTooltip:SetOwner(self, -3, -5);
  1745.                                                                 --CharacterCreateTooltip:SetText(FEMALE);
  1746.                                                         </OnEnter>
  1747.                                                 </Scripts>
  1748.                                         </CheckButton>
  1749.                                 </Frames>
  1750.                                 <Scripts>
  1751.                                         <OnMouseDown>
  1752.                                                 CharacterCreateFrame_OnMouseDown(button);
  1753.                                         </OnMouseDown>
  1754.                                         <OnMouseUp>
  1755.                                                 CharacterCreateFrame_OnMouseUp(button);
  1756.                                         </OnMouseUp>
  1757.                                         <OnUpdate>
  1758.                                                 CharacterCreateFrame_OnUpdate(self, elapsed);
  1759.                                         </OnUpdate>
  1760.                                         <OnMouseWheel>
  1761.                                                 if ( CharCreatePreviewFrame:IsShown() ) then
  1762.                                                         CharCreate_ChangeFeatureVariation(delta * -1);
  1763.                                                 end
  1764.                                         </OnMouseWheel>
  1765.                                 </Scripts>
  1766.                         </Frame>
  1767.                 </Frames>
  1768.                 <Scripts>
  1769.                         <OnLoad>
  1770.                                 CharacterCreate_OnLoad(self);
  1771.                         </OnLoad>
  1772.                         <OnShow>
  1773.                                 CharacterCreate_OnShow();
  1774.                         </OnShow>
  1775.                         <OnHide>
  1776.                                 CharacterCreate_OnHide();
  1777.                         </OnHide>
  1778.                         <OnEvent>
  1779.                                 CharacterCreate_OnEvent(event, ...);
  1780.                         </OnEvent>
  1781.                         <OnChar>
  1782.                                 CharacterCreate_OnChar();
  1783.                         </OnChar>
  1784.                         <OnKeyDown>
  1785.                                 CharacterCreate_OnKeyDown(key);
  1786.                         </OnKeyDown>
  1787.                         <OnUpdateModel>
  1788.                                 CharacterCreate_UpdateModel(self);
  1789.                         </OnUpdateModel>
  1790.                 </Scripts>
  1791.         </ModelFFX>
  1792.        
  1793.         <Frame name="CharacterTemplateConfirmDialog" toplevel="true" parent="GlueParent" setAllPoints="true" enableMouse="true" enableKeyboard="true" frameStrata="DIALOG" hidden="true">
  1794.                 <Frames>
  1795.                         <Frame name="$parentContents">
  1796.                                 <Size x="512" y="120"/>
  1797.                                 <Anchors>
  1798.                                         <Anchor point="CENTER" x="0" y="0"/>
  1799.                                 </Anchors>
  1800.                                 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
  1801.                                         <BackgroundInsets>
  1802.                                                 <AbsInset left="11" right="12" top="12" bottom="11"/>
  1803.                                         </BackgroundInsets>
  1804.                                         <TileSize>
  1805.                                                 <AbsValue val="32"/>
  1806.                                         </TileSize>
  1807.                                         <EdgeSize>
  1808.                                                 <AbsValue val="32"/>
  1809.                                         </EdgeSize>
  1810.                                 </Backdrop>
  1811.                                 <Layers>
  1812.                                         <Layer level="ARTWORK">
  1813.                                                 <Texture file="Interface\DialogFrame\UI-Dialog-Icon-AlertNew">
  1814.                                                         <Size x="48" y="48"/>
  1815.                                                         <Anchors>
  1816.                                                                 <Anchor point="LEFT" x="24" y="16"/>
  1817.                                                         </Anchors>
  1818.                                                 </Texture>
  1819.                                                 <FontString inherits="GlueFontNormalLarge" text="TEMPLATE_CHARACTER_CHOOSE_FACTION">
  1820.                                                         <Size>
  1821.                                                                 <AbsDimension x="400" y="0"/>
  1822.                                                         </Size>
  1823.                                                         <Anchors>
  1824.                                                                 <Anchor point="TOP" x="0" y="-26"/>
  1825.                                                         </Anchors>
  1826.                                                 </FontString>
  1827.                                         </Layer>
  1828.                                 </Layers>
  1829.                                 <Frames>
  1830.                                         <Button name="$parentButton2" inherits="GlueDialogButtonTemplate" text="HORDE">
  1831.                                                 <Size x="150" y="40"/>
  1832.                                                 <Anchors>
  1833.                                                         <Anchor point="BOTTOM" x="0" y="12"/>
  1834.                                                 </Anchors>
  1835.                                                 <Scripts>
  1836.                                                         <OnClick>
  1837.                                                                 CharacterTemplateConfirmDialog:Hide();
  1838.                                                                 CreateCharacter(CharacterCreateNameEdit:GetText(), 0);
  1839.                                                         </OnClick>
  1840.                                                         <OnUpdate>
  1841.                                                                 CharacterSelect_DeathKnightSwap(self);
  1842.                                                         </OnUpdate>
  1843.                                                 </Scripts>
  1844.                                         </Button>
  1845.                                         <Button name="$parentButton1" inherits="GlueDialogButtonTemplate" text="ALLIANCE">
  1846.                                                 <Size x="150" y="40"/>
  1847.                                                 <Anchors>
  1848.                                                         <Anchor point="RIGHT" relativeTo="$parentButton2" relativePoint="LEFT" x="-6" y="0"/>
  1849.                                                 </Anchors>
  1850.                                                 <Scripts>
  1851.                                                         <OnClick>
  1852.                                                                 CharacterTemplateConfirmDialog:Hide();
  1853.                                                                 CreateCharacter(CharacterCreateNameEdit:GetText(), 1);
  1854.                                                         </OnClick>
  1855.                                                         <OnUpdate>
  1856.                                                                 CharacterSelect_DeathKnightSwap(self);
  1857.                                                         </OnUpdate>
  1858.                                                 </Scripts>
  1859.                                         </Button>
  1860.                                         <Button name="$parentButton3" inherits="GlueDialogButtonTemplate" text="CANCEL">
  1861.                                                 <Size x="150" y="40"/>
  1862.                                                 <Anchors>
  1863.                                                         <Anchor point="LEFT" relativeTo="$parentButton2" relativePoint="RIGHT" x="6" y="0"/>
  1864.                                                 </Anchors>
  1865.                                                 <Scripts>
  1866.                                                         <OnClick>
  1867.                                                                 CharacterTemplateConfirmDialog:Hide();
  1868.                                                                 PlaySound("gsTitleOptionExit");
  1869.                                                         </OnClick>
  1870.                                                         <OnUpdate>
  1871.                                                                 CharacterSelect_DeathKnightSwap(self);
  1872.                                                         </OnUpdate>
  1873.                                                 </Scripts>
  1874.                                         </Button>
  1875.                                 </Frames>
  1876.                         </Frame>
  1877.                 </Frames>
  1878.                 <Scripts>
  1879.                         <OnChar>
  1880.                                 -- block keys
  1881.                         </OnChar>
  1882.                         <OnKeyDown>
  1883.                                 -- block keys
  1884.                         </OnKeyDown>
  1885.                 </Scripts>
  1886.         </Frame>
  1887. </Ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement