mirror of
https://github.com/brues-code/Vanilla_MikScrollingBattleText.git
synced 2026-09-26 09:36:03 +00:00
9f88f0bf32
GetAuraIcon resolves buff/debuff icons via C_UnitAuras.GetAuraDataBySpellName (returns the icon directly, no UnitBuff/UnitDebuff follow-up) and temporary weapon-enchant icons via C_Item.GetWeaponEnchantInfo + C_Item.GetEnchantInfo + C_Spell.GetSpellTexture. This drops ~48 tooltip create/scan/hide ops per uncached effect and, unlike the old FindBuff, actually yields an icon for weapon-enchant-named effects. The dead tracking-spell branch is removed, the AddAnimation call site no longer dead-ends on non-matches (falls through to the spellId/Babble/item resolvers), and the now-unused MSBT_Tooltip frame is removed from the XML.
376 lines
10 KiB
XML
376 lines
10 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">
|
|
|
|
<!-- Frame that handles core events -->
|
|
<Frame name="MSBTEventFrame">
|
|
<Scripts>
|
|
<OnEvent>MikSBT.OnEvent();</OnEvent>
|
|
<OnLoad>MikSBT.OnLoad();</OnLoad>
|
|
<OnUpdate>MikSBT.OnUpdate();</OnUpdate>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<!-- Incoming Scroll Area -->
|
|
<Frame name="MSBTFrameIncoming" toplevel="true" enableMouse="false" parent="UIParent" frameStrata="HIGH" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="24" y="24" />
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativePoint="CENTER" relativeTo="UIParent">
|
|
<Offset>
|
|
<AbsDimension x="-60" y="-160" />
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parentText1" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText2" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText3" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText4" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText5" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText6" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText7" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText8" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText9" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText10" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText11" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText12" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText13" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText14" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText15" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText16" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText17" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText18" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText19" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText20" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT" />
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnUpdate>MikSBT.OnUpdateAnimationFrame(this);</OnUpdate>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<!-- Notification Scroll Area -->
|
|
<Frame name="MSBTFrameNotification" toplevel="true" enableMouse="false" parent="UIParent" frameStrata="HIGH" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="24" y="25" />
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativePoint="CENTER" relativeTo="UIParent">
|
|
<Offset>
|
|
<AbsDimension x="0" y="100" />
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parentText1" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText2" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText3" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText4" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText5" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText6" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText7" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText8" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText9" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText10" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText11" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText12" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText13" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText14" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText15" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText16" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText17" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText18" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText19" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText20" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnUpdate>MikSBT.OnUpdateAnimationFrame(this);</OnUpdate>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<!-- Outgoing Scroll Area -->
|
|
<Frame name="MSBTFrameOutgoing" toplevel="true" enableMouse="false" parent="UIParent" frameStrata="HIGH" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="24" y="24" />
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativePoint="CENTER" relativeTo="UIParent">
|
|
<Offset>
|
|
<AbsDimension x="60" y="-160" />
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parentText1" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText2" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText3" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText4" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText5" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText6" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText7" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText8" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText9" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText10" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText11" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText12" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText13" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText14" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText15" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText16" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText17" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText18" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText19" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentText20" inherits="MasterFont">
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnUpdate>MikSBT.OnUpdateAnimationFrame(this);</OnUpdate>
|
|
</Scripts>
|
|
</Frame>
|
|
</Ui> |