📄 easymother.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="EasyMother.lua" />
<Frame name="EasyMotherLeftFrame" frameStrata="HIGH" parent="UIParent" movable="true" hidden="true">
<Size>
<AbsDimension x="64" y="64"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="EasyMotherLeftTexture" file="Interface\AddOns\EasyMother\EasyMother_left"/>
</Layer>
</Layers>
</Frame>
<Frame name="EasyMotherRightFrame" frameStrata="HIGH" parent="UIParent" movable="true" hidden="true">
<Size>
<AbsDimension x="64" y="64"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="EasyMotherRightTexture" file="Interface\AddOns\EasyMother\EasyMother_right"/>
</Layer>
</Layers>
</Frame>
<Frame name="EasyMotherDownFrame" frameStrata="HIGH" parent="UIParent" movable="true" hidden="true">
<Size>
<AbsDimension x="64" y="64"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="EasyMotherDownTexture" file="Interface\AddOns\EasyMother\EasyMother_down"/>
</Layer>
</Layers>
</Frame>
<Frame name="EasyMotherUpFrame" frameStrata="HIGH" parent="UIParent" movable="true" hidden="true">
<Size>
<AbsDimension x="64" y="64"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="EasyMotherUpTexture" file="Interface\AddOns\EasyMother\EasyMother_up"/>
</Layer>
</Layers>
</Frame>
<Frame name="EasyMotherStopFrame" frameStrata="HIGH" parent="UIParent" movable="true" hidden="true">
<Size>
<AbsDimension x="64" y="64"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="EasyMotherStopTexture" file="Interface\AddOns\EasyMother\EasyMother_stop"/>
</Layer>
</Layers>
</Frame>
<Frame name="EasyMotherNewFrame" frameStrata="HIGH" parent="UIParent" movable="true" hidden="true">
<Size>
<AbsDimension x="56" y="42"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="EasyMotherNewTexture" file="Interface\AddOns\EasyMother\EasyMother_new"/>
</Layer>
</Layers>
</Frame>
<Frame name="EasyMotherNewStopFrame" frameStrata="HIGH" parent="UIParent" movable="true" hidden="true">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="EasyMotherNewStopTexture" file="Interface\AddOns\EasyMother\EasyMother_newstop"/>
</Layer>
</Layers>
</Frame>
<Frame name="EasyMotherDragFrame" enableMouse="true" movable="true" parent="UIParent" hidden="false">>
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Layers>
<Layer level="BACKGROUND">
<Texture name="EasyMotherDragTexture" file="Interface\AddOns\EasyMother\EasyMother_drag"/>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:RegisterForDrag("LeftButton");
</OnLoad>
<OnDragStart>
this:StartMoving();
</OnDragStart>
<OnDragStop>
this:StopMovingOrSizing()
local x,y = this:GetCenter()
x = x - GetScreenWidth()
y = y - GetScreenHeight()
EasyMotherFramePos(x,y)
</OnDragStop>
</Scripts>
</Frame>
<Frame name="EasyMotherFrame" frameStrata="HIGH" parent="UIParent" hidden="true">
<Size>
<AbsDimension x="175" y="55" />
</Size>
<TitleRegion setAllPoints="true" />
<Scripts>
<OnLoad>
EasyMother_OnLoad();
</OnLoad>
<OnEvent>
EasyMother_OnEvent();
</OnEvent>
<OnUpdate>
EasyMother_OnUpdate(arg1)
</OnUpdate>
</Scripts>
</Frame>
</Ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -