📄 mapnotessendframe.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/ C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
<Frame name="MapNotesSendFrame" hidden="true" parent="WorldMapFrame">
<Size>
<AbsDimension x="400" y="180"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</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">
<Texture name="MapNotesSendHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
<Size>
<AbsDimension x="256" y="64"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="12"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString inherits="GameFontNormal" text="MAPNOTES_SEND_MENU">
<Anchors>
<Anchor point="TOP" relativeTo="MapNotesSendHeader">
<Offset>
<AbsDimension x="0" y="-14"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="MapNotesChangeSendMenu" inherits="MapNotesButtonTemplate" text="MAPNOTES_SLASHCOMMAND">
<Anchors>
<Anchor point="CENTER" relativePoint="Bottom">
<Offset>
<AbsDimension x="-80" y="30"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
</OnLoad>
<OnClick>
PlaySound("igMainMenuOption");
MapNotes_ShowSendFrame(MapNotes_ToggleSendValue);
</OnClick>
</Scripts>
</Button>
<Button name="MapNotesButtonCancel5" inherits="MapNotesButtonTemplate" text="MAPNOTES_CANCEL">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MapNotesChangeSendMenu">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
</OnLoad>
<OnClick>
PlaySound("igMainMenuOption");
MapNotes_HideFrames();
</OnClick>
</Scripts>
</Button>
<Button name="MapNotesSendPlayer" inherits="MapNotesButtonTemplate" text="MAPNOTES_SENDTOPLAYER">
<Anchors>
<Anchor point="CENTER" relativePoint="BOTTOM" relativeTo="MapNotesChangeSendMenu">
<Offset>
<AbsDimension x="0" y="37"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
</OnLoad>
<OnClick>
PlaySound("igMainMenuOption");
MapNotes_SendNote(1);
</OnClick>
</Scripts>
</Button>
<Button name="MapNotesSendParty" inherits="MapNotesButtonTemplate" text="MAPNOTES_SENDTOPARTY">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MapNotesSendPlayer">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
</OnLoad>
<OnClick>
PlaySound("igMainMenuOption");
MapNotes_SendNote(2);
</OnClick>
</Scripts>
</Button>
<EditBox name="SendWideEditBox" historyLines="0" letters="255">
<Size>
<AbsDimension x="350" y="64"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="24" y="-60"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="TitleLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
<Size>
<AbsDimension x="256" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="-10" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="1.0" top="0" bottom="1.0"/>
</Texture>
<Texture name="TitleRight" 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>
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
<Size>
<AbsDimension x="5" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="TitleLeft" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
<Anchor point="RIGHT" relativeTo="TitleRight" relativePoint="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(9);
SendWideEditBox:SetText("");
</OnLoad>
<OnTextChanged>
</OnTextChanged>
<OnEnterPressed>
</OnEnterPressed>
<OnEscapePressed>
</OnEscapePressed>
</Scripts>
<FontString inherits="ChatFontNormal"/>
</EditBox>
</Frames>
<Layers>
<Layer level="ARTWORK">
<FontString name="MapNotes_SendFrame_Title" inherits="GameFontNormal" text="MAPNOTES_SEND_COSMOSTITLE" justifyH="LEFT">
<Size>
<AbsDimension x="222" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="22" y="-22"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="MapNotes_SendFrame_Tip" inherits="GameFontNormalSmall" text="MAPNOTES_SEND_COSMOSTIP" justifyH="LEFT">
<Size>
<AbsDimension x="370" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="22" y="-36"/>
</Offset>
</Anchor>
</Anchors>
<Color r="0.59" g="0.49" b="0.1"/>
</FontString>
<FontString name="MapNotes_SendFrame_Player" inherits="GameFontNormalSmall" text="MAPNOTES_SEND_PLAYER" justifyH="LEFT">
<Size>
<AbsDimension x="222" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="22" y="-65"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(8);
</OnLoad>
</Scripts>
</Frame>
</Ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -