433 lines
13 KiB
XML
433 lines
13 KiB
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">
|
|
<GameTooltip name="GameTooltipTemplate" frameStrata="TOOLTIP" clampedToScreen="true" hidden="true" virtual="true">
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<EdgeSize>
|
|
<AbsValue val="16"/>
|
|
</EdgeSize>
|
|
<TileSize>
|
|
<AbsValue val="16"/>
|
|
</TileSize>
|
|
<BackgroundInsets>
|
|
<AbsInset left="5" right="5" top="5" bottom="5"/>
|
|
</BackgroundInsets>
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parentTextLeft1" inherits="GameTooltipHeaderText" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="10" y="-10"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextRight1" inherits="GameTooltipHeaderText" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="$parentTextLeft1" relativePoint="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="40" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextLeft2" inherits="GameTooltipText" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentTextLeft1" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextRight2" inherits="GameTooltipText" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="$parentTextLeft2" relativePoint="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="40" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextLeft3" inherits="GameTooltipText" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentTextLeft2" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextRight3" inherits="GameTooltipText" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="$parentTextLeft3" relativePoint="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="40" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextLeft4" inherits="GameTooltipText" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentTextLeft3" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextRight4" inherits="GameTooltipText" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="$parentTextLeft4" relativePoint="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="40" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextLeft5" inherits="GameTooltipText" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentTextLeft4" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextRight5" inherits="GameTooltipText" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="$parentTextLeft5" relativePoint="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="40" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextLeft6" inherits="GameTooltipText" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentTextLeft5" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextRight6" inherits="GameTooltipText" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="$parentTextLeft6" relativePoint="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="40" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextLeft7" inherits="GameTooltipText" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentTextLeft6" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextRight7" inherits="GameTooltipText" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="$parentTextLeft7" relativePoint="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="40" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextLeft8" inherits="GameTooltipText" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentTextLeft7" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextRight8" inherits="GameTooltipText" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="$parentTextLeft8" relativePoint="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="40" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<Texture name="$parentTexture1" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="12" y="12"/>
|
|
</Size>
|
|
</Texture>
|
|
<Texture name="$parentTexture2" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="12" y="12"/>
|
|
</Size>
|
|
</Texture>
|
|
<Texture name="$parentTexture3" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="12" y="12"/>
|
|
</Size>
|
|
</Texture>
|
|
<Texture name="$parentTexture4" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="12" y="12"/>
|
|
</Size>
|
|
</Texture>
|
|
<Texture name="$parentTexture5" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="12" y="12"/>
|
|
</Size>
|
|
</Texture>
|
|
<Texture name="$parentTexture6" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="12" y="12"/>
|
|
</Size>
|
|
</Texture>
|
|
<Texture name="$parentTexture7" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="12" y="12"/>
|
|
</Size>
|
|
</Texture>
|
|
<Texture name="$parentTexture8" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="12" y="12"/>
|
|
</Size>
|
|
</Texture>
|
|
<Texture name="$parentTexture9" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="12" y="12"/>
|
|
</Size>
|
|
</Texture>
|
|
<Texture name="$parentTexture10" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="12" y="12"/>
|
|
</Size>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<StatusBar name="$parentStatusBar" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="0" y="8"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="2" y="-1"/>
|
|
</Offset>
|
|
</Anchor>
|
|
<Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-2" y="-1"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnValueChanged>
|
|
HealthBar_OnValueChanged(self, value);
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
<BarTexture name="$parentTexture" file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/>
|
|
</StatusBar>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnLoad>
|
|
GameTooltip_OnLoad(self);
|
|
</OnLoad>
|
|
<OnHide>
|
|
GameTooltip_OnHide(self);
|
|
</OnHide>
|
|
<OnTooltipSetDefaultAnchor>
|
|
GameTooltip_SetDefaultAnchor(self, UIParent);
|
|
</OnTooltipSetDefaultAnchor>
|
|
<OnTooltipAddMoney>
|
|
GameTooltip_OnTooltipAddMoney(self, cost, maxcost);
|
|
</OnTooltipAddMoney>
|
|
<OnTooltipCleared>
|
|
GameTooltip_ClearMoney(self);
|
|
</OnTooltipCleared>
|
|
</Scripts>
|
|
</GameTooltip>
|
|
<GameTooltip name="ShoppingTooltipTemplate" frameStrata="TOOLTIP" hidden="true" virtual="true">
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<EdgeSize>
|
|
<AbsValue val="16"/>
|
|
</EdgeSize>
|
|
<TileSize>
|
|
<AbsValue val="16"/>
|
|
</TileSize>
|
|
<BackgroundInsets>
|
|
<AbsInset left="5" right="5" top="5" bottom="5"/>
|
|
</BackgroundInsets>
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parentTextLeft1" inherits="GameFontNormalSmall" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="10" y="-10"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextRight1" inherits="GameFontNormal" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="$parentTextLeft1" relativePoint="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="40" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextLeft2" inherits="GameFontNormal" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentTextLeft1" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextRight2" inherits="GameFontHighlightSmall" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="$parentTextLeft2" relativePoint="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="40" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextLeft3" inherits="GameFontHighlightSmall" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentTextLeft2" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextRight3" inherits="GameFontHighlightSmall" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="$parentTextLeft3" relativePoint="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="40" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextLeft4" inherits="GameTooltipTextSmall" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentTextLeft3" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTextRight4" inherits="GameFontHighlightSmall" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="$parentTextLeft4" relativePoint="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="40" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<Texture name="$parentTexture1" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="12" y="12"/>
|
|
</Size>
|
|
</Texture>
|
|
<Texture name="$parentTexture2" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="12" y="12"/>
|
|
</Size>
|
|
</Texture>
|
|
<Texture name="$parentTexture3" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="12" y="12"/>
|
|
</Size>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
GameTooltip_OnLoad(self);
|
|
</OnLoad>
|
|
</Scripts>
|
|
</GameTooltip>
|
|
<Frame name="TooltipMoneyFrameTemplate" inherits="SmallMoneyFrameTemplate" virtual="true">
|
|
<Size>
|
|
<AbsDimension x="128" y="13"/>
|
|
</Size>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parentPrefixText" inherits="GameFontHighlight">
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="-4" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentSuffixText" inherits="GameFontHighlight">
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
SmallMoneyFrame_OnLoad(self);
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<StatusBar name="TooltipStatusBarTemplate" virtual="true">
|
|
<Size>
|
|
<AbsDimension x="0" y="12"/>
|
|
</Size>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString name="$parentText" inherits="GameFontHighlightSmall">
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="5" y="0"/>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<Texture file="Interface\Tooltips\UI-StatusBar-Border">
|
|
<Size>
|
|
<AbsDimension x="128" y="16"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="-2" y="2"/>
|
|
</Anchor>
|
|
<Anchor point="TOPRIGHT">
|
|
<Offset x="2" y="-2"/>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
self:SetStatusBarColor(0, 1.0, 0);
|
|
</OnLoad>
|
|
</Scripts>
|
|
<BarTexture name="$parentTexture" file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/>
|
|
</StatusBar>
|
|
</Ui>
|