📄 mapnoteseditframe.xml
字号:
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="TitleBoxLeft" 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="TitleBoxRight" 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="TitleBoxLeft" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
<Anchor point="RIGHT" relativeTo="TitleBoxRight" 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);
TitleWideEditBox:SetText("");
</OnLoad>
<OnTextChanged>
if (TitleWideEditBox:GetText() == "" or TitleWideEditBox:GetText() == nil) then
MapNotesButtonSaveNote:Disable();
else
MapNotesButtonSaveNote:Enable();
end
</OnTextChanged>
<OnEnterPressed>
PlaySound("igMainMenuOption");
MapNotes_WriteNote();
</OnEnterPressed>
<OnEscapePressed>
ToggleWorldMap();
</OnEscapePressed>
</Scripts>
<FontString inherits="ChatFontNormal"/>
</EditBox>
<EditBox name="Info1WideEditBox" historyLines="0" letters="60">
<Size>
<AbsDimension x="350" y="64"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="EditIcon0">
<Offset>
<AbsDimension x="-34" y="-85"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="Info1Left" 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="Info1Right" 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="Info1Left" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
<Anchor point="RIGHT" relativeTo="Info1Right" 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);
</OnLoad>
<OnEnterPressed>
PlaySound("igMainMenuOption");
MapNotes_WriteNote();
</OnEnterPressed>
<OnEscapePressed>
ToggleWorldMap();
</OnEscapePressed>
</Scripts>
<FontString inherits="ChatFontNormal"/>
</EditBox>
<EditBox name="Info2WideEditBox" historyLines="0" letters="60">
<Size>
<AbsDimension x="350" y="64"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="EditIcon0">
<Offset>
<AbsDimension x="-34" y="-150"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="Info2Left" 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="Info2Right" 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="Info2Left" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
<Anchor point="RIGHT" relativeTo="Info2Right" 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);
</OnLoad>
<OnEnterPressed>
PlaySound("igMainMenuOption");
MapNotes_WriteNote();
</OnEnterPressed>
<OnEscapePressed>
ToggleWorldMap();
</OnEscapePressed>
</Scripts>
<FontString inherits="ChatFontNormal"/>
</EditBox>
<Button name="TextColor0">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="58" y="-111"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="TextColor0Texture" file="Interface\AddOns\MapNotes\POIIcons\Color0">
<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_SetTextColor(0);
</OnClick>
</Scripts>
</Button>
<Button name="TextColor1">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="TextColor0">
<Offset>
<AbsDimension x="14" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="TextColor1Texture" file="Interface\AddOns\MapNotes\POIIcons\Color1">
<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_SetTextColor(1);
</OnClick>
</Scripts>
</Button>
<Button name="TextColor2">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="TextColor1">
<Offset>
<AbsDimension x="14" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="TextColor2Texture" file="Interface\AddOns\MapNotes\POIIcons\Color2">
<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_SetTextColor(2);
</OnClick>
</Scripts>
</Button>
<Button name="TextColor3">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="TextColor2">
<Offset>
<AbsDimension x="14" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="TextColor3Texture" file="Interface\AddOns\MapNotes\POIIcons\Color3">
<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_SetTextColor(3);
</OnClick>
</Scripts>
</Button>
<Button name="TextColor4">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="TextColor3">
<Offset>
<AbsDimension x="14" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="TextColor4Texture" file="Interface\AddOns\MapNotes\POIIcons\Color4">
<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_SetTextColor(4);
</OnClick>
</Scripts>
</Button>
<Button name="TextColor5">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="TextColor4">
<Offset>
<AbsDimension x="14" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="TextColor5Texture" file="Interface\AddOns\MapNotes\POIIcons\Color5">
<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_SetTextColor(5);
</OnClick>
</Scripts>
</Button>
<Button name="TextColor6">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="TextColor5">
<Offset>
<AbsDimension x="14" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="TextColor6Texture" file="Interface\AddOns\MapNotes\POIIcons\Color6">
<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_SetTextColor(6);
</OnClick>
</Scripts>
</Button>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -