📄 statusbars.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/">
<Script file="localization.lua" />
<script file="localization.cn.lua" />
<Script file="StatusBars.lua" />
<Frame name="StatusBars_GlobalUpdater">
<Scripts>
<OnUpdate>StatusBars_GlobalUpdate();</OnUpdate>
</Scripts>
</Frame>
<StatusBar name="StatusBars_BarTemplate" virtual="true" drawLayer="BACKGROUND" minValue="0" maxValue="1"
defaultValue="0.5">
<Size>
<AbsDimension x="160" y="10" />
</Size>
<BarTexture file="Interface\TargetingFrame\UI-StatusBar" />
</StatusBar>
<StatusBar name="StatusBars_ComboBarTemplate" virtual="true" drawLayer="BACKGROUND" minValue="0" maxValue="1"
defaultValue="0.5">
<Size>
<AbsDimension x="25" y="10" />
</Size>
<BarTexture file="Interface\TargetingFrame\UI-StatusBar" />
</StatusBar>
<FontString name="StatusBars_BarTextTemplate" virtual="true" inherits="GameFontNormalSmall">
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="0" y="1" />
</Offset>
</Anchor>
</Anchors>
<Size>
<AbsDimension x="170" y="10" />
</Size>
</FontString>
<FontString name="StatusBars_PercentageText" virtual="true" inherits="GameFontNormalSmall">
<Size>
<AbsDimension x="170" y="10" />
</Size>
</FontString>
<Texture name="StatusBars_BarFlashOverlay" virtual="true" file="Interface\AddOns\StatusBars\Flash" alphaMode="ADD"
hidden="true">
<Size>
<AbsDimension x="174" y="20" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="1" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
<StatusBar name="StatusBars_ComboStatusTemplate" virtual="true" inherits="StatusBars_ComboBarTemplate">
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
</StatusBar>
<Texture name="StatusBars_ComboFlashTemplate" virtual="true" file="Interface\AddOns\StatusBars\ComboFlash"
alphaMode="ADD" hidden="true">
<Size>
<AbsDimension x="38" y="20" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="1" y="0" />
</Offset>
</Anchor>
</Anchors>
</Texture>
<Frame name="StatusBars_PlayerContainer" parent="UIParent" enableMouse="false" movable="true" frameStrata="LOW">
<Size>
<AbsDimension x="160" y="10" />
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="-200" />
</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_HealthBar" parent="StatusBars_PlayerContainer" 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_HealthBar_Text" inherits="StatusBars_BarTextTemplate" />
<FontString name="StatusBars_HealthBar_PercentageText" inherits="StatusBars_PercentageText" />
</Layer>
<Layer level="OVERLAY">
<Texture name="StatusBars_HealthBar_FlashOverlay" inherits="StatusBars_BarFlashOverlay" />
</Layer>
</Layers>
</Frame>
<StatusBar name="StatusBars_HealthBar_Status" inherits="StatusBars_BarTemplate">
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>StatusBars_HealthBar_OnLoad();</OnLoad>
<OnEvent>this._StatusBars_vars:onEvent(event);</OnEvent>
</Scripts>
</StatusBar>
</Frames>
</Frame>
<Frame name="StatusBars_PowerBar" parent="StatusBars_PlayerContainer" 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_PowerBar_Text" inherits="StatusBars_BarTextTemplate" />
<FontString name="StatusBars_PowerBar_PercentageText" inherits="StatusBars_PercentageText" />
</Layer>
<Layer level="OVERLAY">
<Texture name="StatusBars_PowerBar_FlashOverlay" inherits="StatusBars_BarFlashOverlay" />
</Layer>
</Layers>
</Frame>
<StatusBar name="StatusBars_PowerBar_Status" inherits="StatusBars_BarTemplate">
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>StatusBars_PowerBar_OnLoad();</OnLoad>
<OnEvent>this._StatusBars_vars:onEvent(event);</OnEvent>
</Scripts>
</StatusBar>
</Frames>
</Frame>
<Frame name="StatusBars_DruidBar" parent="StatusBars_PlayerContainer" 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_DruidBar_Text" inherits="StatusBars_BarTextTemplate" />
<FontString name="StatusBars_DruidBar_PercentageText" inherits="StatusBars_PercentageText" />
</Layer>
<Layer level="OVERLAY">
<Texture name="StatusBars_DruidBar_FlashOverlay" inherits="StatusBars_BarFlashOverlay" />
</Layer>
</Layers>
</Frame>
<StatusBar name="StatusBars_DruidBar_Status" inherits="StatusBars_BarTemplate">
<Anchors>
<Anchor point="CENTER" relativeto="$Parent">
<Offset>
<AbsDimension x="0" y="0" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>StatusBars_DruidBar_OnLoad();</OnLoad>
<OnEvent>this._StatusBars_vars:onEvent(event);</OnEvent>
</Scripts>
</StatusBar>
</Frames>
</Frame>
<Frame name="StatusBars_BuffBar" parent="StatusBars_PlayerContainer" hidden="true">
<Size>
<AbsDimension x="170" y="20" />
</Size>
<Frames>
<Frame>
<Layers>
<Layer>
<Texture name="StatusBars_Buff_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_Buff_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_Buff_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_Buff_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_Buff_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_Buff_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_Buff_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_Buff_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_BuffBar_TextKeeper">
<Layers>
<Layer level="OVERLAY">
<FontString name="StatusBars_BuffBar_Text" inherits="StatusBars_BarTextTemplate" />
<FontString name="StatusBars_BuffBar_PercentageText" inherits="StatusBars_PercentageText" />
</Layer>
</Layers>
<Scripts>
<OnLoad>this:SetFrameLevel(this:GetFrameLevel() + 1);</OnLoad>
</Scripts>
</Frame>
<Frame name="StatusBars_BuffBar_ScriptKeeper">
<Scripts>
<OnLoad>StatusBars_BuffBar_OnLoad();</OnLoad>
<OnEvent>this._StatusBars_vars:onEvent(event);</OnEvent>
</Scripts>
</Frame>
</Frames>
</Frame>
<Frame name="StatusBars_DebuffBar" parent="StatusBars_PlayerContainer" hidden="true">
<Size>
<AbsDimension x="170" y="20" />
</Size>
<Frames>
<Frame>
<Layers>
<Layer>
<Texture name="StatusBars_Debuff_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_Debuff_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_Debuff_Texture3">
<Size>
<AbsDimension x="18" y="18" />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -