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)
feat: color unit headers by reaction af87ae82144ba3e49bec3f3cc18919b502d46da8 Vladyslav Bondarenko 2024-06-18 15:19:21
feat: weigh priest effects 99341dd5c6cb03861fdfa802a1cde520887b29b5 Vladyslav Bondarenko 2024-06-18 14:01:45
feat: make cast bar prettier visually 8ef25268de9a70ce741f0e9b4c105d4969afe7ff Vladyslav Bondarenko 2024-06-18 14:01:03
doc: show todo and fixme annotations in the docs a880f593e674df82682c295375319b7a4cf13b20 Vladyslav Bondarenko 2024-06-18 11:58:53
fix: make raid frames protected c94bb2d05a404e2a1e802cf03daa6325cf38827b Vladyslav Bondarenko 2024-06-18 11:57:42
feat: cast bar shows instants and failures c08b3be1c0d8d63b298a71ddf7af734703ffcb42 Vladyslav Bondarenko 2024-06-16 20:42:42
feat: spell channel bar moves in reverse 64e0512304854e28df8ad94363a048fd997dc502 Vladyslav Bondarenko 2024-06-16 19:19:53
doc: valid references to github 6aba3821b71216c07d8f02b24f75006e556dca61 Vladyslav Bondarenko 2024-06-16 17:28:59
build: allow either GNUmake or pdpmake to be used 4f3cd088299dc09f5207caeeddedfcca461d439e Vladyslav Bondarenko 2024-06-16 15:52:32
doc: add minimal documentation 125835dbbef41528e4f545642f62e519e7e8f9fc Vladyslav Bondarenko 2024-06-16 15:34:58
doc: descript aura button API 7d110e3d397a335d2dc0ffbf699acc487730d0d8 Vladyslav Bondarenko 2024-06-16 13:24:52
feat: add ldoc custom see tag handler d28dc9809939a99694d87cf1d0654eb0e2fcd314 Vladyslav Bondarenko 2024-06-16 13:23:24
feat: add optional xmlstarlet support b2db46335cb4aa461c45915d235c6d8d340a3dea Vladyslav Bondarenko 2024-06-16 09:57:27
fix: indent Chorus.xml with tabs and not spaces bf4091ab69c75aafa9256b0503b5addd316e214f Vladyslav Bondarenko 2024-06-16 09:39:28
fix: format generated XML with tabs and not spaces d0018a28b184add22ea69f86c8b334a72310004e Vladyslav Bondarenko 2024-06-16 09:26:54
doc: raid frame profile generator script 22deb6f002463583ef5fd5c1acfcfb5777329aa8 Vladyslav Bondarenko 2024-06-15 21:55:01
feat: add fallback offline label a621e23fe7dc5668f0525dcc2bc60d916c2a1c14 Vladyslav Bondarenko 2024-06-15 19:08:05
fix: add test mocks for background and backdrop 2b22abbcb266bb02bded0633301e1669ed1b040d Vladyslav Bondarenko 2024-06-15 19:07:40
fix: render raid target icon above health cb950c903e6fe0a8078ea06473ce3a01157e55cc Vladyslav Bondarenko 2024-06-15 19:06:13
fix: shift solo frames left 4ba54a74c54b3bc68411fa8882ebd08a93587a1d Vladyslav Bondarenko 2024-06-15 19:04:37
Commit af87ae82144ba3e49bec3f3cc18919b502d46da8 - feat: color unit headers by reaction
Huge unit frame header backgrounds are color coded by unit reaction.
Friends are grey, enemies are red, neutrals are yellow.
Author: Vladyslav Bondarenko
Author date (UTC): 2024-06-18 15:19
Committer name: Vladyslav Bondarenko
Committer date (UTC): 2024-06-18 15:31
Parent(s): 99341dd5c6cb03861fdfa802a1cde520887b29b5
Signer:
Signing key: EFF9624877D25D02
Signing status: E
Tree: 57ce527fbff07aa34fc1c24f60fc19172e382162
File Lines added Lines deleted
src/ChorusUnitBackgroundTemplate.lua 34 0
src/ChorusUnitBackgroundTemplate.xml 7 1
File src/ChorusUnitBackgroundTemplate.lua changed (mode: 100644) (index 0081d28..ebe0798)
... ... local function unitBackgroundEventProcessor(unitBackground)
15 15 unitBackground:Show() unitBackground:Show()
16 16 else else
17 17 unitBackground:Hide() unitBackground:Hide()
18 return
19 end
20
21 local textureEnemy = unitBackground.textureEnemy
22 assert(textureEnemy ~= nil)
23
24 local textureFriend = unitBackground.textureFriend
25 assert(textureFriend ~= nil)
26
27 local textureNeutral = unitBackground.textureNeutral
28 assert(textureNeutral ~= nil)
29
30 if UnitIsFriend('player', u) then
31 textureFriend:Show()
32 textureEnemy:Hide()
33 textureNeutral:Hide()
34 elseif UnitIsEnemy('player', u) then
35 textureFriend:Show()
36 textureEnemy:Show()
37 textureNeutral:Hide()
38 elseif UnitIsTapped(u) then
39 textureFriend:Show()
40 textureEnemy:Show()
41 textureNeutral:Hide()
42 else
43 textureFriend:Hide()
44 textureEnemy:Hide()
45 textureNeutral:Show()
18 46 end end
19 47 end end
20 48
 
... ... This frame is composed with unit frames and unit buttons.
29 57 local function unitBackgroundMain(unitBackground) local function unitBackgroundMain(unitBackground)
30 58 assert(unitBackground ~= nil) assert(unitBackground ~= nil)
31 59
60 local n = unitBackground:GetName() or ''
61 unitBackground.textureFriend = _G[string.format('%sTexture1', n)]
62 unitBackground.textureEnemy = _G[string.format('%sTexture2', n)]
63 unitBackground.textureNeutral = _G[string.format('%sTexture3', n)]
64
32 65 unitBackground:RegisterEvent('ADDON_LOADED') unitBackground:RegisterEvent('ADDON_LOADED')
33 66 unitBackground:RegisterEvent('PARTY_CONVERTED_TO_RAID') unitBackground:RegisterEvent('PARTY_CONVERTED_TO_RAID')
34 67 unitBackground:RegisterEvent('PARTY_MEMBERS_CHANGED') unitBackground:RegisterEvent('PARTY_MEMBERS_CHANGED')
 
... ... local function unitBackgroundMain(unitBackground)
36 69 unitBackground:RegisterEvent('PLAYER_LOGIN') unitBackground:RegisterEvent('PLAYER_LOGIN')
37 70 unitBackground:RegisterEvent('PLAYER_TARGET_CHANGED') unitBackground:RegisterEvent('PLAYER_TARGET_CHANGED')
38 71 unitBackground:RegisterEvent('RAID_ROSTER_UPDATE') unitBackground:RegisterEvent('RAID_ROSTER_UPDATE')
72 unitBackground:RegisterEvent('ZONE_CHANGED')
39 73
40 74 unitBackground:SetScript('OnEvent', unitBackgroundEventProcessor) unitBackground:SetScript('OnEvent', unitBackgroundEventProcessor)
41 75 end end
File src/ChorusUnitBackgroundTemplate.xml changed (mode: 100644) (index 717b7d9..a3e05c5)
4 4 <Frame name="ChorusUnitBackgroundTemplate" virtual="true" protected="false" setAllPoints="true"> <Frame name="ChorusUnitBackgroundTemplate" virtual="true" protected="false" setAllPoints="true">
5 5 <Layers> <Layers>
6 6 <Layer level="BACKGROUND"> <Layer level="BACKGROUND">
7 <Texture name="$parentTexture" setAllPoints="true">
7 <Texture name="$parentTexture1" setAllPoints="true">
8 8 <Color r="0" g="0" b="0" a="0.34"/> <Color r="0" g="0" b="0" a="0.34"/>
9 9 </Texture> </Texture>
10 <Texture name="$parentTexture2" setAllPoints="true" hidden="true">
11 <Color r="0.7" g="0.14" b="0.14" a="0.34"/>
12 </Texture>
13 <Texture name="$parentTexture3" setAllPoints="true" hidden="true">
14 <Color r="1" g="0.84" b="0" a="0.34"/>
15 </Texture>
10 16 </Layer> </Layer>
11 17 </Layers> </Layers>
12 18 <Attributes> <Attributes>
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