Files
GlueXML/CharacterSelect.xml
T
paste 13d77d77c9 Initial: Turtle WoW Glue XML baseline
Pristine baseline for the four Glue files we'll customize:
- AccountLogin.lua / .xml
- CharacterSelect.lua / .xml

Source: c:/WoW/Octo/BlizzardInterfaceCode/GlueXML (Turtle WoW).
Other files in BlizzardInterfaceCode/GlueXML are not tracked here since we don't override them on top of the MPQ-provided copies.
2026-06-22 23:31:46 -05:00

878 lines
26 KiB
XML

<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="CharacterSelect.lua"/>
<Button name="CharSelectCharacterButtonTemplate" virtual="true" hidden="true">
<Size>
<AbsDimension x="256" y="70"/>
</Size>
<HitRectInsets>
<AbsInset left="0" right="0" top="0" bottom="15"/>
</HitRectInsets>
<Frames>
<Frame name="$parentButtonText" setAllPoints="true">
<Layers>
<Layer level="BORDER">
<FontString name="$parentName" inherits="GlueFontNormal" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentInfo" inherits="GlueFontHighlightSmall" justifyH="LEFT">
<Size>
<AbsDimension x="217" y="12"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentName" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentLocation" inherits="GlueFontDisableSmall" justifyH="LEFT">
<Size>
<AbsDimension x="217" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentInfo" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
</Frames>
<Scripts>
<OnClick>
CharacterSelectButton_OnClick();
</OnClick>
<OnDoubleClick>
CharacterSelectButton_OnDoubleClick();
</OnDoubleClick>
</Scripts>
<HighlightTexture file="Interface\Glues\CharacterSelect\Glue-CharacterSelect-Highlight" alphaMode="ADD">
<Size>
<AbsDimension x="256" y="74"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="-20" y="8"/>
</Offset>
</Anchor>
</Anchors>
</HighlightTexture>
<NormalFont inherits="GlueFontNormal"/>
<HighlightFont inherits="GlueFontHighlight"/>
</Button>
<ModelFFX name="CharacterSelect" setAllPoints="true" hidden="true" parent="GlueParent" enableKeyboard="true">
<Frames>
<Frame name="CharacterSelectUI" setAllPoints="true" hidden="false" enableMouse="true">
<Layers>
<Layer level="ARTWORK">
<FontString name="CharSelectCharacterName" inherits="GlueFontNormalHuge">
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="0" y="100"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="OVERLAY">
<Texture name="CharacterSelectLogo" file="Interface\Glues\Common\Glues-WoW-Logo">
<Size>
<AbsDimension x="256" y="128"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="3" y="-7"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Button name="CharSelectEnterWorldButton" inherits="GlueButtonTemplate" text="ENTER_WORLD">
<Size>
<AbsDimension x="200" y="60"/>
</Size>
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="0" y="30"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
CharacterSelect_EnterWorld();
</OnClick>
</Scripts>
<NormalText>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="-1" y="3"/>
</Offset>
</Anchor>
</Anchors>
</NormalText>
</Button>
<Button name="CharacterSelectRotateLeft">
<Size>
<AbsDimension x="50" y="50"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="CharSelectEnterWorldButton" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="-15" y="19"/>
</Offset>
</Anchor>
</Anchors>
<HitRectInsets>
<AbsInset left="13" right="13" top="10" bottom="13"/>
</HitRectInsets>
<Scripts>
<OnUpdate>
CharacterSelectRotateLeft_OnUpdate();
</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>
<AbsDimension x="30" y="30"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</HighlightTexture>
</Button>
<Button name="CharacterSelectRotateRight">
<Size>
<AbsDimension x="50" y="50"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="CharacterSelectRotateLeft" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-19" y="0"/>
</Offset>
</Anchor>
</Anchors>
<HitRectInsets>
<AbsInset left="13" right="13" top="10" bottom="13"/>
</HitRectInsets>
<Scripts>
<OnUpdate>
CharacterSelectRotateRight_OnUpdate();
</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>
<AbsDimension x="30" y="30"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</HighlightTexture>
</Button>
<Button name="CharacterSelectBackButton" inherits="GlueButtonSmallTemplate" text="BACK">
<Size>
<AbsDimension x="100" y="35"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-30" y="25"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
CharacterSelect_Exit();
</OnClick>
</Scripts>
</Button>
<Button name="CharacterSelectAddonsButton" inherits="GlueButtonSmallTemplate" hidden="true" text="ADDONS">
<Size>
<AbsDimension x="100" y="35"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="30" y="25"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture name="$parentGlow" file="Interface\Glues\Common\Glue-Panel-Button-Glow" hidden="true" alphaMode="ADD">
<TexCoords left="0" right="0.578125" top="0" bottom="0.75"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
AddonList:Show();
</OnClick>
<OnUpdate>
GlueButtonMaster_OnUpdate(arg1);
</OnUpdate>
</Scripts>
</Button>
<Button name="CharacterSelectDeleteButton" inherits="GlueButtonSmallTemplate" text="DELETE_CHARACTER">
<Size>
<AbsDimension x="165" y="35"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="CharacterSelectBackButton" relativePoint="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
CharacterSelect_Delete();
</OnClick>
</Scripts>
</Button>
<Frame name="CharacterSelectCharacterFrame">
<Size>
<AbsDimension x="260" y="642"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-5" y="-15"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="CharSelectRealmName" inherits="GlueFontDisableLarge">
<Size>
<AbsDimension x="256" y="13"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="CharSelectChangeRealmButton" inherits="GlueButtonSmallTemplate" text="CHANGE_REALM">
<Size>
<AbsDimension x="135" y="33"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="CharSelectRealmName" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this:SetWidth(this:GetTextWidth() + 50);
</OnLoad>
<OnClick>
CharacterSelect_ChangeRealm();
</OnClick>
</Scripts>
</Button>
<Button name="CharSelectCharacterButton1" inherits="CharSelectCharacterButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="24" y="-65"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CharSelectCharacterButton2" inherits="CharSelectCharacterButtonTemplate" id="2">
<Anchors>
<Anchor point="TOP" relativeTo="CharSelectCharacterButton1" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="13"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CharSelectCharacterButton3" inherits="CharSelectCharacterButtonTemplate" id="3">
<Anchors>
<Anchor point="TOP" relativeTo="CharSelectCharacterButton2" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="13"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CharSelectCharacterButton4" inherits="CharSelectCharacterButtonTemplate" id="4">
<Anchors>
<Anchor point="TOP" relativeTo="CharSelectCharacterButton3" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="13"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CharSelectCharacterButton5" inherits="CharSelectCharacterButtonTemplate" id="5">
<Anchors>
<Anchor point="TOP" relativeTo="CharSelectCharacterButton4" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="13"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CharSelectCharacterButton6" inherits="CharSelectCharacterButtonTemplate" id="6">
<Anchors>
<Anchor point="TOP" relativeTo="CharSelectCharacterButton5" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="13"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CharSelectCharacterButton7" inherits="CharSelectCharacterButtonTemplate" id="7">
<Anchors>
<Anchor point="TOP" relativeTo="CharSelectCharacterButton6" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="13"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CharSelectCharacterButton8" inherits="CharSelectCharacterButtonTemplate" id="8">
<Anchors>
<Anchor point="TOP" relativeTo="CharSelectCharacterButton7" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="13"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CharSelectCharacterButton9" inherits="CharSelectCharacterButtonTemplate" id="9">
<Anchors>
<Anchor point="TOP" relativeTo="CharSelectCharacterButton8" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="13"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CharSelectCharacterButton10" inherits="CharSelectCharacterButtonTemplate" id="10">
<Anchors>
<Anchor point="TOP" relativeTo="CharSelectCharacterButton9" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="13"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="CharSelectCreateCharacterButton" inherits="GlueButtonSmallTemplate" hidden="true" text="CREATE_NEW_CHARACTER">
<Size>
<AbsDimension x="200" y="45"/>
</Size>
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="0" y="15"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this:SetWidth(this:GetTextWidth() + 50);
</OnLoad>
<OnClick>
CharacterSelect_SelectCharacter(this:GetID());
</OnClick>
</Scripts>
</Button>
</Frames>
<Backdrop bgFile="Interface\Glues\Common\Glue-Tooltip-Background" edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
<BackgroundInsets>
<AbsInset left="10" right="5" top="4" bottom="9"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
</Backdrop>
</Frame>
</Frames>
<Scripts>
<OnMouseDown>
CharacterSelectFrame_OnMouseDown(arg1);
</OnMouseDown>
<OnMouseUp>
CharacterSelectFrame_OnMouseUp(arg1);
</OnMouseUp>
<OnUpdate>
CharacterSelectFrame_OnUpdate();
</OnUpdate>
</Scripts>
</Frame>
<Frame name="BillingWarningFrame" hidden="true">
<Layers>
<Layer level="ARTWORK">
<FontString name="BillingWarningText" inherits="GlueFontHighlight">
<Size>
<AbsDimension x="300" y="0"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativeTo="CharacterSelect" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="200" y="120"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="BillingWarningButton" inherits="GlueButtonTemplate" text="MANAGE_ACCOUNT">
<Anchors>
<Anchor point="BOTTOM" relativeTo="CharacterSelect" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="200" y="50"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
CharacterSelect_ManageAccount();
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
<Frame name="GameRoomBillingFrame" hidden="true">
<Size>
<AbsDimension x="255" y="60"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="-120"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="GameRoomBillingFrameText" inherits="GlueFontNormalSmall" justifyH="LEFT">
<Size>
<AbsDimension x="235" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="13" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Backdrop bgFile="Interface\Glues\Common\Glue-Tooltip-Background" edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
<BackgroundInsets>
<AbsInset left="10" right="5" top="4" bottom="9"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
</Backdrop>
</Frame>
</Frames>
<Scripts>
<OnLoad>
CharacterSelect_OnLoad();
</OnLoad>
<OnShow>
CharacterSelect_OnShow();
</OnShow>
<OnHide>
CharacterSelect_OnHide();
</OnHide>
<OnChar>
CharacterSelect_OnChar();
</OnChar>
<OnKeyDown>
CharacterSelect_OnKeyDown();
</OnKeyDown>
<OnEvent>
CharacterSelect_OnEvent();
</OnEvent>
<OnUpdateModel>
CharacterSelect_UpdateModel();
</OnUpdateModel>
</Scripts>
</ModelFFX>
<Frame name="CharacterDeleteDialog" toplevel="true" parent="GlueParent" setAllPoints="true" enableMouse="true" enableKeyboard="true" frameStrata="DIALOG" hidden="true">
<Frames>
<Frame name="CharacterDeleteBackground">
<Size>
<AbsDimension x="512" y="256"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<BackgroundInsets>
<AbsInset left="11" right="12" top="12" bottom="11"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="32"/>
</TileSize>
<EdgeSize>
<AbsValue val="32"/>
</EdgeSize>
</Backdrop>
<Layers>
<Layer level="ARTWORK">
<FontString name="CharacterDeleteText1" inherits="GlueFontNormalLarge">
<Size>
<AbsDimension x="400" y="0"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-16"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="CharacterDeleteText2" inherits="GlueFontNormalSmall" text="CONFIRM_CHAR_DELETE_INSTRUCTIONS">
<Size>
<AbsDimension x="400" y="0"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="CharacterDeleteText1" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-20"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<Texture name="CharacterDeleteAlertIcon" file="Interface\DialogFrame\DialogAlertIcon">
<Size>
<AbsDimension x="64" y="64"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="12" y="4"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Button name="CharacterDeleteButton1" inherits="GlueDialogButtonTemplate" id="1" text="CONFIRM">
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="CharacterDeleteBackground" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="-6" y="16"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
DeleteCharacter(CharacterSelect.selectedIndex);
CharacterDeleteDialog:Hide();
PlaySound("gsTitleOptionOK");
</OnClick>
</Scripts>
</Button>
<Button name="CharacterDeleteButton2" inherits="GlueDialogButtonTemplate" id="2" text="CANCEL">
<Anchors>
<Anchor point="LEFT" relativeTo="CharacterDeleteButton1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
CharacterDeleteDialog:Hide();
PlaySound("gsTitleOptionExit");
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
<EditBox name="CharacterDeleteEditBox" letters="32" historyLines="1">
<Size>
<AbsDimension x="130" y="32"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="CharacterDeleteText2" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
<Size>
<AbsDimension x="75" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="-10" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.29296875" top="0" bottom="1.0"/>
</Texture>
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
<Size>
<AbsDimension x="75" y="32"/>
</Size>
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnTextChanged>
if ( strupper(this:GetText()) == strupper(DELETE_CONFIRM_STRING) ) then
CharacterDeleteButton1:Enable();
else
CharacterDeleteButton1:Disable();
end
</OnTextChanged>
<OnEnterPressed>
if ( CharacterDeleteButton1:IsEnabled() == 1 ) then
DeleteCharacter(CharacterSelect.selectedIndex);
CharacterDeleteDialog:Hide();
end
</OnEnterPressed>
<OnEscapePressed>
CharacterDeleteDialog:Hide();
</OnEscapePressed>
</Scripts>
<FontString inherits="GlueFontHighlight"/>
</EditBox>
</Frames>
<Scripts>
<OnShow>
this:Raise();
CharacterDeleteDialog_OnShow();
</OnShow>
<OnHide>
CharacterDeleteEditBox:SetText("");
</OnHide>
</Scripts>
</Frame>
<Frame name="CharacterRenameDialog" toplevel="true" parent="GlueParent" setAllPoints="true" enableMouse="true" enableKeyboard="true" frameStrata="DIALOG" hidden="true">
<Frames>
<Frame name="CharacterRenameBackground">
<Size>
<AbsDimension x="512" y="256"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<BackgroundInsets>
<AbsInset left="11" right="12" top="12" bottom="11"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="32"/>
</TileSize>
<EdgeSize>
<AbsValue val="32"/>
</EdgeSize>
</Backdrop>
<Layers>
<Layer level="ARTWORK">
<FontString name="CharacterRenameText1" inherits="GlueFontNormalLarge" text="CHAR_RENAME_DESCRIPTION">
<Size>
<AbsDimension x="400" y="0"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-16"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="CharacterRenameText2" inherits="GlueFontNormalSmall" text="CHAR_RENAME_INSTRUCTIONS">
<Size>
<AbsDimension x="400" y="0"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="CharacterRenameText1" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-20"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<Texture name="CharacterRenameAlertIcon" file="Interface\DialogFrame\DialogAlertIcon">
<Size>
<AbsDimension x="64" y="64"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="12" y="4"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Button name="CharacterRenameButton1" inherits="GlueDialogButtonTemplate" id="1" text="CONFIRM">
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="CharacterRenameBackground" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="-6" y="16"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
if ( RenameCharacter(CharacterSelect.selectedIndex, CharacterRenameEditBox:GetText()) ) then
CharacterRenameDialog:Hide();
end
</OnClick>
</Scripts>
</Button>
<Button name="CharacterRenameButton2" inherits="GlueDialogButtonTemplate" id="2" text="CANCEL">
<Anchors>
<Anchor point="LEFT" relativeTo="CharacterRenameButton1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
CharacterRenameDialog:Hide();
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
<EditBox name="CharacterRenameEditBox" letters="12" historyLines="1">
<Size>
<AbsDimension x="130" y="32"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="CharacterRenameText2" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
<Size>
<AbsDimension x="75" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="-10" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.29296875" top="0" bottom="1.0"/>
</Texture>
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
<Size>
<AbsDimension x="75" y="32"/>
</Size>
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnEnterPressed>
if ( RenameCharacter(CharacterSelect.selectedIndex, CharacterRenameEditBox:GetText()) ) then
CharacterRenameDialog:Hide();
end
</OnEnterPressed>
<OnEscapePressed>
CharacterRenameDialog:Hide();
</OnEscapePressed>
</Scripts>
<FontString inherits="GlueFontHighlight"/>
</EditBox>
</Frames>
<Scripts>
<OnShow>
this:Raise();
</OnShow>
<OnHide>
CharacterRenameEditBox:SetText("");
</OnHide>
</Scripts>
</Frame>
</Ui>