Advertisement
Guest User

CharacterCreate.xml

a guest
Mar 24th, 2014
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 32.81 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="-50"/>
  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="-10"/>
  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="-10"/>
  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="-10"/>
  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="-10"/>
  468.                                 </Anchors>
  469.                             </CheckButton>
  470.                             <CheckButton name="CharacterCreateRaceButton7" inherits="CharacterCreateRaceButtonTemplate" id="7">
  471.                                 <Anchors>
  472.                                     <Anchor point="TOP" relativePoint="TOP" x="50" y="-50"/>
  473.                                 </Anchors>
  474.                             </CheckButton>
  475.                             <CheckButton name="CharacterCreateRaceButton8" inherits="CharacterCreateRaceButtonTemplate" id="8">
  476.                                 <Anchors>
  477.                                     <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton7" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  478.                                 </Anchors>
  479.                             </CheckButton>
  480.                             <CheckButton name="CharacterCreateRaceButton9" inherits="CharacterCreateRaceButtonTemplate" id="9">
  481.                                 <Anchors>
  482.                                     <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton8" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  483.                                 </Anchors>
  484.                             </CheckButton>
  485.                             <CheckButton name="CharacterCreateRaceButton10" inherits="CharacterCreateRaceButtonTemplate" id="10">
  486.                                 <Anchors>
  487.                                     <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton9" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  488.                                 </Anchors>
  489.                             </CheckButton>
  490.                             <CheckButton name="CharacterCreateRaceButton12" inherits="CharacterCreateRaceButtonTemplate" id="12">
  491.                                 <Anchors>
  492.                                     <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton10" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  493.                                 </Anchors>
  494.                             </CheckButton>
  495.                             <CheckButton name="CharacterCreateRaceButton11" inherits="CharacterCreateRaceButtonTemplate" id="11">
  496.                                 <Anchors>
  497.                                     <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton12" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  498.                                 </Anchors>
  499.                             </CheckButton>
  500.                             <CheckButton name="CharacterCreateRaceButton6" inherits="CharacterCreateRaceButtonTemplate" id="6">
  501.                                 <Anchors>
  502.                                     <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton5" relativePoint="BOTTOMLEFT" x="0" y="-10"/>
  503.                                 </Anchors>
  504.                             </CheckButton>                         
  505.                             <CheckButton name="CharacterCreateGenderButtonMale" inherits="CharacterCreateGenderButtonTemplate">
  506.                                 <Anchors>
  507.                                     <Anchor point="TOP" x="-20" y="-392"/>
  508.                                 </Anchors>
  509.                                 <Scripts>
  510.                                     <OnLoad>
  511.                                         _G[self:GetName().."NormalTexture"]:SetTexCoord(0, 0.5, 0, 1.0);
  512.                                         _G[self:GetName().."PushedTexture"]:SetTexCoord(0, 0.5, 0, 1.0);
  513.                                     </OnLoad>
  514.                                     <OnClick>
  515.                                         PlaySound("gsCharacterCreationClass");
  516.                                         if ( GetSelectedSex() ~= SEX_MALE ) then
  517.                                             SetCharacterGender(SEX_MALE);
  518.                                         end
  519.                                     </OnClick>
  520.                                     <OnEnter>
  521.                                         GlueTooltip_SetOwner(self, CharacterCreateTooltip, -3, -5);
  522.                                         GlueTooltip_SetText(MALE, CharacterCreateTooltip);
  523.                                     </OnEnter>
  524.                                 </Scripts>
  525.                             </CheckButton>
  526.                             <CheckButton name="CharacterCreateGenderButtonFemale" inherits="CharacterCreateGenderButtonTemplate">
  527.                                 <Anchors>
  528.                                     <Anchor point="TOP" x="20" y="-392"/>
  529.                                 </Anchors>
  530.                                 <Scripts>
  531.                                     <OnLoad>
  532.                                         _G[self:GetName().."NormalTexture"]:SetTexCoord(0.5, 1.0, 0, 1.0);
  533.                                         _G[self:GetName().."PushedTexture"]:SetTexCoord(0.5, 1.0, 0, 1.0);
  534.                                     </OnLoad>
  535.                                     <OnClick>
  536.                                         PlaySound("gsCharacterCreationClass");
  537.                                         if ( GetSelectedSex() ~= SEX_FEMALE ) then
  538.                                             SetCharacterGender(SEX_FEMALE);
  539.                                         end
  540.                                     </OnClick>
  541.                                     <OnEnter>
  542.                                         GlueTooltip_SetOwner(self, CharacterCreateTooltip, -3, -5);
  543.                                         GlueTooltip_SetText(FEMALE, CharacterCreateTooltip);
  544.                                     </OnEnter>
  545.                                 </Scripts>
  546.                             </CheckButton>
  547.                             <CheckButton name="CharacterCreateClassButton1" inherits="CharacterCreateClassButtonTemplate" id="1">
  548.                                 <Anchors>
  549.                                     <Anchor point="TOP" x="-90" y="-463"/>
  550.                                 </Anchors>
  551.                             </CheckButton>
  552.                             <CheckButton name="CharacterCreateClassButton2" inherits="CharacterCreateClassButtonTemplate" id="2">
  553.                                 <Anchors>
  554.                                     <Anchor point="LEFT" relativeTo="CharacterCreateClassButton1" relativePoint="RIGHT" x="6" y="0"/>
  555.                                 </Anchors>
  556.                             </CheckButton>
  557.                             <CheckButton name="CharacterCreateClassButton3" inherits="CharacterCreateClassButtonTemplate" id="3">
  558.                                 <Anchors>
  559.                                     <Anchor point="LEFT" relativeTo="CharacterCreateClassButton2" relativePoint="RIGHT" x="6" y="0"/>
  560.                                 </Anchors>
  561.                             </CheckButton>
  562.                             <CheckButton name="CharacterCreateClassButton4" inherits="CharacterCreateClassButtonTemplate" id="4">
  563.                                 <Anchors>
  564.                                     <Anchor point="LEFT" relativeTo="CharacterCreateClassButton3" relativePoint="RIGHT" x="6" y="0"/>
  565.                                 </Anchors>
  566.                             </CheckButton>
  567.                             <CheckButton name="CharacterCreateClassButton5" inherits="CharacterCreateClassButtonTemplate" id="5">
  568.                                 <Anchors>
  569.                                     <Anchor point="LEFT" relativeTo="CharacterCreateClassButton4" relativePoint="RIGHT" x="6" y="0"/>
  570.                                 </Anchors>
  571.                             </CheckButton>
  572.                             <CheckButton name="CharacterCreateClassButton6" inherits="CharacterCreateClassButtonTemplate" id="6">
  573.                                 <Anchors>
  574.                                     <Anchor point="TOP" relativeTo="CharacterCreateClassButton1" relativePoint="BOTTOM" x="0" y="-6"/>
  575.                                 </Anchors>
  576.                             </CheckButton>
  577.                             <CheckButton name="CharacterCreateClassButton7" inherits="CharacterCreateClassButtonTemplate" id="7">
  578.                                 <Anchors>
  579.                                     <Anchor point="TOP" relativeTo="CharacterCreateClassButton2" relativePoint="BOTTOM" x="0" y="-6"/>
  580.                                 </Anchors>
  581.                             </CheckButton>
  582.                             <CheckButton name="CharacterCreateClassButton8" inherits="CharacterCreateClassButtonTemplate" id="8">
  583.                                 <Anchors>
  584.                                     <Anchor point="TOP" relativeTo="CharacterCreateClassButton3" relativePoint="BOTTOM" x="0" y="-6"/>
  585.                                 </Anchors>
  586.                             </CheckButton>
  587.                             <CheckButton name="CharacterCreateClassButton9" inherits="CharacterCreateClassButtonTemplate" id="9">
  588.                                 <Anchors>
  589.                                     <Anchor point="TOP" relativeTo="CharacterCreateClassButton4" relativePoint="BOTTOM" x="0" y="-6"/>
  590.                                 </Anchors>
  591.                             </CheckButton>
  592.                             <CheckButton name="CharacterCreateClassButton10" inherits="CharacterCreateClassButtonTemplate" id="10">
  593.                                 <Anchors>
  594.                                     <Anchor point="TOP" relativeTo="CharacterCreateClassButton5" relativePoint="BOTTOM" x="0" y="-6"/>
  595.                                 </Anchors>
  596.                             </CheckButton>
  597.                             <Button name="CharCreateRandomizeButton" inherits="GlueButtonSmallTemplate" text="RANDOMIZE">
  598.                                 <Size x="146" y="30"/>
  599.                                 <Anchors>
  600.                                     <Anchor point="BOTTOM" x="0" y="10"/>
  601.                                 </Anchors>
  602.                                 <Scripts>
  603.                                     <OnLoad>
  604.                                         self:SetWidth(self:GetTextWidth() + 50);
  605.                                     </OnLoad>
  606.                                     <OnClick>
  607.                                         CharacterCreate_Randomize();
  608.                                     </OnClick>
  609.                                     <OnUpdate>
  610.                                         CharacterCreate_DeathKnightSwap(self);
  611.                                     </OnUpdate>
  612.                                 </Scripts>
  613.                             </Button>
  614.                             <Frame name="CharacterCustomizationButtonFrame5" inherits="CharacterCustomizationFrameTemplate" id="5">
  615.                                 <Anchors>
  616.                                     <Anchor point="BOTTOM" relativeTo="CharCreateRandomizeButton" relativePoint="TOP" x="-6" y="3"/>
  617.                                 </Anchors>
  618.                             </Frame>
  619.                             <Frame name="CharacterCustomizationButtonFrame4" inherits="CharacterCustomizationFrameTemplate" id="4">
  620.                                 <Anchors>
  621.                                     <Anchor point="BOTTOM" relativeTo="CharacterCustomizationButtonFrame5" relativePoint="TOP" x="0" y="0"/>
  622.                                 </Anchors>
  623.                             </Frame>
  624.                             <Frame name="CharacterCustomizationButtonFrame3" inherits="CharacterCustomizationFrameTemplate" id="3">
  625.                                 <Anchors>
  626.                                     <Anchor point="BOTTOM" relativeTo="CharacterCustomizationButtonFrame4" relativePoint="TOP" x="0" y="0"/>
  627.                                 </Anchors>
  628.                             </Frame>
  629.                             <Frame name="CharacterCustomizationButtonFrame2" inherits="CharacterCustomizationFrameTemplate" id="2">
  630.                                 <Anchors>
  631.                                     <Anchor point="BOTTOM" relativeTo="CharacterCustomizationButtonFrame3" relativePoint="TOP" x="0" y="0"/>
  632.                                 </Anchors>
  633.                             </Frame>
  634.                             <Frame name="CharacterCustomizationButtonFrame1" inherits="CharacterCustomizationFrameTemplate" id="1">
  635.                                 <Anchors>
  636.                                     <Anchor point="BOTTOM" relativeTo="CharacterCustomizationButtonFrame2" relativePoint="TOP" x="0" y="0"/>
  637.                                 </Anchors>
  638.                             </Frame>
  639.                         </Frames>
  640.                     </Frame>
  641.                     <EditBox name="CharacterCreateNameEdit" letters="12">
  642.                         <Size x="156" y="40"/>
  643.                         <Anchors>
  644.                             <Anchor point="BOTTOM" x="0" y="55"/>
  645.                         </Anchors>
  646.                         <Layers>
  647.                             <Layer level="BACKGROUND">
  648.                                 <FontString inherits="GlueFontNormalLarge" text="NAME">
  649.                                     <Size x="256" y="64"/>
  650.                                     <Anchors>
  651.                                         <Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-23"/>
  652.                                     </Anchors>
  653.                                 </FontString>
  654.                             </Layer>
  655.                         </Layers>
  656.                         <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
  657.                             <BackgroundInsets>
  658.                                 <AbsInset left="10" right="5" top="4" bottom="9"/>
  659.                             </BackgroundInsets>
  660.                             <TileSize>
  661.                                 <AbsValue val="16"/>
  662.                             </TileSize>
  663.                             <EdgeSize>
  664.                                 <AbsValue val="16"/>
  665.                             </EdgeSize>
  666.                         </Backdrop>
  667.                         <Scripts>
  668.                             <OnEscapePressed>
  669.                                 CharacterCreate_Back();
  670.                             </OnEscapePressed>
  671.                             <OnEnterPressed>
  672.                                 CharacterCreate_Okay();
  673.                             </OnEnterPressed>
  674.                         </Scripts>
  675.                         <FontString inherits="GlueEditBoxFont"/>
  676.                         <TextInsets>
  677.                             <AbsInset left="15"/>
  678.                         </TextInsets>
  679.                     </EditBox>
  680.                     <Button name="CharacterCreateRandomName" inherits="GlueButtonSmallTemplate" text="RANDOMIZE" hidden="true">
  681.                         <Size x="146" y="30"/>
  682.                         <Anchors>
  683.                             <Anchor point="TOP" relativeTo="CharacterCreateNameEdit" relativePoint="BOTTOM" x="0" y="7"/>
  684.                         </Anchors>
  685.                         <Scripts>
  686.                             <OnLoad>
  687.                                 self:SetWidth(self:GetTextWidth() + 50);
  688.                             </OnLoad>
  689.                             <OnClick>
  690.                                 CharacterCreateNameEdit:SetText(GetRandomName());
  691.                                 PlaySound("gsCharacterCreationLook");
  692.                             </OnClick>
  693.                             <OnUpdate>
  694.                                 CharacterCreate_DeathKnightSwap(self);
  695.                             </OnUpdate>
  696.                         </Scripts>
  697.                     </Button>
  698.                     <Button name="CharacterCreateRotateLeft">
  699.                         <Size x="50" y="50"/>
  700.                         <Anchors>
  701.                             <Anchor point="BOTTOM" x="-16" y="-5"/>
  702.                         </Anchors>
  703.                         <HitRectInsets>
  704.                             <AbsInset left="13" right="13" top="10" bottom="13"/>
  705.                         </HitRectInsets>
  706.                         <Scripts>
  707.                             <OnLoad>
  708.                                 self:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
  709.                             </OnLoad>
  710.                             <OnClick>
  711.                                 PlaySound("igInventoryRotateCharacter");
  712.                             </OnClick>
  713.                             <OnUpdate>
  714.                                 CharacterCreateRotateLeft_OnUpdate(self);
  715.                             </OnUpdate>
  716.                         </Scripts>
  717.                         <NormalTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Up">
  718.                             <TexCoords left="1.0" right="0" top="0" bottom="1.0"/>
  719.                         </NormalTexture>
  720.                         <PushedTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Down">
  721.                             <TexCoords left="1.0" right="0" top="0" bottom="1.0"/>
  722.                         </PushedTexture>
  723.                         <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
  724.                             <Size x="30" y="30"/>
  725.                             <Anchors>
  726.                                 <Anchor point="CENTER" x="0" y="0"/>
  727.                             </Anchors>
  728.                         </HighlightTexture>
  729.                     </Button>
  730.                     <Button name="CharacterCreateRotateRight">
  731.                         <Size x="50" y="50"/>
  732.                         <Anchors>
  733.                             <Anchor point="BOTTOM" x="16" y="-5"/>
  734.                         </Anchors>
  735.                         <HitRectInsets>
  736.                             <AbsInset left="13" right="13" top="10" bottom="13"/>
  737.                         </HitRectInsets>
  738.                         <Scripts>
  739.                             <OnLoad>
  740.                                 self:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
  741.                             </OnLoad>
  742.                             <OnClick>
  743.                                 PlaySound("igInventoryRotateCharacter");
  744.                             </OnClick>
  745.                             <OnUpdate>
  746.                                 CharacterCreateRotateRight_OnUpdate(self);
  747.                             </OnUpdate>
  748.                         </Scripts>
  749.                         <NormalTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Up"/>
  750.                         <PushedTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Down"/>
  751.                         <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
  752.                             <Size x="30" y="30"/>
  753.                             <Anchors>
  754.                                 <Anchor point="CENTER" x="0" y="0"/>
  755.                             </Anchors>
  756.                         </HighlightTexture>
  757.                     </Button>
  758.                     <Button name="CharCreateOkayButton" inherits="GlueButtonTemplate" text="CHARACTER_CREATE_ACCEPT">
  759.                         <Size x="160" y="35"/>
  760.                         <Anchors>
  761.                             <Anchor point="TOP" relativeTo="CharacterCreateCharacterClass" relativePoint="BOTTOM" x="4" y="-3"/>
  762.                         </Anchors>
  763.                         <Scripts>
  764.                             <OnClick>
  765.                                 CharacterCreate_Okay();
  766.                             </OnClick>
  767.                             <OnUpdate>
  768.                                 CharacterCreate_DeathKnightSwap(self);
  769.                             </OnUpdate>
  770.                         </Scripts>
  771.                     </Button>
  772.                     <Button name="CharCreateBackButton" inherits="GlueButtonSmallTemplate" text="BACK">
  773.                         <Size x="120" y="30"/>
  774.                         <Anchors>
  775.                             <Anchor point="TOP" relativeTo="CharCreateOkayButton" relativePoint="BOTTOM" x="4" y="3"/>
  776.                         </Anchors>
  777.                         <Scripts>
  778.                             <OnClick>
  779.                                 CharacterCreate_Back();
  780.                             </OnClick>
  781.                             <OnUpdate>
  782.                                 CharacterCreate_DeathKnightSwap(self);
  783.                             </OnUpdate>
  784.                         </Scripts>
  785.                     </Button>
  786.                 </Frames>
  787.                 <Scripts>
  788.                     <OnMouseDown>
  789.                         CharacterCreateFrame_OnMouseDown(button);
  790.                     </OnMouseDown>
  791.                     <OnMouseUp>
  792.                         CharacterCreateFrame_OnMouseUp(button);
  793.                     </OnMouseUp>
  794.                     <OnUpdate>
  795.                         CharacterCreateFrame_OnUpdate();
  796.                     </OnUpdate>
  797.                 </Scripts>
  798.             </Frame>
  799.         </Frames>
  800.         <Scripts>
  801.             <OnLoad>
  802.                 CharacterCreate_OnLoad(self);
  803.             </OnLoad>
  804.             <OnShow>
  805.                 CharacterCreate_OnShow();
  806.             </OnShow>
  807.             <OnHide>
  808.                 CharacterCreate_OnHide();
  809.             </OnHide>
  810.             <OnChar>
  811.                 CharacterCreate_OnChar();
  812.             </OnChar>
  813.             <OnKeyDown>
  814.                 CharacterCreate_OnKeyDown(key);
  815.             </OnKeyDown>
  816.             <OnUpdateModel>
  817.                 CharacterCreate_UpdateModel(self);
  818.             </OnUpdateModel>
  819.         </Scripts>
  820.     </ModelFFX>
  821. </Ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement