vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 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/..\FrameXML\UI.xsd">
2 <Script file="localization.lua"/>
3 <Script file="XPerl_Usage.lua"/>
4 <Script file="XPerl_Globals.lua"/>
5 <Script file="XPerl_Init.lua"/>
6 <Script file="XPerl_Slash.lua"/>
7  
8 <Frame name="XPerl_Globals">
9 <Scripts>
10 <OnLoad>
11 this:RegisterEvent("VARIABLES_LOADED")
12 this:RegisterEvent("PLAYER_ENTERING_WORLD")
13 </OnLoad>
14 <OnEvent>
15 XPerl_Globals_OnEvent(event)
16 </OnEvent>
17 </Scripts>
18 </Frame>
19  
20 <Frame name="XPerl_Portrait_Template" virtual="true">
21 <Size>
22 <AbsDimension x="60" y="62"/>
23 </Size>
24 <Backdrop bgFile="Interface\Addons\XPerl\Images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
25 <EdgeSize>
26 <AbsValue val="16"/>
27 </EdgeSize>
28 <TileSize>
29 <AbsValue val="32"/>
30 </TileSize>
31 <BackgroundInsets>
32 <AbsInset left="5" right="5" top="5" bottom="5"/>
33 </BackgroundInsets>
34 </Backdrop>
35 <Frames>
36 <PlayerModel name="$parent_Portrait3D">
37 <Size>
38 <AbsDimension x="51" y="52"/>
39 </Size>
40 <Anchors>
41 <Anchor point="TOPLEFT">
42 <Offset><AbsDimension x="6" y="-6"/></Offset>
43 </Anchor>
44 <Anchor point="BOTTOMRIGHT">
45 <Offset><AbsDimension x="-4" y="3"/></Offset>
46 </Anchor>
47 </Anchors>
48 </PlayerModel>
49 </Frames>
50 <Layers>
51 <Layer level="ARTWORK">
52 <Texture name="$parent_Portrait" hidden="true">
53 <Size><AbsDimension x="50" y="50"/></Size>
54 <Anchors>
55 <Anchor point="TOPLEFT">
56 <Offset><AbsDimension x="6" y="-5"/></Offset>
57 </Anchor>
58 <Anchor point="BOTTOMRIGHT">
59 <Offset><AbsDimension x="-4" y="4"/></Offset>
60 </Anchor>
61 </Anchors>
62 </Texture>
63 </Layer>
64 </Layers>
65 </Frame>
66  
67 <StatusBar name="XPerlStatusBar" virtual="true">
68 <BarTexture name="$parentTex" file="Interface\TargetingFrame\UI-StatusBar"/>
69 <Layers>
70 <!-- Text -->
71 <Layer level="OVERLAY">
72 <FontString name="$parentText" inherits="GameFontNormalSmall">
73 <Anchors>
74 <Anchor point="TOPLEFT"/>
75 <Anchor point="BOTTOMRIGHT">
76 <Offset>
77 <AbsDimension x="0" y="1"/>
78 </Offset>
79 </Anchor>
80 </Anchors>
81 </FontString>
82 <FontString name="$parentPercent" inherits="GameFontNormalSmall" justifyH="LEFT" hidden="true">
83 <Size>
84 <AbsDimension x="50" y="12"/>
85 </Size>
86 <Anchors>
87 <Anchor point="LEFT" relativePoint="RIGHT">
88 <Offset>
89 <AbsDimension x="0" y="1"/>
90 </Offset>
91 </Anchor>
92 </Anchors>
93 </FontString>
94 </Layer>
95 <Layer level="BACKGROUND">
96 <Texture name="$parentBG" file="Interface\TargetingFrame\UI-TargetingFrame-BarFill" setAllPoints="true"/>
97 </Layer>
98 </Layers>
99 <Scripts>
100 <OnLoad>
101 XPerl_RegisterBar(this)
102 this:SetScript("OnLoad", nil)
103 </OnLoad>
104 </Scripts>
105 </StatusBar>
106  
107 <!-- Stats Template -->
108 <Frame name="XPerl_Stats_Template" virtual="true">
109 <Size>
110 <AbsDimension x="160" y="40"/>
111 </Size>
112 <Backdrop bgFile="Interface\Addons\XPerl\Images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
113 <EdgeSize>
114 <AbsValue val="16"/>
115 </EdgeSize>
116 <TileSize>
117 <AbsValue val="32"/>
118 </TileSize>
119 <BackgroundInsets>
120 <AbsInset left="5" right="5" top="5" bottom="5"/>
121 </BackgroundInsets>
122 </Backdrop>
123 <Frames>
124 <!-- Health Bar -->
125 <StatusBar name="$parent_HealthBar" inherits="XPerlStatusBar">
126 <Size>
127 <AbsDimension x="112" y="10"/>
128 </Size>
129 <Anchors>
130 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
131 <Offset>
132 <AbsDimension x="8" y="-9"/>
133 </Offset>
134 </Anchor>
135 </Anchors>
136 <BarColor r="0" g="0.8" b="0"/>
137 </StatusBar>
138  
139 <!-- Mana Bar -->
140 <StatusBar name="$parent_ManaBar" inherits="XPerlStatusBar">
141 <Size>
142 <AbsDimension x="112" y="10"/>
143 </Size>
144 <Anchors>
145 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_HealthBar">
146 <Offset>
147 <AbsDimension x="0" y="-2"/>
148 </Offset>
149 </Anchor>
150 </Anchors>
151 <BarColor r="0" g="0" b="1"/>
152 </StatusBar>
153 </Frames>
154 </Frame>
155  
156 <Frame name="XPerl_StatsXP_Template" inherits="XPerl_Stats_Template" virtual="true">
157 <Frames>
158 <StatusBar name="$parent_XPBar" inherits="XPerlStatusBar" hidden="true">
159 <Size>
160 <AbsDimension x="112" y="10"/>
161 </Size>
162 <Anchors>
163 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_ManaBar"/>
164 </Anchors>
165 <BarColor r="0" g="0.8" b="0"/>
166 </StatusBar>
167 <StatusBar name="$parent_XPRestBar" hidden="true">
168 <Size>
169 <AbsDimension x="112" y="10"/>
170 </Size>
171 <Anchors>
172 <Anchor point="TOPLEFT" relativeTo="$parent_XPBar"/>
173 <Anchor point="BOTTOMRIGHT" relativeTo="$parent_XPBar"/>
174 </Anchors>
175 <BarTexture name="$parentTex" file="Interface\TargetingFrame\UI-StatusBar"/>
176 <BarColor r="0" g="0.8" b="0"/>
177 </StatusBar>
178 </Frames>
179 </Frame>
180  
181 <Button name="XPerl_BuffTemplate" virtual="true">
182 <Size>
183 <AbsDimension x="20" y="20"/>
184 </Size>
185 <Layers>
186 <Layer level="ARTWORK">
187 <Texture name="$parentIcon" setAllPoints="true" />
188 </Layer>
189 <Layer level="OVERLAY">
190 <FontString name="$parentCount" inherits="NumberFontNormalSmall">
191 <Anchors>
192 <Anchor point="BOTTOMRIGHT">
193 <Offset>
194 <AbsDimension x="5" y="1"/>
195 </Offset>
196 </Anchor>
197 </Anchors>
198 </FontString>
199 </Layer>
200 </Layers>
201 </Button>
202  
203 <Button name="XPerl_DeBuffTemplate" virtual="true" inherits="XPerl_BuffTemplate">
204 <Size>
205 <AbsDimension x="24" y="24"/>
206 </Size>
207 <Layers>
208 <Layer level="OVERLAY">
209 <Texture name="$parentBorder" file="Interface\Buttons\UI-Debuff-Overlays" setAllPoints="true">
210 <Anchors>
211 <Anchor point="TOPLEFT">
212 <Offset>
213 <AbsDimension x="-1" y="1"/>
214 </Offset>
215 </Anchor>
216 <Anchor point="BOTTOMRIGHT"/>
217 </Anchors>
218 <TexCoords left="0.296875" right="0.5703125" top="0" bottom="0.515625"/>
219 </Texture>
220 </Layer>
221 </Layers>
222 </Button>
223 </Ui>