📄 mapnoteseditframe.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="MapNotesEditMenuFrame" hidden="true" parent="WorldMapFrame">
<Size>
<AbsDimension x="400" y="310"/>
</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="MapNotesEditMenuHeader" 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_EDIT_MENU">
<Anchors>
<Anchor point="TOP" relativeTo="MapNotesEditMenuHeader">
<Offset>
<AbsDimension x="0" y="-14"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="MapNotesButtonSaveNote" inherits="MapNotesButtonTemplate" text="MAPNOTES_SAVE_NOTE">
<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_WriteNote();
</OnClick>
</Scripts>
</Button>
<Button name="MapNotesButtonCancel3" inherits="MapNotesButtonTemplate" text="MAPNOTES_CANCEL">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MapNotesButtonSaveNote">
<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="EditIcon0">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="58" y="-41"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="EditIcon0Texture" file="Interface\AddOns\MapNotes\POIIcons\Icon0">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnClick>
MapNotes_Edit_SetIcon(0);
</OnClick>
</Scripts>
</Button>
<Button name="EditIcon1">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="EditIcon0">
<Offset>
<AbsDimension x="14" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="EditIcon1Texture" file="Interface\AddOns\MapNotes\POIIcons\Icon1">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnClick>
MapNotes_Edit_SetIcon(1);
</OnClick>
</Scripts>
</Button>
<Button name="EditIcon2">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="EditIcon1">
<Offset>
<AbsDimension x="14" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="EditIcon2Texture" file="Interface\AddOns\MapNotes\POIIcons\Icon2">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnClick>
MapNotes_Edit_SetIcon(2);
</OnClick>
</Scripts>
</Button>
<Button name="EditIcon3">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="EditIcon2">
<Offset>
<AbsDimension x="14" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="EditIcon3Texture" file="Interface\AddOns\MapNotes\POIIcons\Icon3">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnClick>
MapNotes_Edit_SetIcon(3);
</OnClick>
</Scripts>
</Button>
<Button name="EditIcon4">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="EditIcon3">
<Offset>
<AbsDimension x="14" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="EditIcon4Texture" file="Interface\AddOns\MapNotes\POIIcons\Icon4">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnClick>
MapNotes_Edit_SetIcon(4);
</OnClick>
</Scripts>
</Button>
<Button name="EditIcon5">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="EditIcon4">
<Offset>
<AbsDimension x="14" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="EditIcon5Texture" file="Interface\AddOns\MapNotes\POIIcons\Icon5">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnClick>
MapNotes_Edit_SetIcon(5);
</OnClick>
</Scripts>
</Button>
<Button name="EditIcon6">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="EditIcon5">
<Offset>
<AbsDimension x="14" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="EditIcon6Texture" file="Interface\AddOns\MapNotes\POIIcons\Icon6">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnClick>
MapNotes_Edit_SetIcon(6);
</OnClick>
</Scripts>
</Button>
<Button name="EditIcon7">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="EditIcon6">
<Offset>
<AbsDimension x="14" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="EditIcon7Texture" file="Interface\AddOns\MapNotes\POIIcons\Icon7">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnClick>
MapNotes_Edit_SetIcon(7);
</OnClick>
</Scripts>
</Button>
<Button name="EditIcon8">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="EditIcon7">
<Offset>
<AbsDimension x="14" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="EditIcon8Texture" file="Interface\AddOns\MapNotes\POIIcons\Icon8">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnClick>
MapNotes_Edit_SetIcon(8);
</OnClick>
</Scripts>
</Button>
<Button name="EditIcon9">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="EditIcon8">
<Offset>
<AbsDimension x="14" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="EditIcon9Texture" file="Interface\AddOns\MapNotes\POIIcons\Icon9">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
</OnLoad>
<OnClick>
MapNotes_Edit_SetIcon(9);
</OnClick>
</Scripts>
</Button>
<Button name="IconOverlay">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="EditIcon0">
<Offset>
<AbsDimension x="-3" y="3"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="IconOverlayTexture" file="Interface\AddOns\MapNotes\POIIcons\Overlay">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(11);
</OnLoad>
</Scripts>
</Button>
<EditBox name="TitleWideEditBox" historyLines="0" letters="60">
<Size>
<AbsDimension x="350" y="64"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="EditIcon0">
<Offset>
<AbsDimension x="-34" y="-20"/>
</Offset>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -