annotate Modules/BuffFrame.xml @ 121:1f68c46bc4de

BuffFrame: - Added interface framework for selectively hiding certain buff's auxiliary values.
author Nenue
date Mon, 17 Jul 2017 11:51:31 -0400
parents 7c77fde36287
children
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@121 9
Nenue@121 10 <Button name="VeneerBuffAuditTemplate" parentArray="Audit" virtual="true">
Nenue@121 11 <Size x="32" y="16" />
Nenue@121 12 <Layers>
Nenue@121 13 <Layer level="OVERLAY">
Nenue@121 14 <FontString parentKey="Value" inherits="VeneerNumberFont">
Nenue@121 15 <Anchors>
Nenue@121 16 <Anchor point="LEFT" />
Nenue@121 17 </Anchors>
Nenue@121 18 </FontString>
Nenue@121 19 </Layer>
Nenue@121 20 </Layers>
Nenue@121 21 <HighlightTexture setAllPoints="true">
Nenue@121 22 <Color a=".2" r="1" g="1" b="1" />
Nenue@121 23 </HighlightTexture>
Nenue@121 24 </Button>
Nenue@121 25
Nenue@90 26 <Frame name="VeneerBuffTemplate" virtual="true" mixin="VeneerBuffFrameButtonMixin" inherits="VeneerStatusButtonTemplate" hidden="true">
Nenue@84 27 <Scripts>
Nenue@90 28 <OnLoad method="OnLoad" />
Nenue@94 29 <OnHide method="OnHide" />
Nenue@95 30 <OnShow method="OnShow" />
Nenue@84 31 </Scripts>
Nenue@84 32 <Frames>
Nenue@84 33 <!--
Nenue@84 34
Nenue@84 35 frame.progress:SetPoint('BOTTOMLEFT', frame, 'BOTTOMLEFT', -1, -7)
Nenue@84 36 frame.progress:SetPoint('TOPRIGHT', frame, 'BOTTOMRIGHT', 1, -2)
Nenue@84 37 frame.progress:SetHeight(BUFF_PROGRESS_SIZE + (BUFF_PROGRESS_INSET * 2))
Nenue@84 38
Nenue@84 39 frame.progress.bg:SetColorTexture(0,0,0,1)
Nenue@84 40 frame.progress.fg:SetColorTexture(1,1,1,1)
Nenue@84 41 frame.progress.fg:ClearAllPoints()
Nenue@84 42 frame.progress.fg:SetPoint('BOTTOMLEFT', BUFF_PROGRESS_INSET,BUFF_PROGRESS_INSET)
Nenue@84 43 frame.progress.fg:SetPoint('TOP', 0, -BUFF_PROGRESS_INSET)
Nenue@84 44 -->
Nenue@84 45
Nenue@84 46 <Frame name="$parentUnderlay" parentKey="underlay" frameStrata="BACKGROUND">
Nenue@84 47 <Layers>
Nenue@84 48 <Layer level="BORDER">
Nenue@84 49 <Texture parentKey="bg" setAllPoints="true" hidden="true" />
Nenue@84 50 </Layer>
Nenue@84 51 </Layers>
Nenue@84 52 </Frame>
Nenue@84 53 <Frame name="$parentProgress" parentKey="progress" frameStrata="MEDIUM">
Nenue@84 54 <Layers>
Nenue@84 55 <Layer level="BACKGROUND">
Nenue@84 56 <Texture parentKey="bg" setAllPoints="true">
Nenue@84 57 <Color a="1" r="0" g="0" b="0" />
Nenue@84 58 </Texture>
Nenue@84 59 </Layer>
Nenue@84 60 <Layer level="ARTWORK">
Nenue@84 61 <Texture parentKey="fg" >
Nenue@84 62 <Color a="1" r="1" g="1" b="1" />
Nenue@84 63 </Texture>
Nenue@84 64 </Layer>
Nenue@84 65 <Layer level="OVERLAY">
Nenue@97 66 <FontString name="$parentDuration" parentKey="duration" inherits="VeneerTimeFont">
Nenue@84 67 <Anchors>
Nenue@86 68 <Anchor point="BOTTOMLEFT" x="5" y="9" />
Nenue@84 69 </Anchors>
Nenue@84 70 </FontString>
Nenue@86 71 </Layer>
Nenue@86 72 </Layers>
Nenue@86 73 </Frame>
Nenue@86 74 <Frame name="$parentOverlay" parentKey="overlay" setAllPoints="true">
Nenue@86 75 <Layers>
Nenue@86 76 <Layer level="OVERLAY">
Nick@108 77 <FontString name="$parentValue1" parentKey="Value1" inherits="VeneerNumberFont">
Nick@108 78 <Anchors>
Nick@112 79 <Anchor point="TOPLEFT" x="0" y="0" />
Nick@108 80 </Anchors>
Nick@108 81 <Color r="0" g="1" b="0" />
Nick@108 82 </FontString>
Nick@108 83 <FontString name="$parentValue2" parentKey="Value2" inherits="VeneerNumberFont">
Nick@108 84 <Anchors>
Nick@112 85 <Anchor point="TOPLEFT" x="0" y="-2" relativePoint="BOTTOMLEFT" relativeKey="$parent.Value1" />
Nick@108 86 </Anchors>
Nick@108 87 <Color r="0" g="1" b="1" />
Nick@108 88 </FontString>
Nick@108 89 <FontString name="$parentValue3" parentKey="Value3" inherits="VeneerNumberFont">
Nick@108 90 <Anchors>
Nick@112 91 <Anchor point="TOPLEFT" x="0" y="-2" relativePoint="BOTTOMLEFT" relativeKey="$parent.Value2" />
Nick@108 92 </Anchors>
Nick@108 93 <Color r="1" g="1" b="0" />
Nick@108 94 </FontString>
Nick@112 95 <FontString name="$parentCount" parentKey="count" inherits="VeneerNumberFontLarge">
Nick@112 96 <Anchors>
Nick@112 97 <Anchor point="TOPRIGHT" x="0" y="0" />
Nick@112 98 </Anchors>
Nick@112 99 </FontString>
Nenue@84 100 </Layer>
Nenue@84 101 </Layers>
Nenue@84 102 </Frame>
Nenue@84 103 </Frames>
Nenue@84 104 </Frame>
Nenue@84 105 </Ui>