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