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@136
|
39 <!--
|
Nenue@90
|
40 <OnUpdate method="OnUpdate" />
|
Nenue@90
|
41 <OnShow method="OnShow" />
|
Nenue@90
|
42 <OnHide method="OnHide" />
|
Nenue@90
|
43 <OnMouseDown method="OnMouseDown" />
|
Nenue@90
|
44 <OnSizeChanged method="OnSizeChanged" />
|
Nenue@136
|
45
|
Nenue@136
|
46 -->
|
Nenue@90
|
47 </Scripts>
|
Nenue@90
|
48 </Frame>
|
Nenue@90
|
49
|
Nenue@90
|
50 <!-- colored-border object with minimal frame scripts -->
|
Nenue@90
|
51 <Frame name="VeneerStatusButtonTemplate" virtual="true">
|
Nenue@90
|
52 <Layers>
|
Nenue@90
|
53 <Layer level="BORDER">
|
Nenue@90
|
54 <Texture parentKey="bg" setAllPoints="true" parentArray="ConfigLayers" hidden="true" />
|
Nenue@90
|
55 </Layer>
|
Nenue@90
|
56 <Layer level="OVERLAY">
|
Nenue@90
|
57 <FontString parentKey="label" inherits="VeneerNumberFontLarge" parentArray="ConfigLayers" hidden="true">
|
Nenue@90
|
58 <Anchors>
|
Nenue@90
|
59 <Anchor point="TOPLEFT" />
|
Nenue@90
|
60 </Anchors>
|
Nenue@90
|
61 </FontString>
|
Nenue@90
|
62 </Layer>
|
Nenue@90
|
63 </Layers>
|
Nenue@90
|
64 <Frames>
|
Nenue@90
|
65 <Button parentKey="resize" parentArray="ConfigLayers" hidden="true">
|
Nenue@90
|
66 <Size x="48" y="16" />
|
Nenue@90
|
67 <Anchors>
|
Nenue@90
|
68 <Anchor point="BOTTOMRIGHT" />
|
Nenue@90
|
69 </Anchors>
|
Nenue@90
|
70 <NormalTexture setAllPoints="true">
|
Nenue@90
|
71 <Color a="1" r="1" g="1" b="1" />
|
Nenue@90
|
72 </NormalTexture>
|
Nenue@90
|
73 <PushedTexture>
|
Nenue@90
|
74 <Color a="1" r="1" g="0.5" b="1" />
|
Nenue@90
|
75 </PushedTexture>
|
Nenue@90
|
76 </Button>
|
Nenue@90
|
77 </Frames>
|
Nenue@90
|
78 </Frame>
|
Nenue@90
|
79
|
Nenue@121
|
80 <Button name="VeneerAnchorButtonTemplate" virtual="true">
|
Nenue@121
|
81 <NormalTexture>
|
Nenue@121
|
82 <Color a="1" r=".25" g=".25" b=".25" />
|
Nenue@121
|
83 </NormalTexture>
|
Nenue@121
|
84 <HighlightTexture>
|
Nenue@121
|
85 <Color r="1" g=".5" b="0" a="0.5" />
|
Nenue@121
|
86 </HighlightTexture>
|
Nenue@121
|
87 </Button>
|
Nenue@121
|
88
|
Nenue@90
|
89 <!-- same as above, but with a progress bar -->
|
Nenue@90
|
90 <Frame name="VeneerStatusBarTemplate" virtual="true" hidden="true" inherits="VeneerMixinScripts">
|
Nenue@90
|
91 <Scripts>
|
Nenue@90
|
92 <OnShow>
|
Nenue@90
|
93 if self.OnShow then self:OnShow() end
|
Nenue@90
|
94 if self.Header:IsVisible() then
|
Nenue@90
|
95 self.ProgressBG:ClearAllPoints()
|
Nenue@90
|
96 self.ProgressBG:SetPoint('TOP', self.GlowLine, 'BOTTOM', 0, -1)
|
Nenue@90
|
97 self.ProgressBG:SetPoint('LEFT')
|
Nenue@90
|
98 self.ProgressBG:SetPoint('RIGHT')
|
Nenue@90
|
99 self.ProgressBG:SetPoint('BOTTOM')
|
Nenue@90
|
100 else
|
Nenue@90
|
101 self.ProgressBG:ClearAllPoints()
|
Nenue@90
|
102 self.ProgressBG:SetAllPoints(self)
|
Nenue@90
|
103 end
|
Nenue@90
|
104 </OnShow>
|
Nenue@90
|
105 <OnSizeChanged>
|
Nenue@90
|
106 </OnSizeChanged>
|
Nenue@90
|
107 </Scripts>
|
Nenue@90
|
108 <Layers>
|
Nenue@90
|
109 <Layer level="BACKGROUND">
|
Nenue@90
|
110 <Texture parentKey="UnderLay">
|
Nenue@90
|
111
|
Nenue@90
|
112 </Texture>
|
Nenue@90
|
113 </Layer>
|
Nenue@90
|
114 <Layer level="BORDER">
|
Nenue@90
|
115 <Texture parentKey="ProgressBG" setAllPoints="true">
|
Nenue@90
|
116 <Color a=".7" r="0" g="0" b="0" />
|
Nenue@90
|
117 </Texture>
|
Nenue@90
|
118 <Texture parentKey="GlowLine" atlas="AftLevelup-GlowLine" useAtlasSize="false">
|
Nenue@90
|
119 <Size y="3" />
|
Nenue@90
|
120 <Anchors>
|
Nenue@90
|
121 <Anchor point="TOPLEFT" x="-27" y="-11" />
|
Nenue@90
|
122 <Anchor point="RIGHT" x="27" y="0" />
|
Nenue@90
|
123 </Anchors>
|
Nenue@90
|
124 </Texture>
|
Nenue@90
|
125 </Layer>
|
Nenue@90
|
126 <Layer level="ARTWORK">
|
Nenue@90
|
127 <Texture parentKey="ProgressBar">
|
Nenue@90
|
128 <Anchors>
|
Nenue@90
|
129 <Anchor point="BOTTOMLEFT" />
|
Nenue@90
|
130 </Anchors>
|
Nenue@90
|
131 <Color a="1" r=".7" g=".7" b=".7" />
|
Nenue@90
|
132 </Texture>
|
Nenue@90
|
133 </Layer>
|
Nenue@90
|
134 <Layer level="OVERLAY" >
|
Nenue@90
|
135 <FontString parentKey="Header" inherits="VeneerNumberFontSmall">
|
Nenue@90
|
136 <Anchors>
|
Nenue@90
|
137 <Anchor point="TOP" />
|
Nenue@90
|
138 </Anchors>
|
Nenue@90
|
139 </FontString>
|
Nenue@90
|
140 <FontString parentKey="Level" inherits="GameFontNormal">
|
Nenue@90
|
141 <Anchors>
|
Nenue@90
|
142 <Anchor point="TOP" x="0" y="14" />
|
Nenue@90
|
143 </Anchors>
|
Nenue@90
|
144 </FontString>
|
Nenue@90
|
145 <FontString parentKey="ProgressText" inherits="VeneerNumberFont">
|
Nenue@90
|
146 <Anchors>
|
Nenue@90
|
147 <Anchor point="CENTER" relativeKey="$parent.ProgressBG" />
|
Nenue@90
|
148 </Anchors>
|
Nenue@90
|
149 </FontString>
|
Nenue@90
|
150 </Layer>
|
Nenue@90
|
151 </Layers>
|
Nenue@90
|
152 </Frame>
|
Nenue@90
|
153
|
Nenue@125
|
154 <Frame name="VeneerHandlerTemplate" inherits="VeneerAnimations" mixin="VeneerHandlerMixin" hidden="true" parent="UIParent" virtual="true">
|
Nenue@121
|
155 <Scripts>
|
Nenue@121
|
156 <OnLoad method="OnLoad" />
|
Nenue@121
|
157 <OnEvent method="OnEvent" />
|
Nenue@121
|
158 <OnShow method="OnShow" />
|
Nenue@121
|
159 <OnHide method="OnHide" />
|
Nenue@121
|
160 </Scripts>
|
Nenue@90
|
161 <Layers>
|
Nenue@90
|
162 <Layer level="BACKGROUND">
|
Nenue@90
|
163 <Texture parentKey="Background" setAllPoints="true" parentArray="ConfigLayer">
|
Nenue@90
|
164 <Color a="0.5" r="0" g="0" b="0" />
|
Nenue@90
|
165 </Texture>
|
Nenue@90
|
166 </Layer>
|
Nenue@90
|
167 </Layers>
|
Nenue@90
|
168 <Frames>
|
Nenue@125
|
169 <Frame name="$parentConfigHandler" hidden="true" setAllPoints="true" mixin="VeneerConfigLayerMixin" enableMouse="true" parentArray="ConfigLayer">
|
Nenue@90
|
170 <Scripts>
|
Nenue@90
|
171 <OnLoad method="OnLoad" />
|
Nenue@90
|
172 <OnShow method="OnShow" />
|
Nenue@90
|
173 <OnDragStart method="OnDragStart" />
|
Nenue@90
|
174 <OnDragStop method="OnDragStop" />
|
Nenue@90
|
175 <OnUpdate method="OnUpdate" />
|
Nenue@90
|
176 </Scripts>
|
Nenue@90
|
177 <Layers>
|
Nenue@90
|
178 <Layer level="OVERLAY">
|
Nenue@90
|
179 <FontString parentKey="ConfigName" parentArray="ConfigLayer" inherits="VeneerNumberFont">
|
Nenue@90
|
180 <Anchors>
|
Nenue@90
|
181 <Anchor point="TOPLEFT" />
|
Nenue@90
|
182 </Anchors>
|
Nenue@90
|
183 </FontString>
|
Nenue@90
|
184 <FontString parentKey="ConfigID" parentArray="ConfigLayer" inherits="VeneerNumberFont">
|
Nenue@90
|
185 <Anchors>
|
Nenue@90
|
186 <Anchor point="BOTTOMLEFT" />
|
Nenue@90
|
187 </Anchors>
|
Nenue@90
|
188 </FontString>
|
Nenue@90
|
189 <Texture setAllPoints="true" hidden="true">
|
Nenue@90
|
190 <Color a="0.25" r="0" g="1" b="0" />
|
Nenue@90
|
191 </Texture>
|
Nenue@90
|
192 </Layer>
|
Nenue@90
|
193 </Layers>
|
Nenue@90
|
194 </Frame>
|
Nenue@90
|
195 </Frames>
|
Nenue@90
|
196 </Frame>
|
Nenue@90
|
197
|
Nenue@90
|
198 </Ui> |