vrtc / chorus (public) (License: CC0) (since 2023-08-12) (hash sha1)
World of Warcraft add-on stub. The overall goal is to create a specialized raid frame.
List of commits:
Subject Hash Author Date (UTC)
fix!: Remove old flavour of unit frames 58d82ae1ba66bfc0acf41b97df99746a57a7a7cd Vladyslav Bondarenko 2023-08-30 23:38:49
fix: Update solo tot frames 4204e7a2649b970d28f4b0f38f4dc60e90cd40d0 Vladyslav Bondarenko 2023-08-30 23:37:37
fix!: Update party frame to unprotected strategy 470935eb589f7ab2fa77ae1335a194420e597340 Vladyslav Bondarenko 2023-08-30 22:52:34
fix!: Render solo status bar textures correctly 22d89fffabad69df1e7dcf078805e3ff341c5023 Vladyslav Bondarenko 2023-08-30 19:14:13
fix!: Restore solo frame context menu popup 0cc446f33351c8998d2359a42000f84da19defcd Vladyslav Bondarenko 2023-08-29 22:43:22
feat!: Update unit frame layout framework 1af4c0bd53a474483d60425f2a4e40250367ecf1 Vladyslav Bondarenko 2023-08-29 21:20:40
feat: Classify rare or elite units dd2c1f490c08a75774be085b318ebcd1b2788a2b Vladyslav Bondarenko 2023-08-29 21:18:49
feat(build): Remove cgitrc 1e6b59264abab70e1f2fa9ae494c74d2606c060f Vladyslav Bondarenko 2023-08-29 14:37:03
feat(build): Add cgitrc 7288f0336e36010fb92bf60479fdca3a0082ecd1 Vladyslav Bondarenko 2023-08-29 14:14:24
feat(build): Add cgitrc ea45afc0375774c2fe6bb0a3237cfd1817529ff0 Vladyslav Bondarenko 2023-08-29 14:14:24
feat(test)!: Toggle debug mode at runtime 23c37e3ab2eaf924f41fe51adc1e54f525222a8b Vladyslav Bondarenko 2023-08-29 03:41:55
fix: Aura tooltip is always opaque 1f7ba009c71796093b8cfa63cb38d918b9696c79 Vladyslav Bondarenko 2023-08-29 01:31:40
fix: Adjust aura tooltip toggle button layout fc72d10b09f44ef9ba6f2f93413a20def40c2d4a Vladyslav Bondarenko 2023-08-29 01:30:27
feat!: Add role widget 0ac8cda6522056c8adb527ba2f144229f251f69e Vladyslav Bondarenko 2023-08-29 00:59:14
fix: Only show power bar when appropriate 5313d1bfbf676c88b5c2a0a56fbea88549633b7b Vladyslav Bondarenko 2023-08-28 22:46:36
feat!: Toggle detailed unit aura tooltip in combat 460c622c04a8b0fa503c2a5d45313b667809b95c Vladyslav Bondarenko 2023-08-28 19:26:25
feat!: Add detailed buff and debuff popup 1ff7bcff470419c7fa40c6b946e441867dda4825 Vladyslav Bondarenko 2023-08-27 20:42:05
fix!: Further specialize every aura frame 1ec8385427bda76ea40840e68da7f5948d5af9bd Vladyslav Bondarenko 2023-08-27 18:40:55
feat: Add combat status indicator to unit buttons 38e469e01eb581693fd22f69b0739ea308d94966 Vladyslav Bondarenko 2023-08-27 16:35:38
fix!: Show raid targeting icon correctly ae5a1c5541d4bf137ea287671eb1f558422b26f4 Vladyslav Bondarenko 2023-08-27 15:24:57
Commit 58d82ae1ba66bfc0acf41b97df99746a57a7a7cd - fix!: Remove old flavour of unit frames
Next step is to remove reliance on `SecureGroupHeaderTemplate` entirely.
Author: Vladyslav Bondarenko
Author date (UTC): 2023-08-30 23:38
Committer name: Vladyslav Bondarenko
Committer date (UTC): 2023-08-30 23:38
Parent(s): 4204e7a2649b970d28f4b0f38f4dc60e90cd40d0
Signer:
Signing key: EFF9624877D25D02
Signing status: E
Tree: c7f2ffb771c615143019437c947d671f57c56b5e
File Lines added Lines deleted
src/ChorusRaidFrame.xml 1 1
src/ChorusUnitButtonTemplate.xml 0 510
src/ChorusUnitFrameTemplate.lua 5 2
File src/ChorusRaidFrame.xml changed (mode: 100644) (index c67a9df..885d1ee)
10 10 <Attribute name="groupFilter" type="number" value="1"/> <Attribute name="groupFilter" type="number" value="1"/>
11 11 <Attribute name="groupingOrder" type="string" value="1,2,3,4,5,6,7,8"/> <Attribute name="groupingOrder" type="string" value="1,2,3,4,5,6,7,8"/>
12 12 <Attribute name="maxColumns" type="number" value="5"/> <Attribute name="maxColumns" type="number" value="5"/>
13 <Attribute name="template" type="string" value="ChorusLargeUnitButtonTemplate"/>
13 <Attribute name="template" type="string" value="ChorusLargeUnitFrameTemplate,SecureFrameTemplate"/>
14 14 <Attribute name="unitsPerColumn" type="number" value="1"/> <Attribute name="unitsPerColumn" type="number" value="1"/>
15 15 <Attribute name="columnSpacing" type="number" value="12"/> <Attribute name="columnSpacing" type="number" value="12"/>
16 16 </Attributes> </Attributes>
File src/ChorusUnitButtonTemplate.xml changed (mode: 100644) (index f58f26b..6af149d)
1 1 <?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
2 2 <Ui xmlns="http://www.blizzard.com/wow/ui/"> <Ui xmlns="http://www.blizzard.com/wow/ui/">
3 3 <Script file="ChorusUnitButtonTemplate.lua"/> <Script file="ChorusUnitButtonTemplate.lua"/>
4 <Frame name="ChorusLargeUnitButtonBuffFrameTemplate" inherits="ChorusAuraFrameTemplate" virtual="true">
5 <Size>
6 <AbsDimension x="30" y="30"/>
7 </Size>
8 <Frames>
9 <Frame name="$parentAuraButton1" inherits="ChorusAuraButtonTemplate" id="1">
10 <Anchors>
11 <Anchor point="BOTTOMLEFT">
12 <Offset x="0" y="0"/>
13 </Anchor>
14 </Anchors>
15 </Frame>
16 </Frames>
17 <Attributes>
18 <Attribute name="filter" type="string" value="HELPFUL"/>
19 </Attributes>
20 </Frame>
21 <Frame name="ChorusHugeUnitButtonBuffFrameTemplate" inherits="ChorusAuraFrameTemplate" virtual="true">
22 <Size>
23 <AbsDimension x="240" y="30"/>
24 </Size>
25 <Frames>
26 <Frame name="$parentAuraButton1" inherits="ChorusAuraButtonTemplate" id="1">
27 <Anchors>
28 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT">
29 <Offset>
30 <AbsDimension x="0" y="0"/>
31 </Offset>
32 </Anchor>
33 </Anchors>
34 </Frame>
35 <Frame name="$parentAuraButton2" inherits="ChorusAuraButtonTemplate" id="2">
36 <Anchors>
37 <Anchor point="BOTTOMLEFT" relativeTo="$parentAuraButton1" relativePoint="BOTTOMRIGHT">
38 <Offset>
39 <AbsDimension x="0" y="0"/>
40 </Offset>
41 </Anchor>
42 </Anchors>
43 </Frame>
44 <Frame name="$parentAuraButton3" inherits="ChorusAuraButtonTemplate" id="3">
45 <Anchors>
46 <Anchor point="BOTTOMLEFT" relativeTo="$parentAuraButton2" relativePoint="BOTTOMRIGHT">
47 <Offset>
48 <AbsDimension x="0" y="0"/>
49 </Offset>
50 </Anchor>
51 </Anchors>
52 </Frame>
53 <Frame name="$parentAuraButton4" inherits="ChorusAuraButtonTemplate" id="4">
54 <Anchors>
55 <Anchor point="BOTTOMLEFT" relativeTo="$parentAuraButton3" relativePoint="BOTTOMRIGHT">
56 <Offset>
57 <AbsDimension x="0" y="0"/>
58 </Offset>
59 </Anchor>
60 </Anchors>
61 </Frame>
62 <Frame name="$parentAuraButton5" inherits="ChorusAuraButtonTemplate" id="5">
63 <Anchors>
64 <Anchor point="BOTTOMLEFT" relativeTo="$parentAuraButton4" relativePoint="BOTTOMRIGHT">
65 <Offset>
66 <AbsDimension x="0" y="0"/>
67 </Offset>
68 </Anchor>
69 </Anchors>
70 </Frame>
71 <Frame name="$parentAuraButton6" inherits="ChorusAuraButtonTemplate" id="6">
72 <Anchors>
73 <Anchor point="BOTTOMLEFT" relativeTo="$parentAuraButton5" relativePoint="BOTTOMRIGHT">
74 <Offset>
75 <AbsDimension x="0" y="0"/>
76 </Offset>
77 </Anchor>
78 </Anchors>
79 </Frame>
80 <Frame name="$parentAuraButton7" inherits="ChorusAuraButtonTemplate" id="7">
81 <Anchors>
82 <Anchor point="BOTTOMLEFT" relativeTo="$parentAuraButton6" relativePoint="BOTTOMRIGHT">
83 <Offset>
84 <AbsDimension x="0" y="0"/>
85 </Offset>
86 </Anchor>
87 </Anchors>
88 </Frame>
89 <Frame name="$parentAuraButton8" inherits="ChorusAuraButtonTemplate" id="8">
90 <Anchors>
91 <Anchor point="BOTTOMLEFT" relativeTo="$parentAuraButton7" relativePoint="BOTTOMRIGHT">
92 <Offset>
93 <AbsDimension x="0" y="0"/>
94 </Offset>
95 </Anchor>
96 </Anchors>
97 </Frame>
98 </Frames>
99 <Attributes>
100 <Attribute name="filter" type="string" value="HELPFUL"/>
101 </Attributes>
102 </Frame>
103 <Frame name="ChorusLargeUnitButtonDebuffFrameTemplate" inherits="ChorusAuraFrameTemplate" virtual="true">
104 <Size>
105 <AbsDimension x="120" y="30"/>
106 </Size>
107 <Frames>
108 <Frame name="$parentAuraButton1" inherits="ChorusAuraButtonTemplate" id="1">
109 <Anchors>
110 <Anchor point="BOTTOMLEFT">
111 <Offset x="0" y="0"/>
112 </Anchor>
113 </Anchors>
114 </Frame>
115 <Frame name="$parentAuraButton2" inherits="ChorusAuraButtonTemplate" id="2">
116 <Anchors>
117 <Anchor point="BOTTOMLEFT">
118 <Offset x="30" y="0"/>
119 </Anchor>
120 </Anchors>
121 </Frame>
122 <Frame name="$parentAuraButton3" inherits="ChorusAuraButtonTemplate" id="3">
123 <Anchors>
124 <Anchor point="BOTTOMLEFT">
125 <Offset x="60" y="0"/>
126 </Anchor>
127 </Anchors>
128 </Frame>
129 <Frame name="$parentAuraButton4" inherits="ChorusAuraButtonTemplate" id="4">
130 <Anchors>
131 <Anchor point="BOTTOMLEFT">
132 <Offset x="90" y="0"/>
133 </Anchor>
134 </Anchors>
135 </Frame>
136 </Frames>
137 <Attributes>
138 <Attribute name="filter" type="string" value="HARMFUL"/>
139 </Attributes>
140 </Frame>
141 <Frame name="ChorusHugeUnitButtonDebuffFrameTemplate" inherits="ChorusHugeUnitButtonBuffFrameTemplate" virtual="true">
142 <Attributes>
143 <Attribute name="filter" type="string" value="HARMFUL"/>
144 </Attributes>
145 </Frame>
146 4 <Button name="ChorusUnitButtonTemplate" toplevel="true" inherits="SecureUnitButtonTemplate" virtual="true" enableMouse="true" frameStrata="LOW"> <Button name="ChorusUnitButtonTemplate" toplevel="true" inherits="SecureUnitButtonTemplate" virtual="true" enableMouse="true" frameStrata="LOW">
147 5 <Frames> <Frames>
148 6 <Frame name="$parentSecureHandlerAttributeFrame" inherits="SecureHandlerAttributeTemplate"/> <Frame name="$parentSecureHandlerAttributeFrame" inherits="SecureHandlerAttributeTemplate"/>
 
160 18 <Attribute name="type2" type="string" value="menu"/> <Attribute name="type2" type="string" value="menu"/>
161 19 </Attributes> </Attributes>
162 20 </Button> </Button>
163 <Button name="ChorusTinyUnitButtonTemplate" inherits="ChorusUnitButtonTemplate" virtual="true">
164 <Size>
165 <AbsDimension x="64" y="16"/>
166 </Size>
167 <Frames>
168 <Frame name="$parentUnitNameFrame" inherits="ChorusUnitNameFrameTemplate" setAllPoints="true"/>
169 <StatusBar name="$parentHealthFrame" inherits="ChorusTinyHealthFrameTemplate" setAllPoints="true">
170 </StatusBar>
171 </Frames>
172 </Button>
173 <Button name="ChorusSmallUnitButtonTemplate" inherits="ChorusUnitButtonTemplate" virtual="true">
174 <Size>
175 <AbsDimension x="96" y="32"/>
176 </Size>
177 <Frames>
178 <Frame name="$parentUnitNameFrame" inherits="ChorusUnitNameFrameTemplate">
179 <Anchors>
180 <Anchor point="TOPRIGHT">
181 <Offset x="0" y="0"/>
182 </Anchor>
183 <Anchor point="TOPLEFT">
184 <Offset x="0" y="0"/>
185 </Anchor>
186 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
187 <Offset x="0" y="-16"/>
188 </Anchor>
189 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
190 <Offset x="0" y="-16"/>
191 </Anchor>
192 </Anchors>
193 </Frame>
194 <Frame name="$parentUnitGroupRoleFrame" inherits="ChorusUnitGroupRoleFrameTemplate">
195 <Anchors>
196 <Anchor point="TOPRIGHT">
197 <Offset x="0" y="0"/>
198 </Anchor>
199 </Anchors>
200 </Frame>
201 <Frame name="$parentRaidTargetIconFrame" inherits="ChorusRaidTargetIconFrameTemplate">
202 <Anchors>
203 <Anchor point="CENTER">
204 <Offset x="0" y="0"/>
205 </Anchor>
206 </Anchors>
207 </Frame>
208 <StatusBar name="$parentHealthFrame" inherits="ChorusSmallHealthFrameTemplate">
209 <Anchors>
210 <Anchor point="TOPRIGHT">
211 <Offset x="0" y="0"/>
212 </Anchor>
213 <Anchor point="TOPLEFT">
214 <Offset x="0" y="0"/>
215 </Anchor>
216 <Anchor point="BOTTOMLEFT">
217 <Offset x="0" y="4"/>
218 </Anchor>
219 </Anchors>
220 </StatusBar>
221 <StatusBar name="$parentPowerFrame" inherits="ChorusTinyPowerFrameTemplate">
222 <Anchors>
223 <Anchor point="TOPRIGHT">
224 <Offset x="0" y="-28"/>
225 </Anchor>
226 <Anchor point="TOPLEFT">
227 <Offset x="0" y="-28"/>
228 </Anchor>
229 <Anchor point="BOTTOMLEFT">
230 <Offset x="0" y="0"/>
231 </Anchor>
232 </Anchors>
233 </StatusBar>
234 </Frames>
235 </Button>
236 <Button name="ChorusLargeUnitButtonTemplate" inherits="ChorusUnitButtonTemplate" virtual="true">
237 <Size>
238 <AbsDimension x="150" y="90"/>
239 </Size>
240 <Frames>
241 <Frame name="$parentUnitAffectingCombatFrame" inherits="ChorusUnitAffectingCombatFrameTemplate">
242 <Anchors>
243 <Anchor point="TOPLEFT">
244 <Offset x="-12" y="6"/>
245 </Anchor>
246 </Anchors>
247 </Frame>
248 <Frame name="$parentUnitNameFrame" inherits="ChorusUnitNameFrameTemplate">
249 <Anchors>
250 <Anchor point="TOPRIGHT">
251 <Offset x="0" y="0"/>
252 </Anchor>
253 <Anchor point="TOPLEFT">
254 <Offset x="0" y="0"/>
255 </Anchor>
256 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
257 <Offset x="0" y="-16"/>
258 </Anchor>
259 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
260 <Offset x="0" y="-16"/>
261 </Anchor>
262 </Anchors>
263 </Frame>
264 <Frame name="$parentUnitGroupRoleFrame" inherits="ChorusUnitGroupRoleFrameTemplate">
265 <Anchors>
266 <Anchor point="TOPRIGHT">
267 <Offset x="0" y="0"/>
268 </Anchor>
269 </Anchors>
270 </Frame>
271 <StatusBar name="$parentHealthFrame" inherits="ChorusLargeHealthFrameTemplate">
272 <Anchors>
273 <Anchor point="TOPRIGHT">
274 <Offset x="0" y="0"/>
275 </Anchor>
276 <Anchor point="TOPLEFT">
277 <Offset x="0" y="0"/>
278 </Anchor>
279 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
280 <Offset x="0" y="-48"/>
281 </Anchor>
282 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
283 <Offset x="0" y="-48"/>
284 </Anchor>
285 </Anchors>
286 </StatusBar>
287 <StatusBar name="$parentPowerFrame" inherits="ChorusLargePowerFrameTemplate">
288 <Anchors>
289 <Anchor point="TOPRIGHT" relativeTo="$parentHealthFrame" relativePoint="BOTTOMRIGHT">
290 <Offset x="0" y="0"/>
291 </Anchor>
292 <Anchor point="TOPLEFT" relativeTo="$parentHealthFrame" relativePoint="BOTTOMLEFT">
293 <Offset x="0" y="0"/>
294 </Anchor>
295 <Anchor point="BOTTOMLEFT" relativeTo="$parentHealthFrame" relativePoint="BOTTOMLEFT">
296 <Offset x="0" y="-13"/>
297 </Anchor>
298 <Anchor point="BOTTOMRIGHT" relativeTo="$parentHealthFrame" relativePoint="BOTTOMRIGHT">
299 <Offset x="0" y="-13"/>
300 </Anchor>
301 </Anchors>
302 </StatusBar>
303 <Frame name="$parentRaidTargetIconFrame" inherits="ChorusRaidTargetIconFrameTemplate">
304 <Anchors>
305 <Anchor point="TOPLEFT">
306 <Offset x="67" y="-16"/>
307 </Anchor>
308 </Anchors>
309 </Frame>
310 <Frame name="$parentThreatFrame" inherits="ChorusThreatFrameTemplate">
311 <Anchors>
312 <Anchor point="TOPLEFT">
313 <Offset x="0" y="-16"/>
314 </Anchor>
315 </Anchors>
316 </Frame>
317 <Frame name="$parentRangeFrame" inherits="ChorusRangeFrameTemplate">
318 <Anchors>
319 <Anchor point="TOPRIGHT">
320 <Offset x="0" y="-16"/>
321 </Anchor>
322 </Anchors>
323 </Frame>
324 <Frame name="$parentBuffFrame" inherits="ChorusLargeUnitButtonBuffFrameTemplate">
325 <Anchors>
326 <Anchor point="TOPRIGHT">
327 <Offset x="0" y="30"/>
328 </Anchor>
329 <Anchor point="TOPLEFT">
330 <Offset x="120" y="30"/>
331 </Anchor>
332 <Anchor point="BOTTOMLEFT">
333 <Offset x="120" y="0"/>
334 </Anchor>
335 <Anchor point="BOTTOMRIGHT">
336 <Offset x="0" y="0"/>
337 </Anchor>
338 </Anchors>
339 </Frame>
340 <Frame name="$parentDebuffFrame" inherits="ChorusLargeUnitButtonDebuffFrameTemplate">
341 <Anchors>
342 <Anchor point="TOPRIGHT">
343 <Offset x="-30" y="30"/>
344 </Anchor>
345 <Anchor point="TOPLEFT">
346 <Offset x="0" y="30"/>
347 </Anchor>
348 <Anchor point="BOTTOMLEFT">
349 <Offset x="0" y="0"/>
350 </Anchor>
351 <Anchor point="BOTTOMRIGHT">
352 <Offset x="-30" y="0"/>
353 </Anchor>
354 </Anchors>
355 </Frame>
356 <Frame name="$parentAuraTooltipFrame" inherits="ChorusAuraTooltipFrameTemplate">
357 <Anchors>
358 <Anchor point="TOPLEFT">
359 <Offset x="0" y="0"/>
360 </Anchor>
361 </Anchors>
362 </Frame>
363 <Button name="$parentAuraTooltipToggleButton" inherits="ChorusAuraTooltipFrameToggleButtonTemplate">
364 <Anchors>
365 <Anchor point="BOTTOMRIGHT">
366 <Offset x="0" y="-16"/>
367 </Anchor>
368 </Anchors>
369 </Button>
370 </Frames>
371 </Button>
372 <Button name="ChorusHugeUnitButtonTemplate" inherits="ChorusUnitButtonTemplate" virtual="true">
373 <Size>
374 <AbsDimension x="256" y="160"/>
375 </Size>
376 <Frames>
377 <Frame name="$parentUnitAffectingCombatFrame" inherits="ChorusUnitAffectingCombatFrameTemplate">
378 <Anchors>
379 <Anchor point="TOPLEFT">
380 <Offset x="-12" y="6"/>
381 </Anchor>
382 </Anchors>
383 </Frame>
384 <Frame name="$parentUnitLevelFrame" inherits="ChorusUnitLevelFrameTemplate">
385 <Anchors>
386 <Anchor point="TOPLEFT">
387 <Offset x="0" y="0"/>
388 </Anchor>
389 </Anchors>
390 </Frame>
391 <Frame name="$parentUnitGroupRoleFrame" inherits="ChorusUnitGroupRoleFrameTemplate">
392 <Anchors>
393 <Anchor point="TOPRIGHT">
394 <Offset x="0" y="0"/>
395 </Anchor>
396 </Anchors>
397 </Frame>
398 <Frame name="$parentUnitNameFrame" inherits="ChorusUnitNameFrameTemplate">
399 <Anchors>
400 <Anchor point="TOPRIGHT">
401 <Offset x="0" y="0"/>
402 </Anchor>
403 <Anchor point="TOPLEFT">
404 <Offset x="24" y="0"/>
405 </Anchor>
406 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
407 <Offset x="24" y="-16"/>
408 </Anchor>
409 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
410 <Offset x="0" y="-16"/>
411 </Anchor>
412 </Anchors>
413 </Frame>
414 <Frame name="$parentRaidTargetIconFrame" inherits="ChorusRaidTargetIconFrameTemplate">
415 <Anchors>
416 <Anchor point="TOPLEFT">
417 <Offset x="120" y="-24"/>
418 </Anchor>
419 </Anchors>
420 </Frame>
421 <Frame name="$parentThreatFrame" inherits="ChorusThreatFrameTemplate">
422 <Anchors>
423 <Anchor point="TOPLEFT">
424 <Offset x="0" y="-24"/>
425 </Anchor>
426 </Anchors>
427 </Frame>
428 <Frame name="$parentRangeFrame" inherits="ChorusRangeFrameTemplate">
429 <Anchors>
430 <Anchor point="TOPRIGHT">
431 <Offset x="0" y="-24"/>
432 </Anchor>
433 </Anchors>
434 </Frame>
435 <StatusBar name="$parentHealthFrame" inherits="ChorusHugeHealthFrameTemplate">
436 <Anchors>
437 <Anchor point="TOPRIGHT">
438 <Offset x="0" y="0"/>
439 </Anchor>
440 <Anchor point="TOPLEFT">
441 <Offset x="0" y="0"/>
442 </Anchor>
443 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
444 <Offset x="0" y="-64"/>
445 </Anchor>
446 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
447 <Offset x="0" y="-64"/>
448 </Anchor>
449 </Anchors>
450 </StatusBar>
451 <StatusBar name="$parentPowerFrame" inherits="ChorusHugePowerFrameTemplate">
452 <Anchors>
453 <Anchor point="TOPRIGHT" relativeTo="$parentHealthFrame" relativePoint="BOTTOMRIGHT">
454 <Offset x="0" y="0"/>
455 </Anchor>
456 <Anchor point="TOPLEFT" relativeTo="$parentHealthFrame" relativePoint="BOTTOMLEFT">
457 <Offset x="0" y="0"/>
458 </Anchor>
459 <Anchor point="BOTTOMLEFT" relativeTo="$parentHealthFrame" relativePoint="BOTTOMLEFT">
460 <Offset x="0" y="-16"/>
461 </Anchor>
462 <Anchor point="BOTTOMRIGHT" relativeTo="$parentHealthFrame" relativePoint="BOTTOMRIGHT">
463 <Offset x="0" y="-16"/>
464 </Anchor>
465 </Anchors>
466 </StatusBar>
467 <StatusBar name="$parentCastFrame" inherits="ChorusCastFrameTemplate">
468 <Anchors>
469 <Anchor point="TOPRIGHT" relativeTo="$parentPowerFrame" relativePoint="BOTTOMRIGHT">
470 <Offset x="0" y="0"/>
471 </Anchor>
472 <Anchor point="TOPLEFT" relativeTo="$parentPowerFrame" relativePoint="BOTTOMLEFT">
473 <Offset x="0" y="0"/>
474 </Anchor>
475 <Anchor point="BOTTOMLEFT" relativeTo="$parentPowerFrame" relativePoint="BOTTOMLEFT">
476 <Offset x="0" y="-16"/>
477 </Anchor>
478 <Anchor point="BOTTOMRIGHT" relativeTo="$parentPowerFrame" relativePoint="BOTTOMRIGHT">
479 <Offset x="0" y="-16"/>
480 </Anchor>
481 </Anchors>
482 </StatusBar>
483 <Frame name="$parentBuffFrame" inherits="ChorusHugeUnitButtonBuffFrameTemplate">
484 <Anchors>
485 <Anchor point="TOPRIGHT">
486 <Offset x="0" y="60"/>
487 </Anchor>
488 <Anchor point="TOPLEFT">
489 <Offset x="0" y="60"/>
490 </Anchor>
491 <Anchor point="BOTTOMLEFT">
492 <Offset x="0" y="30"/>
493 </Anchor>
494 <Anchor point="BOTTOMRIGHT">
495 <Offset x="0" y="30"/>
496 </Anchor>
497 </Anchors>
498 </Frame>
499 <Frame name="$parentDebuffFrame" inherits="ChorusHugeUnitButtonDebuffFrameTemplate">
500 <Anchors>
501 <Anchor point="TOPRIGHT">
502 <Offset x="0" y="30"/>
503 </Anchor>
504 <Anchor point="TOPLEFT">
505 <Offset x="0" y="30"/>
506 </Anchor>
507 <Anchor point="BOTTOMLEFT">
508 <Offset x="0" y="0"/>
509 </Anchor>
510 <Anchor point="BOTTOMRIGHT">
511 <Offset x="0" y="0"/>
512 </Anchor>
513 </Anchors>
514 </Frame>
515 <Frame name="$parentAuraTooltipFrame" inherits="ChorusAuraTooltipFrameTemplate">
516 <Anchors>
517 <Anchor point="TOPLEFT">
518 <Offset x="0" y="0"/>
519 </Anchor>
520 </Anchors>
521 </Frame>
522 <Button name="$parentAuraTooltipToggleButton" inherits="ChorusAuraTooltipFrameToggleButtonTemplate">
523 <Anchors>
524 <Anchor point="BOTTOMRIGHT">
525 <Offset x="0" y="-16"/>
526 </Anchor>
527 </Anchors>
528 </Button>
529 </Frames>
530 </Button>
531 21 </Ui> </Ui>
File src/ChorusUnitFrameTemplate.lua changed (mode: 100644) (index 7c3bb5d..fc2b130)
... ... local function applyCascadeProperty(self, attributeName, value)
126 126 assert('string' == type(attributeName)) assert('string' == type(attributeName))
127 127
128 128 value = value or self:GetAttribute(attributeName) value = value or self:GetAttribute(attributeName)
129 assert(value ~= nil)
129 --[[ FIXME `SecureGroupHeaderTemplate` empties unit properties. Remove reliance on it entirely. ]]--
130 --[[assert(value ~= nil)]]--
130 131
131 132 local useparentKey = string.format('useparent-%s', attributeName) local useparentKey = string.format('useparent-%s', attributeName)
132 133
 
... ... local function unitFrameMain(self)
206 207 --[[ Initialize frames. Does not work in restricted environment. Never --[[ Initialize frames. Does not work in restricted environment. Never
207 208 rely on this at runtime. ]]-- rely on this at runtime. ]]--
208 209
209 applyCascadeProperty(self, 'unit')
210 if self:GetAttribute('unit') then
211 applyCascadeProperty(self, 'unit')
212 end
210 213 self:SetScript('OnAttributeChanged', attributeProcessor) self:SetScript('OnAttributeChanged', attributeProcessor)
211 214
212 215 local unitNameFrame = _G[self:GetName() .. 'UnitNameFrame'] local unitNameFrame = _G[self:GetName() .. 'UnitNameFrame']
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/vrtc/chorus

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/vrtc/chorus

Clone this repository using git:
git clone git://git.rocketgit.com/user/vrtc/chorus

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main