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