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@84
|
10 self.count = self.progress.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 <Anchors>
|
Nenue@84
|
42 <Anchor point="BOTTOMLEFT" x="-1" y="-7" />
|
Nenue@84
|
43 <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" x="1" y="-2" />
|
Nenue@84
|
44 </Anchors>
|
Nenue@84
|
45 <Layers>
|
Nenue@84
|
46 <Layer level="BACKGROUND">
|
Nenue@84
|
47 <Texture parentKey="bg" setAllPoints="true">
|
Nenue@84
|
48 <Color a="1" r="0" g="0" b="0" />
|
Nenue@84
|
49 </Texture>
|
Nenue@84
|
50 </Layer>
|
Nenue@84
|
51 <Layer level="ARTWORK">
|
Nenue@84
|
52 <Texture parentKey="fg" >
|
Nenue@84
|
53 <Color a="1" r="1" g="1" b="1" />
|
Nenue@84
|
54 </Texture>
|
Nenue@84
|
55 </Layer>
|
Nenue@84
|
56 <Layer level="OVERLAY">
|
Nenue@84
|
57 <FontString name="$parentDuration" parentKey="duration" inherits="VeneerNumberFont">
|
Nenue@84
|
58 <Anchors>
|
Nenue@84
|
59 <Anchor point="BOTTOM" x="0" y="2" />
|
Nenue@84
|
60 </Anchors>
|
Nenue@84
|
61 </FontString>
|
Nenue@84
|
62 <FontString name="$parentCount" parentKey="count" inherits="VeneerNumberFont" justifyH="RIGHT">
|
Nenue@84
|
63 <Anchors>
|
Nenue@84
|
64 <Anchor point="TOPRIGHT" x="-3" y="-3" />
|
Nenue@84
|
65 </Anchors>
|
Nenue@84
|
66 </FontString>
|
Nenue@84
|
67 </Layer>
|
Nenue@84
|
68 </Layers>
|
Nenue@84
|
69 </Frame>
|
Nenue@84
|
70 </Frames>
|
Nenue@84
|
71 </Frame>
|
Nenue@84
|
72 </Ui> |