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.enUS.lua"/>
3 <Script file="localization.deDE.lua"/>
4 <Script file="localization.frFR.lua"/>
5 <Script file="localization.zhCN.lua"/>
6 <Script file="localization.lua"/>
7 <Script file="XPerl_Raid.lua"/>
8  
9 <Frame name="XPerl_Raid_Frame" parent="UIParent" hidden="true">
10 <Anchors>
11 <Anchor point="TOPLEFT"/>
12 <Anchor point="BOTTOMRIGHT"/>
13 </Anchors>
14 <Scripts>
15 <OnLoad>
16 XPerl_Raid_OnLoad()
17 -- Saves 1 level of function calling by calling our update function directly
18 this:SetScript("OnEvent", XPerl_Raid_OnEvent)
19 this:SetScript("OnUpdate", XPerl_Raid_OnUpdate)
20 </OnLoad>
21 </Scripts>
22  
23 <Frames>
24 <Frame name="XPerl_Raid_Mover" hidden="true">
25 <Layers>
26 <Layer level="OVERLAY">
27 <Texture file="Interface\Addons\XPerl_RaidFrames\Images\XPerl_MovingHighlight" alphaMode="ADD" setAllPoints="true"/>
28 </Layer>
29 </Layers>
30 </Frame>
31 </Frames>
32 </Frame>
33  
34 <StatusBar name="XPerlRaidStatusBar" virtual="true">
35 <BarTexture name="$parentTex" file="Interface\TargetingFrame\UI-StatusBar"/>
36 <Layers>
37 <Layer level="OVERLAY">
38 <FontString name="$parentText" inherits="GameFontNormalSmall" text="Error!">
39 <Anchors>
40 <Anchor point="TOPLEFT"/>
41 <Anchor point="BOTTOMRIGHT">
42 <Offset>
43 <AbsDimension x="0" y="1"/>
44 </Offset>
45 </Anchor>
46 </Anchors>
47 <Color r="1.0" g="1.0" b="1.0"/>
48 </FontString>
49 </Layer>
50 <Layer level="BACKGROUND">
51 <Texture name="$parentBG" file="Interface\TargetingFrame\UI-TargetingFrame-BarFill" setAllPoints="true"/>
52 </Layer>
53 </Layers>
54 <Scripts>
55 <OnLoad>
56 XPerl_RegisterBar(this)
57 this:SetScript("OnLoad", nil)
58 </OnLoad>
59 </Scripts>
60 </StatusBar>
61  
62 <Frame name="XPerl_Raid_FrameTemplate" frameStrata="LOW" movable="true" virtual="true" hidden="true">
63 <Size>
64 <!-- The size of this frame determines what can be clicked for the menu and moving, hence it is the same size as the name frame. -->
65 <AbsDimension x="80" y="46"/>
66 </Size>
67  
68 <!-- Script Events -->
69 <Scripts>
70 <OnLoad>
71 XPerl_Raid_Single_OnLoad()
72 </OnLoad>
73 </Scripts>
74  
75 <Frames>
76 <!-- Raid Name -->
77 <Frame name="$parent_NameFrame">
78 <Size>
79 <AbsDimension x="80" y="20"/>
80 </Size>
81 <Anchors>
82 <Anchor point="TOPLEFT"/>
83 </Anchors>
84 <Backdrop bgFile="Interface\AddOns\XPerl\images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
85 <EdgeSize>
86 <AbsValue val="16"/>
87 </EdgeSize>
88 <TileSize>
89 <AbsValue val="16"/>
90 </TileSize>
91 <BackgroundInsets>
92 <AbsInset left="5" right="5" top="5" bottom="5"/>
93 </BackgroundInsets>
94 </Backdrop>
95 <Layers>
96 <Layer level="OVERLAY">
97 <!-- Combat Icon -->
98 <Texture name="$parent_ActivityStatus" file="Interface\CharacterFrame\UI-StateIcon">
99 <Size>
100 <AbsDimension x="24" y="24"/>
101 </Size>
102 <Anchors>
103 <Anchor point="RIGHT" relativePoint="RIGHT">
104 <Offset>
105 <AbsDimension x="2" y="0"/>
106 </Offset>
107 </Anchor>
108 </Anchors>
109 <TexCoords left="0.5" right = "1.0" top="0.0" bottom="0.5"/>
110 </Texture>
111  
112 <!-- Warning Icon -->
113 <Texture name="$parent_Warning" file="Interface\Minimap\Ping\ping6" alphaMode="ADD" hidden="true">
114 <Size>
115 <AbsDimension x="24" y="24"/>
116 </Size>
117 <Anchors>
118 <Anchor point="TOP" relativePoint="TOP">
119 <Offset>
120 <AbsDimension x="0" y="2"/>
121 </Offset>
122 </Anchor>
123 </Anchors>
124 </Texture>
125  
126 <FontString name="$parent_NameBarText" inherits="GameFontNormalSmall" text="Error!">
127 <Anchors>
128 <Anchor point="TOPLEFT"/>
129 <Anchor point="BOTTOMRIGHT">
130 <Offset>
131 <AbsDimension x="0" y="2"/>
132 </Offset>
133 </Anchor>
134 </Anchors>
135 </FontString>
136 </Layer>
137 </Layers>
138 </Frame>
139  
140 <Frame name="$parent_StatsFrame">
141 <Size>
142 <AbsDimension x="80" y="30"/>
143 </Size>
144 <Anchors>
145 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_NameFrame">
146 <Offset>
147 <AbsDimension x="0" y="4"/>
148 </Offset>
149 </Anchor>
150 </Anchors>
151 <Backdrop bgFile="Interface\AddOns\XPerl\images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
152 <EdgeSize>
153 <AbsValue val="16"/>
154 </EdgeSize>
155 <TileSize>
156 <AbsValue val="16"/>
157 </TileSize>
158 <BackgroundInsets>
159 <AbsInset left="5" right="5" top="5" bottom="5"/>
160 </BackgroundInsets>
161 </Backdrop>
162 <Frames>
163 <!-- Health Bar -->
164 <StatusBar name="$parent_HealthBar" inherits="XPerlRaidStatusBar">
165 <Size>
166 <AbsDimension x="70" y="15"/>
167 </Size>
168 <Anchors>
169 <Anchor point="TOPLEFT">
170 <Offset>
171 <AbsDimension x="5" y="-5"/>
172 </Offset>
173 </Anchor>
174 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
175 <Offset>
176 <AbsDimension x="-5" y="-20"/>
177 </Offset>
178 </Anchor>
179 </Anchors>
180 <BarColor r="0" g="0.8" b="0"/>
181 </StatusBar>
182  
183 <!-- Mana Bar -->
184  
185 <StatusBar name="$parent_ManaBar" inherits="XPerlRaidStatusBar">
186 <Size>
187 <AbsDimension x="70" y="5"/>
188 </Size>
189 <Anchors>
190 <Anchor point="BOTTOMLEFT" >
191 <Offset>
192 <AbsDimension x="5" y="5"/>
193 </Offset>
194 </Anchor>
195 <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" relativeTo="$parent_HealthBar"/>
196 </Anchors>
197 <BarColor r="0" g="0" b="1"/>
198 </StatusBar>
199 </Frames>
200 </Frame>
201  
202 <Button name="$parent_CastClickOverlay" topLevel="true">
203 -- frameStrata="MEDIUM">
204 <Anchors>
205 <Anchor point="BOTTOMLEFT" relativeTo="$parent_StatsFrame"/>
206 <Anchor point="TOPRIGHT" relativeTo="$parent_NameFrame"/>
207 </Anchors>
208 <HighlightTexture file="Interface\Addons\XPerl\images\XPerl_Highlight" alphaMode="ADD">
209 <TexCoords left="0.25" right="0.75" top="0" bottom="0.5"/>
210 </HighlightTexture>
211 <Scripts>
212 <OnLoad>
213 this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up')
214 this:RegisterForDrag("RightButton")
215 this:SetScript("OnClick", XPerl_Raid_OnClick)
216 this:SetScript("OnLeave", XPerl_PlayerTipHide)
217 </OnLoad>
218 <OnEnter>
219 XPerl_PlayerTip(this:GetParent().partyid)
220 </OnEnter>
221 <OnDragStart>
222 if (IsRaidLeader()) then
223 XPerl_Raid_StartMovingMember()
224 end
225 </OnDragStart>
226 <OnDragStop>
227 XPerl_Raid_StopMovingMember(true)
228 </OnDragStop>
229 </Scripts>
230 </Button>
231  
232 <Frame name="$parent_BuffFrame" frameStrata="MEDIUM" hidden="true">
233 <Size>
234 <AbsDimension x="10" y="10"/>
235 </Size>
236 <Anchors>
237 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" relativeTo="$parent_StatsFrame">
238 <Offset>
239 <AbsDimension x="-2" y="2"/>
240 </Offset>
241 </Anchor>
242 </Anchors>
243 </Frame>
244 </Frames>
245 </Frame>
246  
247 <Frame name="XPerl_Raid_TitleFrameTemplate" clampedToScreen="true" frameStrata="LOW" movable="true" virtual="true">
248 <Size>
249 <!-- The size of this frame determines what can be clicked for the menu and moving, hence it is the same size as the name frame. -->
250 <AbsDimension x="80" y="10"/>
251 </Size>
252 <HitRectInsets>
253 <AbsInset left="0" right="-30" top="-5" bottom="-5"/>
254 </HitRectInsets>
255 <Anchors>
256 <Anchor point="TOPLEFT">
257 <Offset>
258 <AbsDimension x="500" y="-200"/>
259 </Offset>
260 </Anchor>
261 </Anchors>
262  
263 <!-- Script Events -->
264 <Scripts>
265 <OnLoad>
266 XPerl_Raid_Group_OnLoad()
267 this:RegisterForDrag("LeftButton")
268 </OnLoad>
269 <OnDragStart>
270 if (XPerlLocked == 0) then
271 this:StartMoving()
272 end
273 </OnDragStart>
274 <OnDragStop>
275 this:StopMovingOrSizing()
276 this:SavePosition()
277 </OnDragStop>
278 </Scripts>
279  
280 <Frames>
281 <Frame name="$parent_NameFrame">
282 <Size>
283 <AbsDimension x="70" y="10"/>
284 </Size>
285 <Anchors>
286 <Anchor point="BOTTOM">
287 <Offset>
288 <AbsDimension x="0" y="5"/>
289 </Offset>
290 </Anchor>
291 </Anchors>
292 <Scripts>
293 <OnShow>
294 this:SetScale(0.75)
295 </OnShow>
296 </Scripts>
297 <Layers>
298 <Layer level="OVERLAY">
299 <FontString name="$parent_NameBarText" inherits="GameFontNormal" text="Error!">
300 <Anchors>
301 <Anchor point="TOPLEFT"/>
302 <Anchor point="BOTTOMRIGHT">
303 <Offset>
304 <AbsDimension x="0" y="2"/>
305 </Offset>
306 </Anchor>
307 </Anchors>
308 </FontString>
309 </Layer>
310 </Layers>
311 </Frame>
312 </Frames>
313 </Frame>
314 </Ui>