📄 mapnotesoptionsframe.xml
字号:
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
</OnLoad>
<OnClick>
if ( this:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
end
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
<PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
</CheckButton>
<CheckButton name="MapNotesOptionsCheckbox9" id="9">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MapNotesOptionsCheckbox8">
<Offset>
<AbsDimension x="30" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="MapNotesOptionsIcon9Texture" file="Interface\AddOns\MapNotes\POIIcons\Icon9">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
</OnLoad>
<OnClick>
if ( this:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
end
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
<PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
</CheckButton>
<CheckButton name="MapNotesOptionsCheckbox10" id="10">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="25" y="-100"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="MapNotesOptionsCheckbox10Text" inherits="GameFontNormalSmall" text="MAPNOTES_OWNNOTES">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset>
<AbsDimension x="1" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
</OnLoad>
<OnClick>
if ( this:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
end
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
<PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
</CheckButton>
<CheckButton name="MapNotesOptionsCheckbox11" id="11">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="MapNotesOptionsCheckbox10">
<Offset>
<AbsDimension x="0" y="2"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="MapNotesOptionsCheckbox11Text" inherits="GameFontNormalSmall" text="MAPNOTES_OTHERNOTES">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset>
<AbsDimension x="1" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
</OnLoad>
<OnClick>
if ( this:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
end
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
<PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
</CheckButton>
<CheckButton name="MapNotesOptionsCheckbox12" id="12">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="MapNotesOptionsCheckbox11">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="MapNotesOptionsCheckbox12Text" inherits="GameFontNormalSmall" text="MAPNOTES_HIGHLIGHT_LASTCREATED">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset>
<AbsDimension x="1" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
</OnLoad>
<OnClick>
if ( this:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
end
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
<PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
</CheckButton>
<CheckButton name="MapNotesOptionsCheckbox13" id="13">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="MapNotesOptionsCheckbox12">
<Offset>
<AbsDimension x="0" y="2"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="MapNotesOptionsCheckbox13Text" inherits="GameFontNormalSmall" text="MAPNOTES_HIGHLIGHT_MININOTE">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset>
<AbsDimension x="1" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
</OnLoad>
<OnClick>
if ( this:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
end
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
<PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
</CheckButton>
<CheckButton name="MapNotesOptionsCheckbox14" id="14">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="MapNotesOptionsCheckbox13">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="MapNotesOptionsCheckbox14Text" inherits="GameFontNormalSmall" text="MAPNOTES_ACCEPTINCOMING">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset>
<AbsDimension x="1" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
</OnLoad>
<OnClick>
if ( this:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
MapNotesOptionsCheckbox15:Enable();
MapNotesOptionsCheckbox15Text:SetTextColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
else
PlaySound("igMainMenuOptionCheckBoxOn");
MapNotesOptionsCheckbox15:Disable();
MapNotesOptionsCheckbox15Text:SetTextColor(GRAY_FONT_COLOR.r, GRAY_FONT_COLOR.g, GRAY_FONT_COLOR.b);
end
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
<PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
</CheckButton>
<CheckButton name="MapNotesOptionsCheckbox15" id="15">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="MapNotesOptionsCheckbox14">
<Offset>
<AbsDimension x="20" y="2"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="MapNotesOptionsCheckbox15Text" inherits="GameFontNormalSmall" text="MAPNOTES_INCOMING_CAP">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset>
<AbsDimension x="1" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
</OnLoad>
<OnClick>
if ( this:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
end
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
<PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
</CheckButton>
<CheckButton name="MapNotesOptionsCheckbox16" id="16">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="MapNotesOptionsCheckbox15">
<Offset>
<AbsDimension x="-20" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="MapNotesOptionsCheckbox16Text" inherits="GameFontNormalSmall" text="MAPNOTES_AUTOPARTYASMININOTE">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset>
<AbsDimension x="1" y="1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
</OnLoad>
<OnClick>
if ( this:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
end
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
<PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
</CheckButton>
</Frames>
<Scripts>
<OnLoad>
this:SetFrameLevel(8);
</OnLoad>
</Scripts>
</Frame>
<CheckButton name="MapNotesDropDownSubmenuIconTemplate" virtual="true">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentTexture">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(10);
id = tonumber(this:GetID());
getglobal(this:GetName().."Texture"):SetTexture("Interface\\AddOns\\MapNotes\\POIIcons\\Icon"..id);
if (id == 0) then
this:SetPoint("TOPLEFT", "MapNotesDropDownSubMenu", "TOPLEFT", 15, -12);
elseif (id == 5) then
this:SetPoint("TOP", "MapNotesDropDownSubMenuIcon0", "BOTTOM", 0, -5);
else
id = id - 1;
this:SetPoint("LEFT", "MapNotesDropDownSubMenuIcon"..id, "RIGHT", 20, 0);
end
</OnLoad>
<OnClick>
if ( this:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
id = tonumber(this:GetID());
MapNotes_Options[id] = nil;
else
PlaySound("igMainMenuOptionCheckBoxOn");
id = tonumber(this:GetID());
MapNotes_Options[id] = "off";
end
</OnClick>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
<PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
</CheckButton>
<Frame name="MapNotesDropDownSubMenu" hidden="true" parent="WorldMapFrame" frameStrata="FULLSCREEN_DIALOG">
<Size>
<AbsDimension x="225" y="69"/>
</Size>
<Backdrop bgFile="Interface\AddOns\MapNotes\MiscGFX\DarkerBackground" 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>
<Frames>
<CheckButton name="MapNotesDropDownSubMenuIcon0" inherits="MapNotesDropDownSubmenuIconTemplate" hidden="false" id="0"/>
<CheckButton name="MapNotesDropDownSubMenuIcon1" inherits="MapNotesDropDownSubmenuIconTemplate" hidden="false" id="1"/>
<CheckButton name="MapNotesDropDownSubMenuIcon2" inherits="MapNotesDropDownSubmenuIconTemplate" hidden="false" id="2"/>
<CheckButton name="MapNotesDropDownSubMenuIcon3" inherits="MapNotesDropDownSubmenuIconTemplate" hidden="false" id="3"/>
<CheckButton name="MapNotesDropDownSubMenuIcon4" inherits="MapNotesDropDownSubmenuIconTemplate" hidden="false" id="4"/>
<CheckButton name="MapNotesDropDownSubMenuIcon5" inherits="MapNotesDropDownSubmenuIconTemplate" hidden="false" id="5"/>
<CheckButton name="MapNotesDropDownSubMenuIcon6" inherits="MapNotesDropDownSubmenuIconTemplate" hidden="false" id="6"/>
<CheckButton name="MapNotesDropDownSubMenuIcon7" inherits="MapNotesDropDownSubmenuIconTemplate" hidden="false" id="7"/>
<CheckButton name="MapNotesDropDownSubMenuIcon8" inherits="MapNotesDropDownSubmenuIconTemplate" hidden="false" id="8"/>
<CheckButton name="MapNotesDropDownSubMenuIcon9" inherits="MapNotesDropDownSubmenuIconTemplate" hidden="false" id="9"/>
</Frames>
<Scripts>
<OnLoad>
this:SetFrameLevel(9);
</OnLoad>
<OnShow>
for i=0, 9, 1 do
if (MapNotes_Options[i] ~= "off") then
getglobal("MapNotesDropDownSubMenuIcon"..i):SetChecked(1);
else
getglobal("MapNotesDropDownSubMenuIcon"..i):SetChecked(0);
end
end
</OnShow>
</Scripts>
</Frame>
</Ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -