Nenue@90
|
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@90
|
2 ..\FrameXML\UI.xsd">
|
Nenue@90
|
3
|
Nenue@90
|
4 <Script file="Templates.lua" />
|
Nenue@90
|
5
|
Nenue@90
|
6 <Font name="VeneerFont" />
|
Nenue@90
|
7 <Font name="VeneerFont_Small" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="16" />
|
Nenue@90
|
8
|
Nenue@90
|
9 <Font name="VeneerFont_Large" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="24" />
|
Nenue@90
|
10 <Font name="VeneerNumberFontSmall" font="Fonts\ARIALN.ttf" outline="NORMAL" height="12" />
|
Nenue@90
|
11 <Font name="VeneerNumberFont" font="Fonts\ARIALN.ttf" outline="NORMAL" height="14" />
|
Nenue@90
|
12 <Font name="VeneerNumberFontLarge" font="Fonts\ARIALN.ttf" outline="NORMAL" height="24" />
|
Nenue@90
|
13 <Font name="VeneerHeaderFont" font="Fonts\FRIZQT__.TTF" outline="THICK" height="14" />
|
Nenue@90
|
14 <Font name="VeneerHeader2Font" font="Fonts\FRIZQT__.TTF" outline="THICK" height="14">
|
Nenue@90
|
15 <Color a="1" r="1" g="0.4" b="0" />
|
Nenue@90
|
16 </Font>
|
Nenue@90
|
17
|
Nenue@97
|
18 <Font name="VeneerTimeFont" font="Fonts\ARIALN.ttf" outline="THICK" height="14" />
|
Nenue@97
|
19
|
Nenue@90
|
20 <!-- generic animations -->
|
Nenue@90
|
21 <Frame name="VeneerAnimations" virtual="true">
|
Nenue@90
|
22 <Animations>
|
Nenue@90
|
23 <AnimationGroup parentKey="BlockFade" looping="NONE" setToFinalAlpha="false">
|
Nenue@90
|
24 <Alpha parentKey="alpha" order="1" duration="1" fromAlpha="0.5" toAlpha="1" />
|
Nenue@90
|
25 <Scripts>
|
Nenue@90
|
26 <OnPlay>
|
Nenue@90
|
27 VeneerAnimationMixin.OnPlay(self)
|
Nenue@90
|
28 </OnPlay>
|
Nenue@90
|
29 </Scripts>
|
Nenue@90
|
30 </AnimationGroup>
|
Nenue@90
|
31 </Animations>
|
Nenue@90
|
32 </Frame>
|
Nenue@90
|
33
|
Nenue@90
|
34 <!-- mixin map -->
|
Nenue@90
|
35 <Frame name="VeneerMixinScripts" virtual="true">
|
Nenue@90
|
36 <Scripts>
|
Nenue@90
|
37 <OnLoad method="OnLoad" />
|
Nenue@90
|
38 <OnEvent method="OnEvent" />
|
Nenue@90
|
39 <OnUpdate method="OnUpdate" />
|
Nenue@90
|
40 <OnShow method="OnShow" />
|
Nenue@90
|
41 <OnHide method="OnHide" />
|
Nenue@90
|
42 <OnMouseDown method="OnMouseDown" />
|
Nenue@90
|
43 <OnSizeChanged method="OnSizeChanged" />
|
Nenue@90
|
44 </Scripts>
|
Nenue@90
|
45 </Frame>
|
Nenue@90
|
46
|
Nenue@90
|
47 <!-- colored-border object with minimal frame scripts -->
|
Nenue@90
|
48 <Frame name="VeneerStatusButtonTemplate" virtual="true">
|
Nenue@90
|
49 <Layers>
|
Nenue@90
|
50 <Layer level="BORDER">
|
Nenue@90
|
51 <Texture parentKey="bg" setAllPoints="true" parentArray="ConfigLayers" hidden="true" />
|
Nenue@90
|
52 </Layer>
|
Nenue@90
|
53 <Layer level="OVERLAY">
|
Nenue@90
|
54 <FontString parentKey="label" inherits="VeneerNumberFontLarge" parentArray="ConfigLayers" hidden="true">
|
Nenue@90
|
55 <Anchors>
|
Nenue@90
|
56 <Anchor point="TOPLEFT" />
|
Nenue@90
|
57 </Anchors>
|
Nenue@90
|
58 </FontString>
|
Nenue@90
|
59 </Layer>
|
Nenue@90
|
60 </Layers>
|
Nenue@90
|
61 <Frames>
|
Nenue@90
|
62 <Button parentKey="resize" parentArray="ConfigLayers" hidden="true">
|
Nenue@90
|
63 <Size x="48" y="16" />
|
Nenue@90
|
64 <Anchors>
|
Nenue@90
|
65 <Anchor point="BOTTOMRIGHT" />
|
Nenue@90
|
66 </Anchors>
|
Nenue@90
|
67 <NormalTexture setAllPoints="true">
|
Nenue@90
|
68 <Color a="1" r="1" g="1" b="1" />
|
Nenue@90
|
69 </NormalTexture>
|
Nenue@90
|
70 <PushedTexture>
|
Nenue@90
|
71 <Color a="1" r="1" g="0.5" b="1" />
|
Nenue@90
|
72 </PushedTexture>
|
Nenue@90
|
73 </Button>
|
Nenue@90
|
74 </Frames>
|
Nenue@90
|
75 </Frame>
|
Nenue@90
|
76
|
Nenue@121
|
77 <Button name="VeneerAnchorButtonTemplate" virtual="true">
|
Nenue@121
|
78 <NormalTexture>
|
Nenue@121
|
79 <Color a="1" r=".25" g=".25" b=".25" />
|
Nenue@121
|
80 </NormalTexture>
|
Nenue@121
|
81 <HighlightTexture>
|
Nenue@121
|
82 <Color r="1" g=".5" b="0" a="0.5" />
|
Nenue@121
|
83 </HighlightTexture>
|
Nenue@121
|
84 </Button>
|
Nenue@121
|
85
|
Nenue@90
|
86 <!-- same as above, but with a progress bar -->
|
Nenue@90
|
87 <Frame name="VeneerStatusBarTemplate" virtual="true" hidden="true" inherits="VeneerMixinScripts">
|
Nenue@90
|
88 <Scripts>
|
Nenue@90
|
89 <OnShow>
|
Nenue@90
|
90 if self.OnShow then self:OnShow() end
|
Nenue@90
|
91 if self.Header:IsVisible() then
|
Nenue@90
|
92 self.ProgressBG:ClearAllPoints()
|
Nenue@90
|
93 self.ProgressBG:SetPoint('TOP', self.GlowLine, 'BOTTOM', 0, -1)
|
Nenue@90
|
94 self.ProgressBG:SetPoint('LEFT')
|
Nenue@90
|
95 self.ProgressBG:SetPoint('RIGHT')
|
Nenue@90
|
96 self.ProgressBG:SetPoint('BOTTOM')
|
Nenue@90
|
97 else
|
Nenue@90
|
98 self.ProgressBG:ClearAllPoints()
|
Nenue@90
|
99 self.ProgressBG:SetAllPoints(self)
|
Nenue@90
|
100 end
|
Nenue@90
|
101 </OnShow>
|
Nenue@90
|
102 <OnSizeChanged>
|
Nenue@90
|
103 </OnSizeChanged>
|
Nenue@90
|
104 </Scripts>
|
Nenue@90
|
105 <Layers>
|
Nenue@90
|
106 <Layer level="BACKGROUND">
|
Nenue@90
|
107 <Texture parentKey="UnderLay">
|
Nenue@90
|
108
|
Nenue@90
|
109 </Texture>
|
Nenue@90
|
110 </Layer>
|
Nenue@90
|
111 <Layer level="BORDER">
|
Nenue@90
|
112 <Texture parentKey="ProgressBG" setAllPoints="true">
|
Nenue@90
|
113 <Color a=".7" r="0" g="0" b="0" />
|
Nenue@90
|
114 </Texture>
|
Nenue@90
|
115 <Texture parentKey="GlowLine" atlas="AftLevelup-GlowLine" useAtlasSize="false">
|
Nenue@90
|
116 <Size y="3" />
|
Nenue@90
|
117 <Anchors>
|
Nenue@90
|
118 <Anchor point="TOPLEFT" x="-27" y="-11" />
|
Nenue@90
|
119 <Anchor point="RIGHT" x="27" y="0" />
|
Nenue@90
|
120 </Anchors>
|
Nenue@90
|
121 </Texture>
|
Nenue@90
|
122 </Layer>
|
Nenue@90
|
123 <Layer level="ARTWORK">
|
Nenue@90
|
124 <Texture parentKey="ProgressBar">
|
Nenue@90
|
125 <Anchors>
|
Nenue@90
|
126 <Anchor point="BOTTOMLEFT" />
|
Nenue@90
|
127 </Anchors>
|
Nenue@90
|
128 <Color a="1" r=".7" g=".7" b=".7" />
|
Nenue@90
|
129 </Texture>
|
Nenue@90
|
130 </Layer>
|
Nenue@90
|
131 <Layer level="OVERLAY" >
|
Nenue@90
|
132 <FontString parentKey="Header" inherits="VeneerNumberFontSmall">
|
Nenue@90
|
133 <Anchors>
|
Nenue@90
|
134 <Anchor point="TOP" />
|
Nenue@90
|
135 </Anchors>
|
Nenue@90
|
136 </FontString>
|
Nenue@90
|
137 <FontString parentKey="Level" inherits="GameFontNormal">
|
Nenue@90
|
138 <Anchors>
|
Nenue@90
|
139 <Anchor point="TOP" x="0" y="14" />
|
Nenue@90
|
140 </Anchors>
|
Nenue@90
|
141 </FontString>
|
Nenue@90
|
142 <FontString parentKey="ProgressText" inherits="VeneerNumberFont">
|
Nenue@90
|
143 <Anchors>
|
Nenue@90
|
144 <Anchor point="CENTER" relativeKey="$parent.ProgressBG" />
|
Nenue@90
|
145 </Anchors>
|
Nenue@90
|
146 </FontString>
|
Nenue@90
|
147 </Layer>
|
Nenue@90
|
148 </Layers>
|
Nenue@90
|
149 </Frame>
|
Nenue@90
|
150
|
Nenue@90
|
151 <Frame name="VeneerHandlerTemplate" inherits="VeneerAnimations" hidden="true" parent="UIParent" virtual="true">
|
Nenue@121
|
152 <Scripts>
|
Nenue@121
|
153 <OnLoad method="OnLoad" />
|
Nenue@121
|
154 <OnEvent method="OnEvent" />
|
Nenue@121
|
155 <OnShow method="OnShow" />
|
Nenue@121
|
156 <OnHide method="OnHide" />
|
Nenue@121
|
157 </Scripts>
|
Nenue@90
|
158 <Layers>
|
Nenue@90
|
159 <Layer level="BACKGROUND">
|
Nenue@90
|
160 <Texture parentKey="Background" setAllPoints="true" parentArray="ConfigLayer">
|
Nenue@90
|
161 <Color a="0.5" r="0" g="0" b="0" />
|
Nenue@90
|
162 </Texture>
|
Nenue@90
|
163 </Layer>
|
Nenue@90
|
164 </Layers>
|
Nenue@90
|
165 <Frames>
|
Nenue@90
|
166 <Frame name="$parentConfigHandler" setAllPoints="true" mixin="VeneerConfigLayerMixin" enableMouse="true" parentArray="ConfigLayer">
|
Nenue@90
|
167 <Scripts>
|
Nenue@90
|
168 <OnLoad method="OnLoad" />
|
Nenue@90
|
169 <OnShow method="OnShow" />
|
Nenue@90
|
170 <OnDragStart method="OnDragStart" />
|
Nenue@90
|
171 <OnDragStop method="OnDragStop" />
|
Nenue@90
|
172 <OnUpdate method="OnUpdate" />
|
Nenue@90
|
173 </Scripts>
|
Nenue@90
|
174 <Layers>
|
Nenue@90
|
175 <Layer level="OVERLAY">
|
Nenue@90
|
176 <FontString parentKey="ConfigName" parentArray="ConfigLayer" inherits="VeneerNumberFont">
|
Nenue@90
|
177 <Anchors>
|
Nenue@90
|
178 <Anchor point="TOPLEFT" />
|
Nenue@90
|
179 </Anchors>
|
Nenue@90
|
180 </FontString>
|
Nenue@90
|
181 <FontString parentKey="ConfigID" parentArray="ConfigLayer" inherits="VeneerNumberFont">
|
Nenue@90
|
182 <Anchors>
|
Nenue@90
|
183 <Anchor point="BOTTOMLEFT" />
|
Nenue@90
|
184 </Anchors>
|
Nenue@90
|
185 </FontString>
|
Nenue@90
|
186 <Texture setAllPoints="true" hidden="true">
|
Nenue@90
|
187 <Color a="0.25" r="0" g="1" b="0" />
|
Nenue@90
|
188 </Texture>
|
Nenue@90
|
189 </Layer>
|
Nenue@90
|
190 </Layers>
|
Nenue@90
|
191 </Frame>
|
Nenue@90
|
192 </Frames>
|
Nenue@90
|
193 </Frame>
|
Nenue@90
|
194
|
Nenue@90
|
195 </Ui> |