annotate Modules/BuffFrame.xml @ 107:ff00679a7817

- Template config creation includes sub-tables keyed by player guid
author Nenue
date Sun, 29 Jan 2017 09:57:09 -0500
parents 5476337198ec
children a41f6b74709a
rev   line source
Nenue@84 1 <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/
Nenue@84 2 ..\FrameXML\UI.xsd">
Nenue@84 3 <Script file="BuffFrame.lua" />
Nenue@84 4
Nenue@90 5 <Frame name="VeneerBuffFrame" mixin="VeneerBuffFrameMixin" inherits="VeneerHandlerTemplate" frameStrata="BACKGROUND">
Nenue@90 6 <Size x="20" y="20" />
Nenue@90 7 </Frame>
Nenue@90 8
Nenue@90 9 <Frame name="VeneerBuffTemplate" virtual="true" mixin="VeneerBuffFrameButtonMixin" inherits="VeneerStatusButtonTemplate" hidden="true">
Nenue@84 10 <Scripts>
Nenue@90 11 <OnLoad method="OnLoad" />
Nenue@94 12 <OnHide method="OnHide" />
Nenue@95 13 <OnShow method="OnShow" />
Nenue@84 14 </Scripts>
Nenue@84 15 <Frames>
Nenue@84 16 <!--
Nenue@84 17
Nenue@84 18 frame.progress:SetPoint('BOTTOMLEFT', frame, 'BOTTOMLEFT', -1, -7)
Nenue@84 19 frame.progress:SetPoint('TOPRIGHT', frame, 'BOTTOMRIGHT', 1, -2)
Nenue@84 20 frame.progress:SetHeight(BUFF_PROGRESS_SIZE + (BUFF_PROGRESS_INSET * 2))
Nenue@84 21
Nenue@84 22 frame.progress.bg:SetColorTexture(0,0,0,1)
Nenue@84 23 frame.progress.fg:SetColorTexture(1,1,1,1)
Nenue@84 24 frame.progress.fg:ClearAllPoints()
Nenue@84 25 frame.progress.fg:SetPoint('BOTTOMLEFT', BUFF_PROGRESS_INSET,BUFF_PROGRESS_INSET)
Nenue@84 26 frame.progress.fg:SetPoint('TOP', 0, -BUFF_PROGRESS_INSET)
Nenue@84 27 -->
Nenue@84 28
Nenue@84 29 <Frame name="$parentUnderlay" parentKey="underlay" frameStrata="BACKGROUND">
Nenue@84 30 <Layers>
Nenue@84 31 <Layer level="BORDER">
Nenue@84 32 <Texture parentKey="bg" setAllPoints="true" hidden="true" />
Nenue@84 33 </Layer>
Nenue@84 34 </Layers>
Nenue@84 35 </Frame>
Nenue@84 36 <Cooldown name="$parentCooldown" parentKey="cooldown" inherits="CooldownFrameTemplate" reverse="true" setAllPoints="true">
Nenue@84 37 <EdgeTexture>
Nenue@84 38 <Color a="0" r="0" g="0" b="0" />
Nenue@84 39 </EdgeTexture>
Nenue@84 40 </Cooldown>
Nenue@84 41 <Frame name="$parentProgress" parentKey="progress" frameStrata="MEDIUM">
Nenue@84 42 <Layers>
Nenue@84 43 <Layer level="BACKGROUND">
Nenue@84 44 <Texture parentKey="bg" setAllPoints="true">
Nenue@84 45 <Color a="1" r="0" g="0" b="0" />
Nenue@84 46 </Texture>
Nenue@84 47 </Layer>
Nenue@84 48 <Layer level="ARTWORK">
Nenue@84 49 <Texture parentKey="fg" >
Nenue@84 50 <Color a="1" r="1" g="1" b="1" />
Nenue@84 51 </Texture>
Nenue@84 52 </Layer>
Nenue@84 53 <Layer level="OVERLAY">
Nenue@97 54 <FontString name="$parentDuration" parentKey="duration" inherits="VeneerTimeFont">
Nenue@84 55 <Anchors>
Nenue@86 56 <Anchor point="BOTTOMLEFT" x="5" y="9" />
Nenue@84 57 </Anchors>
Nenue@84 58 </FontString>
Nenue@86 59 </Layer>
Nenue@86 60 </Layers>
Nenue@86 61 </Frame>
Nenue@86 62 <Frame name="$parentOverlay" parentKey="overlay" setAllPoints="true">
Nenue@86 63 <Layers>
Nenue@86 64 <Layer level="OVERLAY">
Nenue@86 65 <FontString name="$parentCount" parentKey="count" inherits="VeneerNumberFontLarge">
Nenue@84 66 <Anchors>
Nenue@86 67 <Anchor point="TOPRIGHT" x="-2" y="-2" />
Nenue@84 68 </Anchors>
Nenue@84 69 </FontString>
Nenue@84 70 </Layer>
Nenue@84 71 </Layers>
Nenue@84 72 </Frame>
Nenue@84 73 </Frames>
Nenue@84 74 </Frame>
Nenue@84 75 </Ui>