📄 statusbars.xml
字号:
<Scripts>
<OnLoad>StatusBars_TargetPowerBar_OnLoad();</OnLoad>
<OnEvent>this._StatusBars_vars:onEvent(event);</OnEvent>
</Scripts>
</StatusBar>
</Frames>
</Frame>
<Frame name="StatusBars_TargetDebuffBar" parent="StatusBars_TargetContainer" hidden="true">
<Size>
<AbsDimension x="170" y="20" />
</Size>
<Frames>
<Frame>
<Layers>
<Layer>
<Texture name="StatusBars_TargetDebuff_Texture1">
<Size>
<AbsDimension x="18" y="18" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="-70" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="StatusBars_TargetDebuff_Texture2">
<Size>
<AbsDimension x="18" y="18" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="-50" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="StatusBars_TargetDebuff_Texture3">
<Size>
<AbsDimension x="18" y="18" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="-30" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="StatusBars_TargetDebuff_Texture4">
<Size>
<AbsDimension x="18" y="18" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="-10" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="StatusBars_TargetDebuff_Texture5">
<Size>
<AbsDimension x="18" y="18" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="10" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="StatusBars_TargetDebuff_Texture6">
<Size>
<AbsDimension x="18" y="18" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="30" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="StatusBars_TargetDebuff_Texture7">
<Size>
<AbsDimension x="18" y="18" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="50" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="StatusBars_TargetDebuff_Texture8">
<Size>
<AbsDimension x="18" y="18" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="70" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame setAllPoints="true" name="StatusBars_TargetDebuffBar_TextKeeper">
<Layers>
<Layer level="OVERLAY">
<FontString name="StatusBars_TargetDebuffBar_Text" inherits="StatusBars_BarTextTemplate" />
<FontString name="StatusBars_TargetDebuffBar_PercentageText" inherits="StatusBars_PercentageText" />
</Layer>
</Layers>
<Scripts>
<OnLoad>this:SetFrameLevel(this:GetFrameLevel() + 1);</OnLoad>
</Scripts>
</Frame>
<Frame name="StatusBars_TargetDebuffBar_ScriptKeeper">
<Scripts>
<OnLoad>StatusBars_TargetDebuffBar_OnLoad();</OnLoad>
<OnEvent>this._StatusBars_vars:onEvent(event);</OnEvent>
</Scripts>
</Frame>
</Frames>
</Frame>
<Frame name="StatusBars_TargetBuffBar" parent="StatusBars_TargetContainer" hidden="true">
<Size>
<AbsDimension x="170" y="20" />
</Size>
<Frames>
<Frame>
<Layers>
<Layer>
<Texture name="StatusBars_TargetBuff_Texture1">
<Size>
<AbsDimension x="18" y="18" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="-70" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="StatusBars_TargetBuff_Texture2">
<Size>
<AbsDimension x="18" y="18" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="-50" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="StatusBars_TargetBuff_Texture3">
<Size>
<AbsDimension x="18" y="18" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="-30" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="StatusBars_TargetBuff_Texture4">
<Size>
<AbsDimension x="18" y="18" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="-10" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="StatusBars_TargetBuff_Texture5">
<Size>
<AbsDimension x="18" y="18" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="10" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="StatusBars_TargetBuff_Texture6">
<Size>
<AbsDimension x="18" y="18" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="30" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="StatusBars_TargetBuff_Texture7">
<Size>
<AbsDimension x="18" y="18" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="50" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="StatusBars_TargetBuff_Texture8">
<Size>
<AbsDimension x="18" y="18" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="70" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame setAllPoints="true" name="StatusBars_TargetBuffBar_TextKeeper">
<Layers>
<Layer level="OVERLAY">
<FontString name="StatusBars_TargetBuffBar_Text" inherits="StatusBars_BarTextTemplate" />
<FontString name="StatusBars_TargetBuffBar_PercentageText" inherits="StatusBars_PercentageText" />
</Layer>
</Layers>
<Scripts>
<OnLoad>this:SetFrameLevel(this:GetFrameLevel() + 1);</OnLoad>
</Scripts>
</Frame>
<Frame name="StatusBars_TargetBuffBar_ScriptKeeper">
<Scripts>
<OnLoad>StatusBars_TargetBuffBar_OnLoad();</OnLoad>
<OnEvent>this._StatusBars_vars:onEvent(event);</OnEvent>
</Scripts>
</Frame>
</Frames>
</Frame>
</Frames>
</Frame>
<Frame name="StatusBars_PetContainer" parent="UIParent" enableMouse="false" movable="true" frameStrata="LOW">
<Size>
<AbsDimension x="160" y="10" />
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="-320" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>this:EnableMouse(0);</OnLoad>
<OnMouseDown>if IsShiftKeyDown() and not (StatusBars_moving or StatusBars_locked) then StatusBars_moving = this;
this:StartMoving(); end</OnMouseDown>
<OnMouseUp>if StatusBars_moving == this then StatusBars_moving = nil; this:StopMovingOrSizing(); end</OnMouseUp>
<OnDragStop>if StatusBars_moving == this then StatusBars_moving = nil; this:StopMovingOrSizing();
end</OnDragStop>
</Scripts>
<Frames>
<Frame name="StatusBars_PetHealthBar" parent="StatusBars_PetContainer" hidden="true">
<Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border" bgFile="Interface\Tooltips\UI-Tooltip-Background"
tile="true">
<EdgeSize>
<AbsValue val="16" />
</EdgeSize>
<TileSize>
<AbsValue val="16" />
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5" />
</BackgroundInsets>
</Backdrop>
<Size>
<AbsDimension x="170" y="20" />
</Size>
<Frames>
<Frame setAllPoints="true">
<Layers>
<Layer level="OVERLAY">
<FontString name="StatusBars_PetHealthBar_Text" inherits="StatusBars_BarTextTemplate" />
<FontString name="StatusBars_PetHealthBar_PercentageText" inherits="StatusBars_PercentageText" />
</Layer>
<Layer level="OVERLAY">
<Texture name="StatusBars_PetHealthBar_FlashOverlay" inherits="StatusBars_BarFlashOverlay" />
</Layer>
</Layers>
</Frame>
<StatusBar name="StatusBars_PetHealthBar_Status" inherits="StatusBars_BarTemplate">
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>StatusBars_PetHealthBar_OnLoad();</OnLoad>
<OnEvent>this._StatusBars_vars:onEvent(event);</OnEvent>
</Scripts>
</StatusBar>
</Frames>
</Frame>
<Frame name="StatusBars_PetPowerBar" parent="StatusBars_PetContainer" hidden="true">
<Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border" bgFile="Interface\Tooltips\UI-Tooltip-Background"
tile="true">
<EdgeSize>
<AbsValue val="16" />
</EdgeSize>
<TileSize>
<AbsValue val="16" />
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5" />
</BackgroundInsets>
</Backdrop>
<Size>
<AbsDimension x="170" y="20" />
</Size>
<Frames>
<Frame setAllPoints="true">
<Layers>
<Layer level="OVERLAY">
<FontString name="StatusBars_PetPowerBar_Text" inherits="StatusBars_BarTextTemplate" />
<FontString name="StatusBars_PetPowerBar_PercentageText" inherits="StatusBars_PercentageText" />
</Layer>
<Layer level="OVERLAY">
<Texture name="StatusBars_PetPowerBar_FlashOverlay" inherits="StatusBars_BarFlashOverlay" />
</Layer>
</Layers>
</Frame>
<StatusBar name="StatusBars_PetPowerBar_Status" inherits="StatusBars_BarTemplate">
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>StatusBars_PetPowerBar_OnLoad();</OnLoad>
<OnEvent>this._StatusBars_vars:onEvent(event);</OnEvent>
</Scripts>
</StatusBar>
</Frames>
</Frame>
<Frame name="StatusBars_HappinessBar" parent="StatusBars_PetContainer" hidden="true">
<Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border" bgFile="Interface\Tooltips\UI-Tooltip-Background"
tile="true">
<EdgeSize>
<AbsValue val="16" />
</EdgeSize>
<TileSize>
<AbsValue val="16" />
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5" />
</BackgroundInsets>
</Backdrop>
<Size>
<AbsDimension x="170" y="20" />
</Size>
<Frames>
<Frame setAllPoints="true">
<Layers>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -