annotate Modules/BuffFrame.xml @ 91:fe8806a7b6fc v7.1-r91

7.1 TOC
author Nenue
date Tue, 25 Oct 2016 12:27:47 -0400
parents 6e2cb847c3c6
children df10cd0ae949
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@84 12 </Scripts>
Nenue@84 13 <Frames>
Nenue@84 14 <!--
Nenue@84 15
Nenue@84 16 frame.progress:SetPoint('BOTTOMLEFT', frame, 'BOTTOMLEFT', -1, -7)
Nenue@84 17 frame.progress:SetPoint('TOPRIGHT', frame, 'BOTTOMRIGHT', 1, -2)
Nenue@84 18 frame.progress:SetHeight(BUFF_PROGRESS_SIZE + (BUFF_PROGRESS_INSET * 2))
Nenue@84 19
Nenue@84 20 frame.progress.bg:SetColorTexture(0,0,0,1)
Nenue@84 21 frame.progress.fg:SetColorTexture(1,1,1,1)
Nenue@84 22 frame.progress.fg:ClearAllPoints()
Nenue@84 23 frame.progress.fg:SetPoint('BOTTOMLEFT', BUFF_PROGRESS_INSET,BUFF_PROGRESS_INSET)
Nenue@84 24 frame.progress.fg:SetPoint('TOP', 0, -BUFF_PROGRESS_INSET)
Nenue@84 25 -->
Nenue@84 26
Nenue@84 27 <Frame name="$parentUnderlay" parentKey="underlay" frameStrata="BACKGROUND">
Nenue@84 28 <Layers>
Nenue@84 29 <Layer level="BORDER">
Nenue@84 30 <Texture parentKey="bg" setAllPoints="true" hidden="true" />
Nenue@84 31 </Layer>
Nenue@84 32 </Layers>
Nenue@84 33 </Frame>
Nenue@84 34 <Cooldown name="$parentCooldown" parentKey="cooldown" inherits="CooldownFrameTemplate" reverse="true" setAllPoints="true">
Nenue@84 35 <EdgeTexture>
Nenue@84 36 <Color a="0" r="0" g="0" b="0" />
Nenue@84 37 </EdgeTexture>
Nenue@84 38 </Cooldown>
Nenue@84 39 <Frame name="$parentProgress" parentKey="progress" frameStrata="MEDIUM">
Nenue@84 40 <Layers>
Nenue@84 41 <Layer level="BACKGROUND">
Nenue@84 42 <Texture parentKey="bg" setAllPoints="true">
Nenue@84 43 <Color a="1" r="0" g="0" b="0" />
Nenue@84 44 </Texture>
Nenue@84 45 </Layer>
Nenue@84 46 <Layer level="ARTWORK">
Nenue@84 47 <Texture parentKey="fg" >
Nenue@84 48 <Color a="1" r="1" g="1" b="1" />
Nenue@84 49 </Texture>
Nenue@84 50 </Layer>
Nenue@84 51 <Layer level="OVERLAY">
Nenue@84 52 <FontString name="$parentDuration" parentKey="duration" inherits="VeneerNumberFont">
Nenue@84 53 <Anchors>
Nenue@86 54 <Anchor point="BOTTOMLEFT" x="5" y="9" />
Nenue@84 55 </Anchors>
Nenue@84 56 </FontString>
Nenue@86 57 </Layer>
Nenue@86 58 </Layers>
Nenue@86 59 </Frame>
Nenue@86 60 <Frame name="$parentOverlay" parentKey="overlay" setAllPoints="true">
Nenue@86 61 <Layers>
Nenue@86 62 <Layer level="OVERLAY">
Nenue@86 63 <FontString name="$parentCount" parentKey="count" inherits="VeneerNumberFontLarge">
Nenue@84 64 <Anchors>
Nenue@86 65 <Anchor point="TOPRIGHT" x="-2" y="-2" />
Nenue@84 66 </Anchors>
Nenue@84 67 </FontString>
Nenue@84 68 </Layer>
Nenue@84 69 </Layers>
Nenue@84 70 </Frame>
Nenue@84 71 </Frames>
Nenue@84 72 </Frame>
Nenue@84 73 </Ui>