Advertisement
Guest User

Untitled

a guest
Mar 13th, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 32.52 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.     <Script file="CharacterCreate.lua"/>
  4.     <Frame name="CharacterCreateTooltip" frameStrata="TOOLTIP" hidden="true" parent="GlueParent" inherits="GlueTooltipTemplate">
  5.         <Scripts>
  6.             <OnLoad>
  7.                 GlueTooltip_SetFont(self, CharacterCreateTooltipFont);
  8.                 self:SetBackdropBorderColor(1.0, 1.0, 1.0);
  9.                 self:SetBackdropColor(0.09, 0.09, 0.19 );
  10.             </OnLoad>
  11.         </Scripts>
  12.     </Frame>
  13.     <CheckButton name="CharacterCreateIconButtonTemplate" virtual="true" motionScriptsWhileDisabled="true">
  14.         <Size x="38" y="38"/>
  15.         <Layers>
  16.             <Layer level="BACKGROUND">
  17.                 <Texture name="$parentShadow" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-IconShadow">
  18.                     <Size x="58" y="58"/>
  19.                     <Anchors>
  20.                         <Anchor point="CENTER" x="0" y="0"/>
  21.                     </Anchors>
  22.                     <Color r="1.0" g="1.0" b="1.0" a="0.85"/>
  23.                 </Texture>
  24.             </Layer>
  25.             <Layer level="OVERLAY">
  26.                 <Texture name="$parentBevelEdge" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Highlights">
  27.                     <Size x="38" y="38"/>
  28.                     <Anchors>
  29.                         <Anchor point="CENTER" x="0" y="0"/>
  30.                     </Anchors>
  31.                     <TexCoords left="0" right="0.5" top="0.5" bottom="1.0"/>
  32.                 </Texture>
  33.                 <Texture name="$parentDisableTexture" hidden="true">
  34.                     <Size x="38" y="38"/>
  35.                     <Anchors>
  36.                         <Anchor point="CENTER" x="0" y="0"/>
  37.                     </Anchors>
  38.                     <Color r="0.0" g="0.0" b="0.0" a="0.75"/>
  39.                 </Texture>
  40.             </Layer>
  41.         </Layers>
  42.         <Scripts>
  43.             <OnMouseDown>
  44.                 if( self:IsEnabled() == 1 ) then
  45.                     _G[self:GetName().."BevelEdge"]:SetPoint("CENTER", self, "CENTER", 2, -2);
  46.                     _G[self:GetName().."Shadow"]:SetSize(52, 52);
  47.                 end
  48.             </OnMouseDown>
  49.             <OnMouseUp>
  50.                 if( self:IsEnabled() == 1 ) then
  51.                     _G[self:GetName().."BevelEdge"]:SetPoint("CENTER", self, "CENTER", 0, 0);
  52.                     _G[self:GetName().."Shadow"]:SetSize(58, 58);
  53.                 end
  54.             </OnMouseUp>
  55.         </Scripts>
  56.         <HighlightTexture file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Highlights" alphaMode="ADD">
  57.             <TexCoords left="0" right="0.5" top="0" bottom="0.5"/>
  58.         </HighlightTexture>
  59.         <CheckedTexture file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Highlights" alphaMode="ADD">
  60.             <TexCoords left="0.5" right="1" top="0" bottom="0.5"/>
  61.         </CheckedTexture>
  62.     </CheckButton>
  63.     <CheckButton name="CharacterCreateRaceButtonTemplate" inherits="CharacterCreateIconButtonTemplate" virtual="true">
  64.         <Layers>
  65.             <Layer level="ARTWORK">
  66.                 <FontString name="$parentText" inherits="GlueFontNormalSmall">
  67.                     <Anchors>
  68.                         <Anchor point="BOTTOM" relativePoint="TOP" x="0" y="2"/>
  69.                     </Anchors>
  70.                 </FontString>
  71.             </Layer>
  72.         </Layers>
  73.         <Scripts>
  74.             <OnClick>
  75.                 if( self.enable ) then
  76.                     CharacterRace_OnClick(self, self:GetID());
  77.                     CharacterCreateTooltip:Hide();
  78.                 end
  79.             </OnClick>
  80.             <OnEnter>
  81.                 GlueTooltip_SetOwner(self, CharacterCreateTooltip, -3, -5);
  82.                 GlueTooltip_SetText(self.tooltip, CharacterCreateTooltip);
  83.             </OnEnter>
  84.             <OnLeave>
  85.                 CharacterCreateTooltip:Hide();
  86.             </OnLeave>
  87.         </Scripts>
  88.         <NormalTexture name="$parentNormalTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Races"/>
  89.         <PushedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Races">
  90.             <Size x="38" y="38"/>
  91.             <Anchors>
  92.                 <Anchor point="CENTER" x="2" y="-2"/>
  93.             </Anchors>
  94.         </PushedTexture>
  95.     </CheckButton>
  96.     <CheckButton name="CharacterCreateClassButtonTemplate" inherits="CharacterCreateIconButtonTemplate" virtual="true">
  97.         <Scripts>
  98.             <OnClick>
  99.                 if( self.enable ) then
  100.                     CharacterClass_OnClick(self:GetID());  
  101.                     CharacterCreateTooltip:Hide();
  102.                 end
  103.             </OnClick>
  104.             <OnEnter>
  105.                 GlueTooltip_SetOwner(self, CharacterCreateTooltip, -3, -5);
  106.                 GlueTooltip_SetText(self.tooltip, CharacterCreateTooltip);
  107.             </OnEnter>
  108.             <OnLeave>
  109.                 CharacterCreateTooltip:Hide();
  110.             </OnLeave>
  111.         </Scripts>
  112.         <NormalTexture name="$parentNormalTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes"/>
  113.         <PushedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes">
  114.             <Size x="38" y="38"/>
  115.             <Anchors>
  116.                 <Anchor point="CENTER" x="2" y="-2"/>
  117.             </Anchors>
  118.         </PushedTexture>
  119.     </CheckButton>
  120.     <CheckButton name="CharacterCreateGenderButtonTemplate" inherits="CharacterCreateIconButtonTemplate" virtual="true">
  121.         <Scripts>
  122.             <OnLeave>
  123.                 CharacterCreateTooltip:Hide();
  124.             </OnLeave>
  125.         </Scripts>
  126.         <NormalTexture name="$parentNormalTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Gender"/>
  127.         <PushedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Gender">
  128.             <Size x="38" y="38"/>
  129.             <Anchors>
  130.                 <Anchor point="CENTER" x="2" y="-2"/>
  131.             </Anchors>
  132.         </PushedTexture>
  133.     </CheckButton>
  134.     <Frame name="CharacterCustomizationFrameTemplate" virtual="true">
  135.         <Size>
  136.             <AbsDimension x="230" y="32"/>
  137.         </Size>
  138.         <Layers>
  139.             <Layer level="BACKGROUND">
  140.                 <Texture name="$parentLeft" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
  141.                     <Size x="25" y="64"/>
  142.                     <Anchors>
  143.                         <Anchor point="LEFT" x="-5" y="0"/>
  144.                     </Anchors>
  145.                     <TexCoords left="0" right="0.1953125" top="0" bottom="1"/>
  146.                 </Texture>
  147.                 <Texture name="$parentRight" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
  148.                     <Size x="25" y="64"/>
  149.                     <Anchors>
  150.                         <Anchor point="RIGHT" x="-44" y="0"/>
  151.                     </Anchors>
  152.                     <TexCoords left="0.8046875" right="1" top="0" bottom="1"/>
  153.                 </Texture>
  154.                 <Texture name="$parentMiddle" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
  155.                     <Size x="40" y="64"/>
  156.                     <Anchors>
  157.                         <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
  158.                         <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/>
  159.                     </Anchors>
  160.                     <TexCoords left="0.1953125" right="0.8046875" top="0" bottom="1"/>
  161.                 </Texture>
  162.                 <FontString name="$parentText" inherits="GlueFontHighlightSmall">
  163.                     <Anchors>
  164.                         <Anchor point="CENTER" relativeTo="$parentMiddle" x="0" y="2"/>
  165.                     </Anchors>
  166.                 </FontString>
  167.             </Layer>
  168.         </Layers>
  169.         <Frames>
  170.             <Button name="$parentRightButton">
  171.                 <Size x="32" y="32"/>
  172.                 <Anchors>
  173.                     <Anchor point="RIGHT"/>
  174.                 </Anchors>
  175.                 <Scripts>
  176.                     <OnClick>
  177.                         CharacterCustomization_Right(self:GetParent():GetID());
  178.                     </OnClick>
  179.                 </Scripts>
  180.                 <NormalTexture file="Interface\Glues\Common\Glue-RightArrow-Button-Up"/>
  181.                 <PushedTexture file="Interface\Glues\Common\Glue-RightArrow-Button-Down"/>
  182.                 <HighlightTexture file="Interface\Glues\Common\Glue-RightArrow-Button-Highlight" alphaMode="ADD"/>
  183.             </Button>
  184.             <Button name="$parentLeftButton">
  185.                 <Size x="32" y="32"/>
  186.                 <Anchors>
  187.                     <Anchor point="RIGHT" relativeTo="$parentRightButton" relativePoint="LEFT" x="3" y="0"/>
  188.                 </Anchors>
  189.                 <Scripts>
  190.                     <OnClick>
  191.                         CharacterCustomization_Left(self:GetParent():GetID());
  192.                     </OnClick>
  193.                 </Scripts>
  194.                 <NormalTexture file="Interface\Glues\Common\Glue-LeftArrow-Button-Up"/>
  195.                 <PushedTexture file="Interface\Glues\Common\Glue-LeftArrow-Button-Down"/>
  196.                 <HighlightTexture file="Interface\Glues\Common\Glue-LeftArrow-Button-Highlight" alphaMode="ADD"/>
  197.             </Button>
  198.         </Frames>
  199.     </Frame>
  200.     <ModelFFX name="CharacterCreate" toplevel="true" parent="GlueParent" setAllPoints="true" enableKeyboard="true" hidden="true">
  201.         <Frames>
  202.             <Frame name="CharacterCreateFrame" setAllPoints="true" enableMouse="true">
  203.                 <Frames>
  204.                     <Frame name="CharacterCreateWoWLogo">
  205.                         <Size x="256" y="128"/>
  206.                         <Anchors>
  207.                             <Anchor point="TOPRIGHT" x="-9" y="0"/>
  208.                         </Anchors>
  209.                         <Layers>
  210.                             <Layer level="ARTWORK">
  211.                                 <Texture name="CharacterCreateLogo" file="Interface\Glues\Common\Glues-WoW-WotLKLogo">
  212.                                     <Size x="256" y="128"/>
  213.                                     <Anchors>
  214.                                         <Anchor point="TOP" relativePoint="TOPLEFT" x="128" y="0"/>
  215.                                     </Anchors>
  216.                                 </Texture>
  217.                             </Layer>
  218.                         </Layers>
  219.                     </Frame>
  220.                     <Frame name="CharacterCreateCharacterRace">
  221.                         <Size x="267" y="287"/>
  222.                         <Anchors>
  223.                             <Anchor point="TOP" relativeTo="CharacterCreateWoWLogo" relativePoint="BOTTOM" x="-5" y="5"/>
  224.                         </Anchors>
  225.                         <Layers>
  226.                             <Layer level="BORDER">
  227.                                 <Texture name="CharacterCreateRaceIcon" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-RacesRound">
  228.                                     <Size x="48" y="48"/>
  229.                                     <Anchors>
  230.                                         <Anchor point="TOPLEFT" x="4" y="-4"/>
  231.                                     </Anchors>
  232.                                     <TexCoords left="0" right="0.375" top="0" bottom="0.75"/>
  233.                                 </Texture>
  234.                             </Layer>
  235.                             <Layer level="ARTWORK">
  236.                                 <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreate-InfoBox" setAllPoints="true">
  237.                                     <TexCoords left="0.005859375" right="0.52734375" top="0.005859375" bottom="0.56640625"/>
  238.                                 </Texture>
  239.                             </Layer>
  240.                             <Layer level="OVERLAY">
  241.                                 <FontString name="CharacterCreateRaceLabel" inherits="FactionName_Shadow_Huge" justifyH="LEFT" text="RACE">
  242.                                     <Size x="220" y="0"/>
  243.                                     <Anchors>
  244.                                         <Anchor point="TOP" x="40" y="-10"/>
  245.                                     </Anchors>
  246.                                 </FontString>
  247.                             </Layer>
  248.                         </Layers>
  249.                         <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background">
  250.                             <BackgroundInsets>
  251.                                 <AbsInset left="12" right="3" top="20" bottom="6"/>
  252.                             </BackgroundInsets>
  253.                         </Backdrop>
  254.                         <Frames>
  255.                             <ScrollFrame name="CharacterCreateRaceScrollFrame" inherits="GlueScrollFrameTemplate">
  256.                                 <Size x="220" y="220"/>
  257.                                 <Anchors>
  258.                                     <Anchor point="TOPLEFT" x="20" y="-55"/>
  259.                                 </Anchors>
  260.                                 <Scripts>
  261.                                     <OnLoad>
  262.                                         CharacterCreateRaceScrollFrameScrollBar:ClearAllPoints();
  263.                                         CharacterCreateRaceScrollFrameScrollBar:SetPoint("TOPLEFT", CharacterCreateRaceScrollFrame, "TOPRIGHT", 7, 4);
  264.                                         CharacterCreateRaceScrollFrameScrollBar:SetPoint("BOTTOMLEFT", CharacterCreateRaceScrollFrame, "BOTTOMRIGHT", 7, 12);
  265.                                         GlueScrollFrame_OnScrollRangeChanged(self, yrange);
  266.                                     </OnLoad>
  267.                                     <OnScrollRangeChanged>
  268.                                         GlueScrollFrame_OnScrollRangeChanged(self, yrange);
  269.                                     </OnScrollRangeChanged>
  270.                                 </Scripts>
  271.                                 <ScrollChild>
  272.                                     <Frame name="CharacterCreateRaceScrollChild">
  273.                                         <Size x="220" y="10"/>
  274.                                         <Layers>
  275.                                             <Layer level="BACKGROUND">
  276.                                                 <FontString name="CharacterCreateRaceAbilityText" inherits="GlueFontNormalSmall" justifyH="LEFT">
  277.                                                     <Size x="220" y="0"/>
  278.                                                     <Anchors>
  279.                                                         <Anchor point="TOPLEFT" x="0" y="0"/>
  280.                                                     </Anchors>
  281.                                                 </FontString>
  282.                                                 <FontString name="CharacterCreateRaceText" inherits="GlueFontCharacterCreate" justifyH="LEFT">
  283.                                                     <Size x="220" y="0"/>
  284.                                                     <Anchors>
  285.                                                         <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceAbilityText" relativePoint="BOTTOMLEFT" x="0" y="-2"/>
  286.                                                     </Anchors>
  287.                                                 </FontString>
  288.                                             </Layer>
  289.                                         </Layers>
  290.                                     </Frame>
  291.                                 </ScrollChild>
  292.                             </ScrollFrame>
  293.                         </Frames>
  294.                     </Frame>
  295.                     <Frame name="CharacterCreateCharacterClass">
  296.                         <Size x="267" y="287"/>
  297.                         <Anchors>
  298.                             <Anchor point="TOP" relativeTo="CharacterCreateCharacterRace" relativePoint="BOTTOM" x="-5" y="-5"/>
  299.                         </Anchors>
  300.                         <Layers>
  301.                             <Layer level="BORDER">
  302.                                 <Texture name="CharacterCreateClassIcon" file="Interface\TargetingFrame\UI-Classes-Circles">
  303.                                     <Size x="48" y="48"/>
  304.                                     <Anchors>
  305.                                         <Anchor point="TOPLEFT" x="4" y="-4"/>
  306.                                     </Anchors>
  307.                                     <TexCoords left="0" right="0.375" top="0" bottom="0.75"/>
  308.                                 </Texture>
  309.                             </Layer>
  310.                             <Layer level="ARTWORK">
  311.                                 <Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreate-InfoBox" setAllPoints="true">
  312.                                     <TexCoords left="0.005859375" right="0.52734375" top="0.005859375" bottom="0.56640625"/>
  313.                                 </Texture>
  314.                             </Layer>
  315.                             <Layer level="OVERLAY">
  316.                                 <FontString name="CharacterCreateClassLabel" inherits="FactionName_Shadow_Huge" justifyH="LEFT" text="RACE">
  317.                                     <Size x="220" y="0"/>
  318.                                     <Anchors>
  319.                                         <Anchor point="TOP" x="40" y="-10"/>
  320.                                     </Anchors>
  321.                                 </FontString>
  322.                             </Layer>
  323.                         </Layers>
  324.                         <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background">
  325.                             <BackgroundInsets>
  326.                                 <AbsInset left="12" right="3" top="20" bottom="6"/>
  327.                             </BackgroundInsets>
  328.                         </Backdrop>
  329.                         <Frames>
  330.                             <ScrollFrame name="CharacterCreateClassScrollFrame" inherits="GlueScrollFrameTemplate">
  331.                                 <Size x="220" y="220"/>
  332.                                 <Anchors>
  333.                                     <Anchor point="TOPLEFT" x="20" y="-55"/>
  334.                                 </Anchors>
  335.                                 <Scripts>
  336.                                     <OnLoad>
  337.                                         CharacterCreateClassScrollFrameScrollBar:ClearAllPoints();
  338.                                         CharacterCreateClassScrollFrameScrollBar:SetPoint("TOPLEFT", CharacterCreateClassScrollFrame, "TOPRIGHT", 7, 4);
  339.                                         CharacterCreateClassScrollFrameScrollBar:SetPoint("BOTTOMLEFT", CharacterCreateClassScrollFrame, "BOTTOMRIGHT", 7, 12);
  340.                                         GlueScrollFrame_OnScrollRangeChanged(self, yrange);
  341.                                     </OnLoad>
  342.                                     <OnScrollRangeChanged>
  343.                                         GlueScrollFrame_OnScrollRangeChanged(self, yrange);
  344.                                     </OnScrollRangeChanged>
  345.                                 </Scripts>
  346.                                 <ScrollChild>
  347.                                     <Frame name="CharacterCreateClassScrollChild">
  348.                                         <Size x="220" y="10"/>
  349.                                         <Layers>
  350.                                             <Layer level="BACKGROUND">
  351.                                                 <FontString name="CharacterCreateClassRolesText" inherits="GlueFontNormalSmall" justifyH="LEFT">
  352.                                                     <Size x="220" y="0"/>
  353.                                                     <Anchors>
  354.                                                         <Anchor point="TOPLEFT" x="0" y="0"/>
  355.                                                     </Anchors>
  356.                                                 </FontString>
  357.                                                 <FontString name="CharacterCreateClassText" inherits="GlueFontCharacterCreate" justifyH="LEFT">
  358.                                                     <Size x="220" y="0"/>
  359.                                                     <Anchors>
  360.                                                         <Anchor point="TOPLEFT" relativeTo="CharacterCreateClassRolesText" relativePoint="BOTTOMLEFT" x="0" y="-2"/>
  361.                                                     </Anchors>
  362.                                                 </FontString>
  363.                                             </Layer>
  364.                                         </Layers>
  365.                                     </Frame>
  366.                                 </ScrollChild>
  367.                             </ScrollFrame>
  368.                         </Frames>
  369.                     </Frame>
  370.                     <Frame name="CharacterCreateConfigurationFrame">
  371.                         <Size x="256" y="758"/>
  372.                         <Anchors>
  373.                             <Anchor point="TOPLEFT" relativeTo="CharacterCreateFrame" relativePoint="TOPLEFT" x="9" y="-5"/>
  374.                         </Anchors>
  375.                         <Layers>
  376.                             <Layer level="ARTWORK">
  377.                                 <Texture name="CharacterCreateOuterBorder1" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-OuterBorder">
  378.                                     <Size x="256" y="256"/>
  379.                                     <Anchors>
  380.                                         <Anchor point="TOP" x="0" y="0"/>
  381.                                     </Anchors>
  382.                                     <TexCoords left="0" right="1" top="1" bottom="0"/>
  383.                                 </Texture>
  384.                                 <Texture name="CharacterCreateOuterBorder2" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-OuterBorder">
  385.                                     <Size x="256" y="246"/>
  386.                                     <Anchors>
  387.                                         <Anchor point="TOP" relativeTo="CharacterCreateOuterBorder1" relativePoint="BOTTOM" x="0" y="0"/>
  388.                                     </Anchors>
  389.                                     <TexCoords left="0" right="1" top="0" bottom="0.9609375"/>
  390.                                 </Texture>
  391.                                 <Texture name="CharacterCreateOuterBorder3" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-OuterBorder">
  392.                                     <Size x="256" y="256"/>
  393.                                     <Anchors>
  394.                                         <Anchor point="TOP" relativeTo="CharacterCreateOuterBorder2" relativePoint="BOTTOM" x="0" y="0"/>
  395.                                     </Anchors>
  396.                                 </Texture>
  397.                             </Layer>
  398.                             <Layer level="BACKGROUND">
  399.                                 <Texture name="CharacterCreateConfigurationBackground" file="Interface\Tooltips\UI-Tooltip-Background">
  400.                                     <Anchors>
  401.                                         <Anchor point="TOPLEFT" relativeTo="CharacterCreateOuterBorder1" relativePoint="TOPLEFT" x="10" y="-8"/>
  402.                                         <Anchor point="BOTTOMRIGHT" relativeTo="CharacterCreateOuterBorder3" relativePoint="BOTTOMRIGHT" x="-10" y="8"/>
  403.                                     </Anchors>
  404.                                 </Texture>
  405.                             </Layer>
  406.                             <Layer level="BORDER">
  407.                                 <Texture name="CharacterCreateBanners" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Banners">
  408.                                     <Size x="256" y="512"/>
  409.                                     <Anchors>
  410.                                         <Anchor point="TOP" relativeTo="CharacterCreateOuterBorder1" relativePoint="TOP" x="0" y="-5"/>
  411.                                     </Anchors>
  412.                                 </Texture>
  413.                             </Layer>
  414.                             <Layer level="OVERLAY">
  415.                                 <FontString name="CharacterCreateAllianceLabel" inherits="FactionName_Shadow_Huge" text="ALLIANCE">
  416.                                     <Anchors>
  417.                                         <Anchor point="TOP" relativePoint="TOP" x="-50" y="-20"/>
  418.                                     </Anchors>
  419.                                 </FontString>
  420.                                 <FontString name="CharacterCreateHordeLabel" inherits="FactionName_Shadow_Huge" text="HORDE">
  421.                                     <Anchors>
  422.                                         <Anchor point="TOP" relativePoint="TOP" x="50" y="-20"/>
  423.                                     </Anchors>
  424.                                 </FontString>
  425. <!--
  426.  
  427.                                 <FontString name="CharacterCreateAllianceRaceLabel" inherits="OptionsFontSmall"/>
  428.                                 <FontString name="CharacterCreateHordeRaceLabel" inherits="OptionsFontSmall"/>
  429. -->
  430.                                 <FontString name="CharacterCreateGender" inherits="CharacterCreateTooltipFont">
  431.                                     <Anchors>
  432.                                         <Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-388"/>
  433.                                     </Anchors>
  434.                                     <Color r="1.0" g="0.78" b="0"/>
  435.                                 </FontString>
  436.                                 <FontString name="CharacterCreateClassName" inherits="CharacterCreateTooltipFont">
  437.                                     <Anchors>
  438.                                         <Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-456"/>
  439.                                     </Anchors>
  440.                                     <Color r="1.0" g="0.78" b="0"/>
  441.                                 </FontString>
  442.                             </Layer>
  443.                         </Layers>
  444.                         <Frames>
  445.                             <CheckButton name="CharacterCreateRaceButton1" inherits="CharacterCreateRaceButtonTemplate" id="1">
  446.                                 <Anchors>
  447.                                     <Anchor point="TOP" relativePoint="TOP" x="-50" y="-61"/>
  448.                                 </Anchors>
  449.                             </CheckButton>
  450.                             <CheckButton name="CharacterCreateRaceButton2" inherits="CharacterCreateRaceButtonTemplate" id="2">
  451.                                 <Anchors>
  452.                                     <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton1" relativePoint="BOTTOMLEFT" x="0" y="-21"/>
  453.                                 </Anchors>
  454.                             </CheckButton>
  455.                             <CheckButton name="CharacterCreateRaceButton3" inherits="CharacterCreateRaceButtonTemplate" id="3">
  456.                                 <Anchors>
  457.                                     <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton2" relativePoint="BOTTOMLEFT" x="0" y="-21"/>
  458.                                 </Anchors>
  459.                             </CheckButton>
  460.                             <CheckButton name="CharacterCreateRaceButton4" inherits="CharacterCreateRaceButtonTemplate" id="4">
  461.                                 <Anchors>
  462.                                     <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton3" relativePoint="BOTTOMLEFT" x="0" y="-21"/>
  463.                                 </Anchors>
  464.                             </CheckButton>
  465.                             <CheckButton name="CharacterCreateRaceButton5" inherits="CharacterCreateRaceButtonTemplate" id="5">
  466.                                 <Anchors>
  467.                                     <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton4" relativePoint="BOTTOMLEFT" x="0" y="-21"/>
  468.                                 </Anchors>
  469.                             </CheckButton>
  470.                             <CheckButton name="CharacterCreateRaceButton6" inherits="CharacterCreateRaceButtonTemplate" id="6">
  471.                                 <Anchors>
  472.                                     <Anchor point="TOP" relativePoint="TOP" x="50" y="-61"/>
  473.                                 </Anchors>
  474.                             </CheckButton>
  475.                             <CheckButton name="CharacterCreateRaceButton7" inherits="CharacterCreateRaceButtonTemplate" id="7">
  476.                                 <Anchors>
  477.                                     <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton6" relativePoint="BOTTOMLEFT" x="0" y="-21"/>
  478.                                 </Anchors>
  479.                             </CheckButton>
  480.                             <CheckButton name="CharacterCreateRaceButton8" inherits="CharacterCreateRaceButtonTemplate" id="8">
  481.                                 <Anchors>
  482.                                     <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton7" relativePoint="BOTTOMLEFT" x="0" y="-21"/>
  483.                                 </Anchors>
  484.                             </CheckButton>
  485.                             <CheckButton name="CharacterCreateRaceButton9" inherits="CharacterCreateRaceButtonTemplate" id="9">
  486.                                 <Anchors>
  487.                                     <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton8" relativePoint="BOTTOMLEFT" x="0" y="-21"/>
  488.                                 </Anchors>
  489.                             </CheckButton>
  490.                             <CheckButton name="CharacterCreateRaceButton10" inherits="CharacterCreateRaceButtonTemplate" id="10">
  491.                                 <Anchors>
  492.                                     <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton9" relativePoint="BOTTOMLEFT" x="0" y="-21"/>
  493.                                 </Anchors>
  494.                             </CheckButton>
  495.                             <CheckButton name="CharacterCreateGenderButtonMale" inherits="CharacterCreateGenderButtonTemplate">
  496.                                 <Anchors>
  497.                                     <Anchor point="TOP" x="-20" y="-392"/>
  498.                                 </Anchors>
  499.                                 <Scripts>
  500.                                     <OnLoad>
  501.                                         _G[self:GetName().."NormalTexture"]:SetTexCoord(0, 0.5, 0, 1.0);
  502.                                         _G[self:GetName().."PushedTexture"]:SetTexCoord(0, 0.5, 0, 1.0);
  503.                                     </OnLoad>
  504.                                     <OnClick>
  505.                                         PlaySound("gsCharacterCreationClass");
  506.                                         if ( GetSelectedSex() ~= SEX_MALE ) then
  507.                                             SetCharacterGender(SEX_MALE);
  508.                                         end
  509.                                     </OnClick>
  510.                                     <OnEnter>
  511.                                         GlueTooltip_SetOwner(self, CharacterCreateTooltip, -3, -5);
  512.                                         GlueTooltip_SetText(MALE, CharacterCreateTooltip);
  513.                                     </OnEnter>
  514.                                 </Scripts>
  515.                             </CheckButton>
  516.                             <CheckButton name="CharacterCreateGenderButtonFemale" inherits="CharacterCreateGenderButtonTemplate">
  517.                                 <Anchors>
  518.                                     <Anchor point="TOP" x="20" y="-392"/>
  519.                                 </Anchors>
  520.                                 <Scripts>
  521.                                     <OnLoad>
  522.                                         _G[self:GetName().."NormalTexture"]:SetTexCoord(0.5, 1.0, 0, 1.0);
  523.                                         _G[self:GetName().."PushedTexture"]:SetTexCoord(0.5, 1.0, 0, 1.0);
  524.                                     </OnLoad>
  525.                                     <OnClick>
  526.                                         PlaySound("gsCharacterCreationClass");
  527.                                         if ( GetSelectedSex() ~= SEX_FEMALE ) then
  528.                                             SetCharacterGender(SEX_FEMALE);
  529.                                         end
  530.                                     </OnClick>
  531.                                     <OnEnter>
  532.                                         GlueTooltip_SetOwner(self, CharacterCreateTooltip, -3, -5);
  533.                                         GlueTooltip_SetText(FEMALE, CharacterCreateTooltip);
  534.                                     </OnEnter>
  535.                                 </Scripts>
  536.                             </CheckButton>
  537.                             <CheckButton name="CharacterCreateClassButton1" inherits="CharacterCreateClassButtonTemplate" id="1">
  538.                                 <Anchors>
  539.                                     <Anchor point="TOP" x="-90" y="-463"/>
  540.                                 </Anchors>
  541.                             </CheckButton>
  542.                             <CheckButton name="CharacterCreateClassButton2" inherits="CharacterCreateClassButtonTemplate" id="2">
  543.                                 <Anchors>
  544.                                     <Anchor point="LEFT" relativeTo="CharacterCreateClassButton1" relativePoint="RIGHT" x="6" y="0"/>
  545.                                 </Anchors>
  546.                             </CheckButton>
  547.                             <CheckButton name="CharacterCreateClassButton3" inherits="CharacterCreateClassButtonTemplate" id="3">
  548.                                 <Anchors>
  549.                                     <Anchor point="LEFT" relativeTo="CharacterCreateClassButton2" relativePoint="RIGHT" x="6" y="0"/>
  550.                                 </Anchors>
  551.                             </CheckButton>
  552.                             <CheckButton name="CharacterCreateClassButton4" inherits="CharacterCreateClassButtonTemplate" id="4">
  553.                                 <Anchors>
  554.                                     <Anchor point="LEFT" relativeTo="CharacterCreateClassButton3" relativePoint="RIGHT" x="6" y="0"/>
  555.                                 </Anchors>
  556.                             </CheckButton>
  557.                             <CheckButton name="CharacterCreateClassButton5" inherits="CharacterCreateClassButtonTemplate" id="5">
  558.                                 <Anchors>
  559.                                     <Anchor point="LEFT" relativeTo="CharacterCreateClassButton4" relativePoint="RIGHT" x="6" y="0"/>
  560.                                 </Anchors>
  561.                             </CheckButton>
  562.                             <CheckButton name="CharacterCreateClassButton6" inherits="CharacterCreateClassButtonTemplate" id="6">
  563.                                 <Anchors>
  564.                                     <Anchor point="TOP" relativeTo="CharacterCreateClassButton1" relativePoint="BOTTOM" x="0" y="-6"/>
  565.                                 </Anchors>
  566.                             </CheckButton>
  567.                             <CheckButton name="CharacterCreateClassButton7" inherits="CharacterCreateClassButtonTemplate" id="7">
  568.                                 <Anchors>
  569.                                     <Anchor point="TOP" relativeTo="CharacterCreateClassButton2" relativePoint="BOTTOM" x="0" y="-6"/>
  570.                                 </Anchors>
  571.                             </CheckButton>
  572.                             <CheckButton name="CharacterCreateClassButton8" inherits="CharacterCreateClassButtonTemplate" id="8">
  573.                                 <Anchors>
  574.                                     <Anchor point="TOP" relativeTo="CharacterCreateClassButton3" relativePoint="BOTTOM" x="0" y="-6"/>
  575.                                 </Anchors>
  576.                             </CheckButton>
  577.                             <CheckButton name="CharacterCreateClassButton9" inherits="CharacterCreateClassButtonTemplate" id="9">
  578.                                 <Anchors>
  579.                                     <Anchor point="TOP" relativeTo="CharacterCreateClassButton4" relativePoint="BOTTOM" x="0" y="-6"/>
  580.                                 </Anchors>
  581.                             </CheckButton>
  582.                             <CheckButton name="CharacterCreateClassButton10" inherits="CharacterCreateClassButtonTemplate" id="10">
  583.                                 <Anchors>
  584.                                     <Anchor point="TOP" relativeTo="CharacterCreateClassButton5" relativePoint="BOTTOM" x="0" y="-6"/>
  585.                                 </Anchors>
  586.                             </CheckButton>
  587.                             <CheckButton name="CharacterCreateClassButton10" inherits="CharacterCreateClassButtonTemplate" id="11">
  588.                                 <Anchors>
  589.                                     <Anchor point="LEFT" relativeTo="CharacterCreateClassButton5" relativePoint="BOTTOM" x="0" y="-6"/>
  590.                                 </Anchors>
  591.                             </CheckButton>
  592.                             <Button name="CharCreateRandomizeButton" inherits="GlueButtonSmallTemplate" text="RANDOMIZE">
  593.                                 <Size x="146" y="30"/>
  594.                                 <Anchors>
  595.                                     <Anchor point="BOTTOM" x="0" y="10"/>
  596.                                 </Anchors>
  597.                                 <Scripts>
  598.                                     <OnLoad>
  599.                                         self:SetWidth(self:GetTextWidth() + 50);
  600.                                     </OnLoad>
  601.                                     <OnClick>
  602.                                         CharacterCreate_Randomize();
  603.                                     </OnClick>
  604.                                     <OnUpdate>
  605.                                         CharacterCreate_DeathKnightSwap(self);
  606.                                     </OnUpdate>
  607.                                 </Scripts>
  608.                             </Button>
  609.                             <Frame name="CharacterCustomizationButtonFrame5" inherits="CharacterCustomizationFrameTemplate" id="5">
  610.                                 <Anchors>
  611.                                     <Anchor point="BOTTOM" relativeTo="CharCreateRandomizeButton" relativePoint="TOP" x="-6" y="3"/>
  612.                                 </Anchors>
  613.                             </Frame>
  614.                             <Frame name="CharacterCustomizationButtonFrame4" inherits="CharacterCustomizationFrameTemplate" id="4">
  615.                                 <Anchors>
  616.                                     <Anchor point="BOTTOM" relativeTo="CharacterCustomizationButtonFrame5" relativePoint="TOP" x="0" y="0"/>
  617.                                 </Anchors>
  618.                             </Frame>
  619.                             <Frame name="CharacterCustomizationButtonFrame3" inherits="CharacterCustomizationFrameTemplate" id="3">
  620.                                 <Anchors>
  621.                                     <Anchor point="BOTTOM" relativeTo="CharacterCustomizationButtonFrame4" relativePoint="TOP" x="0" y="0"/>
  622.                                 </Anchors>
  623.                             </Frame>
  624.                             <Frame name="CharacterCustomizationButtonFrame2" inherits="CharacterCustomizationFrameTemplate" id="2">
  625.                                 <Anchors>
  626.                                     <Anchor point="BOTTOM" relativeTo="CharacterCustomizationButtonFrame3" relativePoint="TOP" x="0" y="0"/>
  627.                                 </Anchors>
  628.                             </Frame>
  629.                             <Frame name="CharacterCustomizationButtonFrame1" inherits="CharacterCustomizationFrameTemplate" id="1">
  630.                                 <Anchors>
  631.                                     <Anchor point="BOTTOM" relativeTo="CharacterCustomizationButtonFrame2" relativePoint="TOP" x="0" y="0"/>
  632.                                 </Anchors>
  633.                             </Frame>
  634.                         </Frames>
  635.                     </Frame>
  636.                     <EditBox name="CharacterCreateNameEdit" letters="12">
  637.                         <Size x="156" y="40"/>
  638.                         <Anchors>
  639.                             <Anchor point="BOTTOM" x="0" y="55"/>
  640.                         </Anchors>
  641.                         <Layers>
  642.                             <Layer level="BACKGROUND">
  643.                                 <FontString inherits="GlueFontNormalLarge" text="NAME">
  644.                                     <Size x="256" y="64"/>
  645.                                     <Anchors>
  646.                                         <Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-23"/>
  647.                                     </Anchors>
  648.                                 </FontString>
  649.                             </Layer>
  650.                         </Layers>
  651.                         <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
  652.                             <BackgroundInsets>
  653.                                 <AbsInset left="10" right="5" top="4" bottom="9"/>
  654.                             </BackgroundInsets>
  655.                             <TileSize>
  656.                                 <AbsValue val="16"/>
  657.                             </TileSize>
  658.                             <EdgeSize>
  659.                                 <AbsValue val="16"/>
  660.                             </EdgeSize>
  661.                         </Backdrop>
  662.                         <Scripts>
  663.                             <OnEscapePressed>
  664.                                 CharacterCreate_Back();
  665.                             </OnEscapePressed>
  666.                             <OnEnterPressed>
  667.                                 CharacterCreate_Okay();
  668.                             </OnEnterPressed>
  669.                         </Scripts>
  670.                         <FontString inherits="GlueEditBoxFont"/>
  671.                         <TextInsets>
  672.                             <AbsInset left="15"/>
  673.                         </TextInsets>
  674.                     </EditBox>
  675.                     <Button name="CharacterCreateRandomName" inherits="GlueButtonSmallTemplate" text="RANDOMIZE" hidden="true">
  676.                         <Size x="146" y="30"/>
  677.                         <Anchors>
  678.                             <Anchor point="TOP" relativeTo="CharacterCreateNameEdit" relativePoint="BOTTOM" x="0" y="7"/>
  679.                         </Anchors>
  680.                         <Scripts>
  681.                             <OnLoad>
  682.                                 self:SetWidth(self:GetTextWidth() + 50);
  683.                             </OnLoad>
  684.                             <OnClick>
  685.                                 CharacterCreateNameEdit:SetText(GetRandomName());
  686.                                 PlaySound("gsCharacterCreationLook");
  687.                             </OnClick>
  688.                             <OnUpdate>
  689.                                 CharacterCreate_DeathKnightSwap(self);
  690.                             </OnUpdate>
  691.                         </Scripts>
  692.                     </Button>
  693.                     <Button name="CharacterCreateRotateLeft">
  694.                         <Size x="50" y="50"/>
  695.                         <Anchors>
  696.                             <Anchor point="BOTTOM" x="-16" y="-5"/>
  697.                         </Anchors>
  698.                         <HitRectInsets>
  699.                             <AbsInset left="13" right="13" top="10" bottom="13"/>
  700.                         </HitRectInsets>
  701.                         <Scripts>
  702.                             <OnLoad>
  703.                                 self:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
  704.                             </OnLoad>
  705.                             <OnClick>
  706.                                 PlaySound("igInventoryRotateCharacter");
  707.                             </OnClick>
  708.                             <OnUpdate>
  709.                                 CharacterCreateRotateLeft_OnUpdate(self);
  710.                             </OnUpdate>
  711.                         </Scripts>
  712.                         <NormalTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Up">
  713.                             <TexCoords left="1.0" right="0" top="0" bottom="1.0"/>
  714.                         </NormalTexture>
  715.                         <PushedTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Down">
  716.                             <TexCoords left="1.0" right="0" top="0" bottom="1.0"/>
  717.                         </PushedTexture>
  718.                         <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
  719.                             <Size x="30" y="30"/>
  720.                             <Anchors>
  721.                                 <Anchor point="CENTER" x="0" y="0"/>
  722.                             </Anchors>
  723.                         </HighlightTexture>
  724.                     </Button>
  725.                     <Button name="CharacterCreateRotateRight">
  726.                         <Size x="50" y="50"/>
  727.                         <Anchors>
  728.                             <Anchor point="BOTTOM" x="16" y="-5"/>
  729.                         </Anchors>
  730.                         <HitRectInsets>
  731.                             <AbsInset left="13" right="13" top="10" bottom="13"/>
  732.                         </HitRectInsets>
  733.                         <Scripts>
  734.                             <OnLoad>
  735.                                 self:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
  736.                             </OnLoad>
  737.                             <OnClick>
  738.                                 PlaySound("igInventoryRotateCharacter");
  739.                             </OnClick>
  740.                             <OnUpdate>
  741.                                 CharacterCreateRotateRight_OnUpdate(self);
  742.                             </OnUpdate>
  743.                         </Scripts>
  744.                         <NormalTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Up"/>
  745.                         <PushedTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Down"/>
  746.                         <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
  747.                             <Size x="30" y="30"/>
  748.                             <Anchors>
  749.                                 <Anchor point="CENTER" x="0" y="0"/>
  750.                             </Anchors>
  751.                         </HighlightTexture>
  752.                     </Button>
  753.                     <Button name="CharCreateOkayButton" inherits="GlueButtonTemplate" text="CHARACTER_CREATE_ACCEPT">
  754.                         <Size x="160" y="35"/>
  755.                         <Anchors>
  756.                             <Anchor point="TOP" relativeTo="CharacterCreateCharacterClass" relativePoint="BOTTOM" x="4" y="-3"/>
  757.                         </Anchors>
  758.                         <Scripts>
  759.                             <OnClick>
  760.                                 CharacterCreate_Okay();
  761.                             </OnClick>
  762.                             <OnUpdate>
  763.                                 CharacterCreate_DeathKnightSwap(self);
  764.                             </OnUpdate>
  765.                         </Scripts>
  766.                     </Button>
  767.                     <Button name="CharCreateBackButton" inherits="GlueButtonSmallTemplate" text="BACK">
  768.                         <Size x="120" y="30"/>
  769.                         <Anchors>
  770.                             <Anchor point="TOP" relativeTo="CharCreateOkayButton" relativePoint="BOTTOM" x="4" y="3"/>
  771.                         </Anchors>
  772.                         <Scripts>
  773.                             <OnClick>
  774.                                 CharacterCreate_Back();
  775.                             </OnClick>
  776.                             <OnUpdate>
  777.                                 CharacterCreate_DeathKnightSwap(self);
  778.                             </OnUpdate>
  779.                         </Scripts>
  780.                     </Button>
  781.                 </Frames>
  782.                 <Scripts>
  783.                     <OnMouseDown>
  784.                         CharacterCreateFrame_OnMouseDown(button);
  785.                     </OnMouseDown>
  786.                     <OnMouseUp>
  787.                         CharacterCreateFrame_OnMouseUp(button);
  788.                     </OnMouseUp>
  789.                     <OnUpdate>
  790.                         CharacterCreateFrame_OnUpdate();
  791.                     </OnUpdate>
  792.                 </Scripts>
  793.             </Frame>
  794.         </Frames>
  795.         <Scripts>
  796.             <OnLoad>
  797.                 CharacterCreate_OnLoad(self);
  798.             </OnLoad>
  799.             <OnShow>
  800.                 CharacterCreate_OnShow();
  801.             </OnShow>
  802.             <OnHide>
  803.                 CharacterCreate_OnHide();
  804.             </OnHide>
  805.             <OnChar>
  806.                 CharacterCreate_OnChar();
  807.             </OnChar>
  808.             <OnKeyDown>
  809.                 CharacterCreate_OnKeyDown(key);
  810.             </OnKeyDown>
  811.             <OnUpdateModel>
  812.                 CharacterCreate_UpdateModel(self);
  813.             </OnUpdateModel>
  814.         </Scripts>
  815.     </ModelFFX>
  816. </Ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement