Nenue@6
|
1 <Ui>
|
Nenue@6
|
2 <!-- placed on top of other bars; should be semi-transparent -->
|
Nenue@6
|
3 <Texture name="TkGraph" alphaMode="ADD" virtual="true">
|
Nenue@6
|
4 <Colors>
|
Nenue@6
|
5 <Color r="1" g="0" b="0" a="0.5" />
|
Nenue@6
|
6 </Colors>
|
Nenue@6
|
7 </Texture>
|
Nenue@6
|
8
|
Nenue@6
|
9 <!-- StatusBar template inheritor for PowerBar frames -->
|
Nenue@6
|
10 <Frame name="TkPowerTemplate" virtual="true" inherits="TurokStatusBar" parent="UIParent" frameStrata="BACKGROUND">
|
Nenue@6
|
11 <Scripts>
|
Nenue@6
|
12 <OnLoad>
|
Nenue@6
|
13 print('PowerBar', '|cFF44FFFF'..self:GetName()..'|r loaded.')
|
Nenue@6
|
14 </OnLoad>
|
Nenue@6
|
15 </Scripts>
|
Nenue@6
|
16 <Layers>
|
Nenue@6
|
17 <Layer level="OVERLAY">
|
Nenue@6
|
18 <FontString name="$parentPowerText" parentKey="powerText" inherits="TurokFont" justifyH="LEFT" textureSubLevel="1"/>
|
Nenue@6
|
19 <FontString name="$parentSecondaryText" parentKey="secondaryText" inherits="TurokFontDetail" justifyH="RIGHT" textureSubLevel="1"/>
|
Nenue@6
|
20 </Layer>
|
Nenue@6
|
21 </Layers>
|
Nenue@6
|
22 </Frame>
|
Nenue@6
|
23
|
Nenue@6
|
24
|
Nenue@6
|
25 <!-- Secondary powers -->
|
Nenue@6
|
26 <Texture name="TkSecondaryPoint1" virtual="true" alphaMode="BLEND" setAllPoints="false" hidden="true" />
|
Nenue@6
|
27 <Texture name="TkSecondaryPoint2" virtual="true" alphaMode="ADD" setAllPoints="false" hidden="true" />
|
Nenue@6
|
28
|
Nenue@6
|
29
|
Nenue@6
|
30 <Frame name="TkComboTemplate" inherits="TkPowerTemplate" virtual="true" frameStrata="BACKGROUND" hidden="true">
|
Nenue@6
|
31 <Layers>
|
Nenue@6
|
32 <Layer level="OVERLAY">
|
Nenue@6
|
33 <!-- 6 max chi, 5 max combo -->
|
Nenue@6
|
34 <Texture name="$parentCombo1_1" inherits="TkComboPoint" />
|
Nenue@6
|
35 <Texture name="$parentCombo1_2" inherits="TkComboPoint" />
|
Nenue@6
|
36 <Texture name="$parentCombo1_3" inherits="TkComboPoint" />
|
Nenue@6
|
37 <Texture name="$parentCombo1_4" inherits="TkComboPoint" />
|
Nenue@6
|
38 <Texture name="$parentCombo1_5" inherits="TkComboPoint" />
|
Nenue@6
|
39 <Texture name="$parentCombo1_6" inherits="TkComboPoint" />
|
Nenue@6
|
40 <!-- anticipation -->
|
Nenue@6
|
41 <Texture name="$parentCombo2_1" inherits="TkAnticipation" />
|
Nenue@6
|
42 <Texture name="$parentCombo2_2" inherits="TkAnticipation" />
|
Nenue@6
|
43 <Texture name="$parentCombo2_3" inherits="TkAnticipation" />
|
Nenue@6
|
44 <Texture name="$parentCombo2_4" inherits="TkAnticipation" />
|
Nenue@6
|
45 <Texture name="$parentCombo2_5" inherits="TkAnticipation" />
|
Nenue@6
|
46 </Layer>
|
Nenue@6
|
47 </Layers>
|
Nenue@6
|
48 </Frame>
|
Nenue@6
|
49
|
Nenue@6
|
50
|
Nenue@6
|
51 <Frame name="TkThinComboTemplate" virtual="true" hidden="true" frameStrata="BACKGROUND">
|
Nenue@6
|
52 <Layers>
|
Nenue@6
|
53 <Layer level="BACKGROUND">
|
Nenue@6
|
54
|
Nenue@6
|
55 <Texture name="$parentBackground" parentKey="background" setAllPoints="true">
|
Nenue@6
|
56 <Color r="0" g=".6" b="1" a="0.5" />
|
Nenue@6
|
57 <Size>
|
Nenue@6
|
58 <AbsValue y="14" />
|
Nenue@6
|
59 </Size>
|
Nenue@6
|
60 </Texture>
|
Nenue@6
|
61 </Layer>
|
Nenue@6
|
62 <Layer level="BORDER">
|
Nenue@6
|
63
|
Nenue@6
|
64 </Layer>
|
Nenue@6
|
65 <Layer level="ARTWORK">
|
Nenue@6
|
66 <Texture name="$parentForeground" parentKey="foreground" setAllPoints="true">
|
Nenue@6
|
67 <Size>
|
Nenue@6
|
68 <AbsValue y="14" />
|
Nenue@6
|
69 </Size>
|
Nenue@6
|
70 <Color r="0" g=".6" b="1" a="0.5" />
|
Nenue@6
|
71 </Texture>
|
Nenue@6
|
72 </Layer>
|
Nenue@6
|
73 <Layer level="OVERLAY">
|
Nenue@6
|
74 <!-- 6 max chi, 5 max combo -->
|
Nenue@6
|
75
|
Nenue@6
|
76 <FontString name="$parentPowerText" parentKey="powerText" inherits="TurokFont" justifyH="LEFT" textureSubLevel="1">
|
Nenue@6
|
77 <Anchors>
|
Nenue@6
|
78 <Anchor point="BOTTOMLEFT" relativeKey="$parent.foreground" />
|
Nenue@6
|
79 </Anchors>
|
Nenue@6
|
80 </FontString>
|
Nenue@6
|
81 <FontString name="$parentSecondaryText" parentKey="secondaryText" inherits="TurokFontDetail" justifyH="RIGHT" textureSubLevel="1">
|
Nenue@6
|
82 <Anchors>
|
Nenue@6
|
83 <Anchor point="BOTTOMRIGHT" relativeKey="$parent.foreground" />
|
Nenue@6
|
84 </Anchors>
|
Nenue@6
|
85 </FontString>
|
Nenue@6
|
86 </Layer>
|
Nenue@6
|
87 </Layers>
|
Nenue@6
|
88 </Frame>
|
Nenue@6
|
89
|
Nenue@6
|
90 </Ui> |