You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

150 lines
5.0 KiB

<!--Neuron is a World of Warcraft® user interface addon.
Copyright (c) 2017-2021 Britt W. Yazel
Copyright (c) 2006-2014 Connor H. Chenoweth
This code is licensed under the MIT license (see LICENSE for details)-->
<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_shared.xsd">
<Frame name="NeuronStatusBarTemplate" frameStrata="LOW" virtual="true" inherits="BackdropTemplate">
<Size x="195" y="16"/>
<Frames>
<StatusBar name="$parentStatusBar" parentKey="StatusBar">
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="1" y="-3"/>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset x="-1" y="3"/>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture setAllPoints="true">
<Color r="0" g="0" b="0" a="1"/>
</Texture>
</Layer>
<Layer>
<Texture name="$parentShield" parentKey="Shield" file="Interface\CastingBar\UI-CastingBar-Arena-Shield" hidden="true">
<Size x="42" y="42"/>
<Anchors>
<Anchor point="LEFT" x="-26" y="0"/>
</Anchors>
</Texture>
<Texture name="$parentIcon" parentKey="Icon" hidden="true">
<Size x="14" y="14"/>
<Anchors>
<Anchor point="RIGHT" relativeTo="$parent" relativePoint="LEFT">
<Offset x="-6" y="0"/>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<FontString name="$parentCenterText" parentKey="CenterText" inherits="GameFontHighlightSmall">
<Anchors>
<Anchor point="CENTER">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentLeftText" parentKey="LeftText" justifyH="LEFT" inherits="GameFontHighlightSmall">
<Anchors>
<Anchor point="LEFT">
<Offset x="3" y="0"/>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentRightText" parentKey="RightText" justifyH="RIGHT" inherits="GameFontHighlightSmall">
<Anchors>
<Anchor point="RIGHT">
<Offset x="-3" y="0"/>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentMouseoverText" parentKey="MouseoverText" inherits="GameFontHighlightSmall" hidden="true">
<Anchors>
<Anchor point="CENTER">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
</FontString>
<Texture name="$parentSpark" parentKey="Spark" file="Interface\AddOns\Neuron\Images\CastingBar_Spark_1" alphaMode="ADD" hidden="true">
<Size x="32" y="32"/>
<Anchors>
<Anchor point="CENTER">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Frame name="$parentBackground" parentKey="Background" inherits="BackdropTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="-3" y="3"/>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset x="3" y="-3"/>
</Anchor>
</Anchors>
<Scripts>
<OnLoad inherit="prepend">
self:SetBackdrop({
bgFile = "Interface\Tooltips\UI-Tooltip-Background",
edgeFile = "Interface\Tooltips\UI-Tooltip-Border", tile = true, tileSize = 0, edgeSize = 12,
insets = { left = 3, right = 3, top = 3, bottom = 3 }
});
self:SetBackdropColor(0, 0, 0, 0.8)
self:SetBackdropBorderColor(0.8,0.8,0.8,0)
self:SetFrameLevel(0)
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentBorder" parentKey="Border" inherits="BackdropTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="-2" y="3"/>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset x="2" y="-3"/>
</Anchor>
</Anchors>
<Scripts>
<OnLoad inherit="prepend">
self:SetBackdrop({
bgFile = "Interface\Tooltips\UI-Tooltip-Background",
edgeFile = "Interface\Tooltips\UI-Tooltip-Border", tile = true, tileSize = 0, edgeSize = 12,
insets = { left = 3, right = 3, top = 3, bottom = 3 }
});
self:SetBackdropColor(0, 0, 0, 0)
self:SetBackdropBorderColor(0.8,0.8,0.8,0)
self:SetFrameLevel(10)
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentBarFlash" parentKey="BarFlash" hidden="true" inherits="BackdropTemplate">
<Scripts>
<OnLoad inherit="prepend">
self:SetBackdrop({
bgFile = "Interface\Tooltips\UI-Tooltip-Background",
edgeFile = "Interface\Tooltips\UI-Tooltip-Border", tile = true, tileSize = 0, edgeSize = 15,
insets = { left = 2, right = 2, top = 2, bottom = 2 }
});
self:SetBackdropColor(1, 1, 1, 0.5)
self:SetBackdropBorderColor(1, 1, 1)
self:SetFrameLevel(3)
</OnLoad>
</Scripts>
</Frame>
</Frames>
<BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
<BarColor r="0.75" g="0" b="0.75"/>
</StatusBar>
</Frames>
</Frame>
</Ui>