793 lines
31 KiB
XML
793 lines
31 KiB
XML
<!-- Autora: Noa -->
|
|
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
|
..\FrameXML\UI.xsd">
|
|
<Script file="CharacterCreate.lua"/>
|
|
<Frame name="CharacterCreateTooltip" frameStrata="TOOLTIP" hidden="true" parent="GlueParent" inherits="GlueTooltipTemplate">
|
|
<Scripts>
|
|
<OnLoad>
|
|
GlueTooltip_SetFont(self, CharacterCreateTooltipFont);
|
|
self:SetBackdropBorderColor(1.0, 1.0, 1.0);
|
|
self:SetBackdropColor(0.09, 0.09, 0.19 );
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<CheckButton name="CharacterCreateIconButtonTemplate" virtual="true" motionScriptsWhileDisabled="true">
|
|
<Size x="38" y="38"/>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<Texture name="$parentDisableTexture" hidden="true">
|
|
<Size x="38" y="38"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="CharacterCreateRaceButtonTemplate" inherits="CharacterCreateIconButtonTemplate" virtual="true">
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parentText" inherits="GlueFontNormalSmall">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativePoint="TOP" x="0" y="2"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
|
|
<Scripts>
|
|
<OnClick>
|
|
if( self.enable ) then
|
|
CharacterRace_OnClick(self, self:GetID());
|
|
CharacterCreateTooltip:Hide();
|
|
end
|
|
</OnClick>
|
|
<OnEnter>
|
|
-- GlueTooltip_SetOwner(self, CharacterCreateTooltip, -3, -5);
|
|
-- GlueTooltip_SetText(self.tooltip, CharacterCreateTooltip);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
-- CharacterCreateTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\Glues\CharacterCreate\UI-CHARACTERCREATE-RACES-ClASS">
|
|
<Size x="50" y="50"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</NormalTexture>
|
|
|
|
<PushedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\UI-CHARACTERCREATE-RACES-ClASS">
|
|
<Size x="50" y="50"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</PushedTexture>
|
|
</CheckButton>
|
|
|
|
<CheckButton name="CharacterCreateClassButtonTemplate" inherits="CharacterCreateIconButtonTemplate" virtual="true">
|
|
<Scripts>
|
|
<OnClick>
|
|
if( self.enable ) then
|
|
CharacterClass_OnClick(self:GetID());
|
|
CharacterCreateTooltip:Hide();
|
|
end
|
|
</OnClick>
|
|
<OnEnter>
|
|
-- GlueTooltip_SetOwner(self, CharacterCreateTooltip, -3, -5);
|
|
-- GlueTooltip_SetText(self.tooltip, CharacterCreateTooltip);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
-- CharacterCreateTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\Glues\CharacterCreate\UI-CHARACTERCREATE-RACES-ClASS">
|
|
<Size x="52" y="52"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</NormalTexture>
|
|
|
|
<PushedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\UI-CHARACTERCREATE-RACES-ClASS">
|
|
<Size x="52" y="52"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</PushedTexture>
|
|
</CheckButton>
|
|
|
|
<CheckButton name="CharacterCreateGenderButtonTemplate" inherits="CharacterCreateIconButtonTemplate" virtual="true">
|
|
<Scripts>
|
|
<OnEnter>
|
|
-- GlueTooltip_SetOwner(self, CharacterCreateTooltip, -3, -5);
|
|
-- GlueTooltip_SetText(MALE, CharacterCreateTooltip);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
-- CharacterCreateTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Gender_Round">
|
|
<Size x="38" y="38"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</NormalTexture>
|
|
|
|
<PushedTexture name="$parentPushedTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Gender_Round">
|
|
<Size x="38" y="38"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</PushedTexture>
|
|
</CheckButton>
|
|
|
|
<Frame name="CharacterCustomizationFrameTemplate" virtual="true">
|
|
<Size>
|
|
<AbsDimension x="230" y="32"/>
|
|
</Size>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parentBackground" file="Interface\Glues\CharacterCreate\charactercreate">
|
|
<Size>
|
|
<AbsDimension x="150" y="34"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="CENTER"/>
|
|
</Anchors>
|
|
<TexCoords left="0.508300781" right="0.656738281" top="0.244140625" bottom="0.279296875"/>
|
|
</Texture>
|
|
<FontString name="$parentText" inherits="GlueFontHighlightSmall">
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="2"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Button name="$parentRightButton">
|
|
<Size x="24" y="24"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" x="0" y="0"/>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self:GetNormalTexture():SetTexCoord(0.937500000, 0.976562500, 0.445312500, 0.462890625);
|
|
self:GetPushedTexture():SetTexCoord(0.716796875, 0.755859375, 0.537109375, 0.554687500);
|
|
</OnLoad>
|
|
<OnClick>
|
|
CharacterCustomization_Right(self:GetParent():GetID());
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Glues\Common\perks"/>
|
|
<PushedTexture file="Interface\Glues\Common\perks"/>
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
|
|
</Button>
|
|
<Button name="$parentLeftButton">
|
|
<Size x="24" y="24"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="0" y="0"/>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self:GetNormalTexture():SetTexCoord(0.936523438, 0.975585938, 0.200195313, 0.217773438);
|
|
self:GetPushedTexture():SetTexCoord(0.934570313, 0.973632813, 0.375000000, 0.392578125);
|
|
</OnLoad>
|
|
<OnClick>
|
|
CharacterCustomization_Left(self:GetParent():GetID());
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Glues\Common\perks"/>
|
|
<PushedTexture file="Interface\Glues\Common\perks"/>
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
<ModelFFX name="CharacterCreate" toplevel="true" parent="GlueParent" setAllPoints="true" enableKeyboard="true" hidden="true">
|
|
<Frames>
|
|
<Frame name="CharacterCreateFrame" setAllPoints="true" enableMouse="true">
|
|
<Frames>
|
|
<Frame name="CharacterCreateWoWLogo" hidden="true">
|
|
<Size x="256" y="128"/>
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" x="-9" y="0"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<Texture name="CharacterCreateLogo" file="Interface\Glues\Common\Glues-WoW-WotLKLogo" hidden="true">
|
|
<Size x="256" y="128"/>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativePoint="TOPLEFT" x="128" y="0"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
<Frame name="CharacterCreateCharacterRace" hidden="true">
|
|
<Size x="267" y="287"/>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="CharacterCreateWoWLogo" relativePoint="BOTTOM" x="-5" y="5"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BORDER">
|
|
<Texture name="CharacterCreateRaceIcon" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-RacesRound">
|
|
<Size x="48" y="48"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="4" y="-4"/>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.375" top="0" bottom="0.75"/>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="ARTWORK">
|
|
<Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreate-InfoBox" setAllPoints="true">
|
|
<TexCoords left="0.005859375" right="0.52734375" top="0.005859375" bottom="0.56640625"/>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<FontString name="CharacterCreateRaceLabel" inherits="FactionName_Shadow_Huge" justifyH="LEFT" text="RACE">
|
|
<Size x="220" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="TOP" x="40" y="-10"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background">
|
|
<BackgroundInsets>
|
|
<AbsInset left="12" right="3" top="20" bottom="6"/>
|
|
</BackgroundInsets>
|
|
</Backdrop>
|
|
<Frames>
|
|
<ScrollFrame name="CharacterCreateRaceScrollFrame" inherits="GlueScrollFrameTemplate">
|
|
<Size x="220" y="220"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="20" y="-55"/>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
CharacterCreateRaceScrollFrameScrollBar:ClearAllPoints();
|
|
CharacterCreateRaceScrollFrameScrollBar:SetPoint("TOPLEFT", CharacterCreateRaceScrollFrame, "TOPRIGHT", 7, 4);
|
|
CharacterCreateRaceScrollFrameScrollBar:SetPoint("BOTTOMLEFT", CharacterCreateRaceScrollFrame, "BOTTOMRIGHT", 7, 12);
|
|
GlueScrollFrame_OnScrollRangeChanged(self, yrange);
|
|
</OnLoad>
|
|
<OnScrollRangeChanged>
|
|
GlueScrollFrame_OnScrollRangeChanged(self, yrange);
|
|
</OnScrollRangeChanged>
|
|
</Scripts>
|
|
<ScrollChild>
|
|
<Frame name="CharacterCreateRaceScrollChild">
|
|
<Size x="220" y="10"/>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="CharacterCreateRaceAbilityText" inherits="GlueFontNormalSmall" justifyH="LEFT">
|
|
<Size x="220" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="0" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="CharacterCreateRaceText" inherits="GlueFontCharacterCreate" justifyH="LEFT">
|
|
<Size x="220" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceAbilityText" relativePoint="BOTTOMLEFT" x="0" y="-2"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
</ScrollChild>
|
|
</ScrollFrame>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="CharacterCreateCharacterClass" hidden="true">
|
|
<Size x="267" y="287"/>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="CharacterCreateCharacterRace" relativePoint="BOTTOM" x="-5" y="-5"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BORDER">
|
|
<Texture name="CharacterCreateClassIcon" file="Interface\TargetingFrame\UI-Classes-Circles" hidden="">
|
|
<Size x="48" y="48"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="4" y="-4"/>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.375" top="0" bottom="0.75"/>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="ARTWORK">
|
|
<Texture file="Interface\Glues\CharacterCreate\UI-CharacterCreate-InfoBox" setAllPoints="true">
|
|
<TexCoords left="0.005859375" right="0.52734375" top="0.005859375" bottom="0.56640625"/>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<FontString name="CharacterCreateClassLabel" inherits="FactionName_Shadow_Huge" justifyH="LEFT" text="RACE">
|
|
<Size x="220" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="TOP" x="40" y="-10"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background">
|
|
<BackgroundInsets>
|
|
<AbsInset left="12" right="3" top="20" bottom="6"/>
|
|
</BackgroundInsets>
|
|
</Backdrop>
|
|
<Frames>
|
|
<ScrollFrame name="CharacterCreateClassScrollFrame" inherits="GlueScrollFrameTemplate">
|
|
<Size x="220" y="220"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="20" y="-55"/>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
CharacterCreateClassScrollFrameScrollBar:ClearAllPoints();
|
|
CharacterCreateClassScrollFrameScrollBar:SetPoint("TOPLEFT", CharacterCreateClassScrollFrame, "TOPRIGHT", 7, 4);
|
|
CharacterCreateClassScrollFrameScrollBar:SetPoint("BOTTOMLEFT", CharacterCreateClassScrollFrame, "BOTTOMRIGHT", 7, 12);
|
|
GlueScrollFrame_OnScrollRangeChanged(self, yrange);
|
|
</OnLoad>
|
|
<OnScrollRangeChanged>
|
|
GlueScrollFrame_OnScrollRangeChanged(self, yrange);
|
|
</OnScrollRangeChanged>
|
|
</Scripts>
|
|
<ScrollChild>
|
|
<Frame name="CharacterCreateClassScrollChild">
|
|
<Size x="220" y="10"/>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="CharacterCreateClassRolesText" inherits="GlueFontNormalSmall" justifyH="LEFT">
|
|
<Size x="220" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" x="0" y="0"/>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="CharacterCreateClassText" inherits="GlueFontCharacterCreate" justifyH="LEFT">
|
|
<Size x="220" y="0"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="CharacterCreateClassRolesText" relativePoint="BOTTOMLEFT" x="0" y="-2"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
</ScrollChild>
|
|
</ScrollFrame>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="CharacterCreateConfigurationFrame">
|
|
<Size x="256" y="758"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="CharacterCreateFrame" relativePoint="TOPLEFT" x="9" y="-5"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="CharacterCreateConfigurationBackground" file="Interface\Tooltips\UI-Tooltip-Background" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="CharacterCreateOuterBorder1" relativePoint="TOPLEFT" x="10" y="-8"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeTo="CharacterCreateOuterBorder3" relativePoint="BOTTOMRIGHT" x="-10" y="8"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<FontString name="CharacterCreateGender" inherits="CharacterCreateTooltipFont" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-388"/>
|
|
</Anchors>
|
|
<Color r="1.0" g="0.78" b="0"/>
|
|
</FontString>
|
|
<FontString name="CharacterCreateClassName" inherits="CharacterCreateTooltipFont" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-456"/>
|
|
</Anchors>
|
|
<Color r="1.0" g="0.78" b="0"/>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<!-- Frame contenedor para botones de raza -->
|
|
<Frame name="CharacterCreateRaceButtonsContainer">
|
|
<Size x="1000" y="600"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativePoint="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
<Frames>
|
|
<CheckButton name="CharacterCreateRaceButton1" inherits="CharacterCreateRaceButtonTemplate" id="1"/>
|
|
<CheckButton name="CharacterCreateRaceButton2" inherits="CharacterCreateRaceButtonTemplate" id="2"/>
|
|
<CheckButton name="CharacterCreateRaceButton3" inherits="CharacterCreateRaceButtonTemplate" id="3"/>
|
|
<CheckButton name="CharacterCreateRaceButton4" inherits="CharacterCreateRaceButtonTemplate" id="4"/>
|
|
<CheckButton name="CharacterCreateRaceButton5" inherits="CharacterCreateRaceButtonTemplate" id="5"/>
|
|
<CheckButton name="CharacterCreateRaceButton6" inherits="CharacterCreateRaceButtonTemplate" id="6"/>
|
|
<CheckButton name="CharacterCreateRaceButton7" inherits="CharacterCreateRaceButtonTemplate" id="7"/>
|
|
<CheckButton name="CharacterCreateRaceButton8" inherits="CharacterCreateRaceButtonTemplate" id="8"/>
|
|
<CheckButton name="CharacterCreateRaceButton9" inherits="CharacterCreateRaceButtonTemplate" id="9"/>
|
|
<CheckButton name="CharacterCreateRaceButton10" inherits="CharacterCreateRaceButtonTemplate" id="10"/>
|
|
</Frames>
|
|
</Frame>
|
|
<!-- Frame contenedor para botones de género -->
|
|
<Frame name="CharacterCreateGenderButtonsContainer">
|
|
<Size x="200" y="50"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" relativePoint="CENTER" x="0" y="-250"/>
|
|
</Anchors>
|
|
<Frames>
|
|
<CheckButton name="CharacterCreateGenderButtonMale" inherits="CharacterCreateGenderButtonTemplate">
|
|
<Scripts>
|
|
<OnLoad>
|
|
_G[self:GetName().."NormalTexture"]:SetTexCoord(0, 0.5, 0, 1.0);
|
|
_G[self:GetName().."PushedTexture"]:SetTexCoord(0, 0.5, 0, 1.0);
|
|
</OnLoad>
|
|
<OnClick>
|
|
PlaySound("gsCharacterCreationClass");
|
|
if ( GetSelectedSex() ~= SEX_MALE ) then
|
|
SetCharacterGender(SEX_MALE);
|
|
end
|
|
</OnClick>
|
|
<OnEnter>
|
|
GlueTooltip_SetOwner(self, CharacterCreateTooltip, -70, 5);
|
|
GlueTooltip_SetText(MALE, CharacterCreateTooltip);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
CharacterCreateTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="CharacterCreateGenderButtonFemale" inherits="CharacterCreateGenderButtonTemplate">
|
|
<Scripts>
|
|
<OnLoad>
|
|
_G[self:GetName().."NormalTexture"]:SetTexCoord(0.5, 1.0, 0, 1.0);
|
|
_G[self:GetName().."PushedTexture"]:SetTexCoord(0.5, 1.0, 0, 1.0);
|
|
</OnLoad>
|
|
<OnClick>
|
|
PlaySound("gsCharacterCreationClass");
|
|
if ( GetSelectedSex() ~= SEX_FEMALE ) then
|
|
SetCharacterGender(SEX_FEMALE);
|
|
end
|
|
</OnClick>
|
|
<OnEnter>
|
|
GlueTooltip_SetOwner(self, CharacterCreateTooltip, -70, 5);
|
|
GlueTooltip_SetText(FEMALE, CharacterCreateTooltip);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
CharacterCreateTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<!-- Frame contenedor para botones de clase -->
|
|
<Frame name="CharacterCreateClassButtonsContainer">
|
|
<Size x="900" y="100"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativePoint="BOTTOM" x="0" y="50"/>
|
|
</Anchors>
|
|
<Frames>
|
|
<CheckButton name="CharacterCreateClassButton1" inherits="CharacterCreateClassButtonTemplate" id="1"/>
|
|
<CheckButton name="CharacterCreateClassButton2" inherits="CharacterCreateClassButtonTemplate" id="2"/>
|
|
<CheckButton name="CharacterCreateClassButton3" inherits="CharacterCreateClassButtonTemplate" id="3"/>
|
|
<CheckButton name="CharacterCreateClassButton4" inherits="CharacterCreateClassButtonTemplate" id="4"/>
|
|
<CheckButton name="CharacterCreateClassButton5" inherits="CharacterCreateClassButtonTemplate" id="5"/>
|
|
<CheckButton name="CharacterCreateClassButton6" inherits="CharacterCreateClassButtonTemplate" id="6"/>
|
|
<CheckButton name="CharacterCreateClassButton7" inherits="CharacterCreateClassButtonTemplate" id="7"/>
|
|
<CheckButton name="CharacterCreateClassButton8" inherits="CharacterCreateClassButtonTemplate" id="8"/>
|
|
<CheckButton name="CharacterCreateClassButton9" inherits="CharacterCreateClassButtonTemplate" id="9"/>
|
|
<CheckButton name="CharacterCreateClassButton10" inherits="CharacterCreateClassButtonTemplate" id="10"/>
|
|
</Frames>
|
|
</Frame>
|
|
<!-- Frames de personalización independientes -->
|
|
<Frame name="CharacterCustomizationButtonFrame1" inherits="CharacterCustomizationFrameTemplate" id="1">
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="900" y="150"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame name="CharacterCustomizationButtonFrame2" inherits="CharacterCustomizationFrameTemplate" id="2">
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="900" y="100"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame name="CharacterCustomizationButtonFrame3" inherits="CharacterCustomizationFrameTemplate" id="3">
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="900" y="50"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame name="CharacterCustomizationButtonFrame4" inherits="CharacterCustomizationFrameTemplate" id="4">
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="900" y="00"/>
|
|
</Anchors>
|
|
</Frame>
|
|
<Frame name="CharacterCustomizationButtonFrame5" inherits="CharacterCustomizationFrameTemplate" id="5">
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="900" y="-50"/>
|
|
</Anchors>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
<EditBox name="CharacterCreateNameEdit" inherits="GlueDark_EditBoxTemplate" letters="12">
|
|
<Size x="156" y="40"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" x="0" y="55"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString inherits="GlueFontNormalLarge" text="NAME">
|
|
<Size x="256" y="64"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-13"/>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnEscapePressed>
|
|
CharacterCreate_Back();
|
|
</OnEscapePressed>
|
|
<OnEnterPressed>
|
|
CharacterCreate_Okay();
|
|
</OnEnterPressed>
|
|
</Scripts>
|
|
<TextInsets>
|
|
<AbsInset left="15" right="12" top="8" bottom="8"/>
|
|
</TextInsets>
|
|
</EditBox>
|
|
<Button name="CharacterCreateRandomName" inherits="GlueButtonSmallTemplate" text="RANDOMIZE" hidden="true">
|
|
<Size x="146" y="30"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="CharacterCreateNameEdit" relativePoint="RIGHT" x="-30" y="35"/>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self:SetWidth(self:GetTextWidth() + 50);
|
|
</OnLoad>
|
|
<OnClick>
|
|
CharacterCreateNameEdit:SetText(GetRandomName());
|
|
PlaySound("gsCharacterCreationLook");
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="CharCreateRandomizeButton" inherits="GlueButtonSmallTemplate" text="RANDOMIZE" hidden="true">
|
|
<Size x="146" y="30"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="280" y="-100"/>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
CharacterCreate_Randomize();
|
|
</OnClick>
|
|
<OnUpdate>
|
|
CharacterCreate_DeathKnightSwap(self);
|
|
</OnUpdate>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="CharacterCreateRotateLeft">
|
|
<Size x="36" y="36"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="250" y="200"/>
|
|
</Anchors>
|
|
<HitRectInsets>
|
|
<AbsInset left="5" right="5" top="5" bottom="5"/>
|
|
</HitRectInsets>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
|
|
</OnLoad>
|
|
<OnClick>
|
|
PlaySound("igInventoryRotateCharacter");
|
|
</OnClick>
|
|
<OnUpdate>
|
|
CharacterCreateRotateLeft_OnUpdate(self);
|
|
</OnUpdate>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Up">
|
|
<TexCoords left="1.0" right="0" top="0" bottom="1.0"/>
|
|
</NormalTexture>
|
|
<PushedTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Down">
|
|
<TexCoords left="1.0" right="0" top="0" bottom="1.0"/>
|
|
</PushedTexture>
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
|
|
<Size x="30" y="30"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</HighlightTexture>
|
|
</Button>
|
|
<Button name="CharacterCreateRotateRight">
|
|
<Size x="36" y="36"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="300" y="200"/>
|
|
</Anchors>
|
|
<HitRectInsets>
|
|
<AbsInset left="5" right="5" top="5" bottom="5"/>
|
|
</HitRectInsets>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
|
|
</OnLoad>
|
|
<OnClick>
|
|
PlaySound("igInventoryRotateCharacter");
|
|
</OnClick>
|
|
<OnUpdate>
|
|
CharacterCreateRotateRight_OnUpdate(self);
|
|
</OnUpdate>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Up"/>
|
|
<PushedTexture file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Down"/>
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
|
|
<Size x="30" y="30"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</HighlightTexture>
|
|
</Button>
|
|
|
|
<Button name="CharacterCreateRotateLeft30">
|
|
<Size x="28" y="28"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="350" y="200"/>
|
|
</Anchors>
|
|
<HitRectInsets>
|
|
<AbsInset left="5" right="5" top="5" bottom="5"/>
|
|
</HitRectInsets>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self:RegisterForClicks("LeftButtonDown");
|
|
</OnLoad>
|
|
<OnClick>
|
|
PlaySound("igInventoryRotateCharacter");
|
|
CharacterCreate_RotateLeft30();
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Glues\CharacterCreate\charactercreate">
|
|
<TexCoords left="0.256347656" right="0.294921875" top="0.921386719" bottom="0.956542969"/>
|
|
</NormalTexture>
|
|
<PushedTexture file="Interface\Glues\CharacterCreate\charactercreate">
|
|
<TexCoords left="0.218261719" right="0.256835938" top="0.921386719" bottom="0.957031250"/>
|
|
</PushedTexture>
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
|
|
<Size x="30" y="30"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</HighlightTexture>
|
|
</Button>
|
|
|
|
<Button name="CharacterCreateRotateRight30">
|
|
<Size x="28" y="28"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="400" y="200"/>
|
|
</Anchors>
|
|
<HitRectInsets>
|
|
<AbsInset left="5" right="5" top="5" bottom="5"/>
|
|
</HitRectInsets>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self:RegisterForClicks("LeftButtonDown");
|
|
</OnLoad>
|
|
<OnClick>
|
|
PlaySound("igInventoryRotateCharacter");
|
|
CharacterCreate_RotateRight30();
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Glues\CharacterCreate\charactercreate">
|
|
<TexCoords left="0.256835938" right="0.295410156" top="0.958007813" bottom="0.994140625"/>
|
|
</NormalTexture>
|
|
<PushedTexture file="Interface\Glues\CharacterCreate\charactercreate">
|
|
<TexCoords left="0.218750000" right="0.257324219" top="0.958007813" bottom="0.994140625"/>
|
|
</PushedTexture>
|
|
<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
|
|
<Size x="30" y="30"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" x="0" y="0"/>
|
|
</Anchors>
|
|
</HighlightTexture>
|
|
</Button>
|
|
|
|
<Button name="CharCreatePersonalizeButton" inherits="GlueButtonTemplate" text="CHARACTER_CREATE_CUSTOMIZE">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" x="-40" y="20"/>
|
|
</Anchors>
|
|
<Size x="150" y="50"/>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<Texture name="$parentIcon" file="Interface\Glues\Common\Arrow">
|
|
<Size x="20" y="20"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" x="-13" y="2"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick>
|
|
CharacterCreate_TogglePersonalization();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button name="CharCreateOkayButton" inherits="GlueButtonTemplate" text="CHARACTER_CREATE_ACCEPT" hidden="true">
|
|
<Size x="150" y="50"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" x="-40" y="20"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<Texture name="$parentIcon" file="Interface\Glues\Common\Arrow">
|
|
<Size x="20" y="20"/>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" x="-30" y="2"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick>
|
|
CharacterCreate_Okay();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button name="CharCreateBackButton" inherits="GlueButtonTemplate" text="BACK">
|
|
<Size x="150" y="50"/>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" x="40" y="20"/>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<Texture name="$parentIcon" file="Interface\Glues\Common\Arrow">
|
|
<Size x="20" y="20"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" x="38" y="2"/>
|
|
</Anchors>
|
|
<TexCoords left="1.0" right="0.0" top="0.0" bottom="1.0"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick>
|
|
CharacterCreate_Back();
|
|
</OnClick>
|
|
<OnUpdate>
|
|
CharacterCreate_DeathKnightSwap(self);
|
|
</OnUpdate>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
</Frames>
|
|
<Scripts>
|
|
<OnMouseDown>
|
|
CharacterCreateFrame_OnMouseDown(button);
|
|
</OnMouseDown>
|
|
<OnMouseUp>
|
|
CharacterCreateFrame_OnMouseUp(button);
|
|
</OnMouseUp>
|
|
<OnUpdate>
|
|
CharacterCreateFrame_OnUpdate();
|
|
</OnUpdate>
|
|
</Scripts>
|
|
</Frame>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnLoad>
|
|
CharacterCreate_OnLoad(self);
|
|
</OnLoad>
|
|
<OnShow>
|
|
CharacterCreate_OnShow();
|
|
CharacterCreateRandomName:Show();
|
|
</OnShow>
|
|
<OnHide>
|
|
CharacterCreate_OnHide();
|
|
</OnHide>
|
|
<OnChar>
|
|
CharacterCreate_OnChar();
|
|
</OnChar>
|
|
<OnKeyDown>
|
|
CharacterCreate_OnKeyDown(key);
|
|
</OnKeyDown>
|
|
<OnUpdateModel>
|
|
CharacterCreate_UpdateModel(self);
|
|
</OnUpdateModel>
|
|
</Scripts>
|
|
</ModelFFX>
|
|
</Ui>
|