List of commits:
Subject Hash Author Date (UTC)
feat: Add threat widget artwork 10a71ac6c861b17079e7ff0322b10f6df97ca6b8 Vladyslav Bondarenko 2022-06-03 13:05:47
fix: Increase raid unit button size to fit debuffs 21aad50307e507f263a916d2b7b7af6f2582baa2 Vladyslav Bondarenko 2022-06-03 11:42:36
feat: Hide native party frame be95fb0cc9435c4f4d30c419c06ad8b03946e12a Vladyslav Bondarenko 2022-05-27 05:36:29
feat: Shrink raid unit button size further b26214b3164b29dbd5f673421e14919b8239fc23 Vladyslav Bondarenko 2022-05-27 05:35:25
fix: Remove false assertion failures from bar code e774cdf9a57ea230e9c4610469785c9d0a1a9403 Vladyslav Bondarenko 2022-05-11 10:30:46
feat!: Add power bar 86e4270556a9570778f43abb662f1174ce4351e0 Vladyslav Bondarenko 2022-05-10 20:38:48
fix(choir)!: Update shortcuts without reloading UI 7f29a9404aa869805403f788703e048bcd538da0 Vladyslav Bondarenko 2022-01-26 23:13:05
feat(choir)!: Add spoiler pagination 1f1a418878887241a16374ca31592640a0c2941a Vladyslav Bondarenko 2022-01-08 13:30:53
fix(choir)!: Health bar update processor 7be81c650f45198678e8ca517afeb8413638579d Vladyslav Bondarenko 2022-01-08 10:14:54
feat(choir): Unit button contextual menu 981e9016b0c9a377219a13d2716d09de899efe60 Vladyslav Bondarenko 2022-01-08 10:06:50
fix(choir): Update range indicator correctly e2810d30fe62427920479057e1cc28f3ed45ff31 Vladyslav Bondarenko 2022-01-08 03:34:08
fix(choir): Raid frame and spoiler overlap e1a8da43270859a3c36b67f81357a935f0b6f2ef Vladyslav Bondarenko 2022-01-08 02:00:26
fix(choir): Update only existing units when necessary 82b7e0cfd4354263f27ea206f555e9771f2e8f8c Vladyslav Bondarenko 2021-12-31 07:45:00
feat(choir): Render unit threat situation dee7167e3a7e453425248a1062560f9bfd8b3bb4 Vladyslav Bondarenko 2021-12-28 01:39:09
fix(choir): Render dungeon role correctly for Cata 590a4abfd82659624688c4c1658de87693d3cd30 Vladyslav Bondarenko 2021-12-28 00:31:52
fix(choir): Show raid frame at player login 21a86d3840fb810c4ff4c67490aae7d5251c1bae Vladyslav Bondarenko 2021-11-24 06:07:10
feat(choir)!: Add interface options for raid frame ce677d3d0e7cfe05d1da5b159f52a0808db9ce9a Vladyslav Bondarenko 2021-11-24 06:05:37
feat(choir): Add conf spell shortcut default button c8e2c3493896f5ae589c516f742bbafd528140db Vladyslav Bondarenko 2021-11-24 02:28:19
feat(choir)!: Add configuration menu 12319ce873aecea4bfc0addec7c5ac5c1f225237 Vladyslav Bondarenko 2021-11-21 09:26:05
feat(choir): Add unit game tooltip 3ec490e489bb105f5096d5bb3e56814873deec3f Vladyslav Bondarenko 2021-11-20 09:34:12
Commit 10a71ac6c861b17079e7ff0322b10f6df97ca6b8 - feat: Add threat widget artwork
Author: Vladyslav Bondarenko
Author date (UTC): 2022-06-03 13:05
Committer name: Vladyslav Bondarenko
Committer date (UTC): 2022-06-03 13:06
Parent(s): 21aad50307e507f263a916d2b7b7af6f2582baa2
Signer:
Signing key: EFF9624877D25D02
Signing status: E
Tree: 5226fcf4b552e1725553fa28d0dbd61e892a8784
File Lines added Lines deleted
choir.lua 10 9
File choir.lua changed (mode: 100644) (index 610354b..27ff728)
... ... local function threatWidgetEventProcessor(threatWidget)
646 646 r, g, b = GetThreatStatusColor(threatStatus) r, g, b = GetThreatStatusColor(threatStatus)
647 647 a = 1 a = 1
648 648 end end
649 local background = threatWidget.background
650 assert (background ~= nil)
651 background:SetVertexColor(r, g, b, a)
649 local artwork = threatWidget.artwork
650 assert (artwork ~= nil)
651 artwork:SetVertexColor(r, g, b, a)
652 652 end end
653 653
654 654 local function createThreatWidget(unitButton, width, height) local function createThreatWidget(unitButton, width, height)
655 655 local t = CreateFrame('FRAME', unitButton:GetName() .. 'ThreatFrame', unitButton) local t = CreateFrame('FRAME', unitButton:GetName() .. 'ThreatFrame', unitButton)
656 656 t:SetSize(width, height) t:SetSize(width, height)
657 657
658 local background = t:CreateTexture(t:GetName() .. 'Background', 'BACKGROUND')
659 background:SetAllPoints()
660 background:SetTexture("Interface\\AddOns\\choir\\share\\Minimalist.tga")
661 t.background = background
658 local artwork = t:CreateTexture(t:GetName() .. 'Artwork', 'ARTWORK')
659 local artworkSize = math.min(width, height)
660 artwork:SetPoint('BOTTOMLEFT', t, 'BOTTOMLEFT', width / 2 - artworkSize / 2, 0)
661 artwork:SetPoint('TOPRIGHT', t, 'BOTTOMLEFT', width / 2 + artworkSize / 2, height)
662 artwork:SetTexture("Interface\\RaidFrame\\UI-RaidFrame-Threat")
663 t.artwork = artwork
662 664
663 665 t:RegisterEvent('UNIT_THREAT_SITUATION_UPDATE') t:RegisterEvent('UNIT_THREAT_SITUATION_UPDATE')
664 666 t:RegisterEvent('PLAYER_ENTERING_WORLD') t:RegisterEvent('PLAYER_ENTERING_WORLD')
 
... ... local function createUnitButton(parentFrame, frameName, unit,
861 863 local powerBarFrame = createProgressBar(frameName .. 'PowerBarFrame', u, 'UNIT_POWER', local powerBarFrame = createProgressBar(frameName .. 'PowerBarFrame', u, 'UNIT_POWER',
862 864 progressBarWidth, progressBarHeight) progressBarWidth, progressBarHeight)
863 865
864 local threatWidget = createThreatWidget(u, width, 6)
866 local threatWidget = createThreatWidget(u, width, 12)
865 867
866 868 local rangeWidget = createRangeWidget(u) local rangeWidget = createRangeWidget(u)
867 869 assert (rangeWidget ~= nil) assert (rangeWidget ~= nil)
 
... ... local function createUnitButton(parentFrame, frameName, unit,
896 898 y = y - section:GetHeight() y = y - section:GetHeight()
897 899 end end
898 900 end end
899
900 901 local backdropInfo = { local backdropInfo = {
901 902 bgFile = "Interface\\Tooltips\\UI-Tooltip-Background", bgFile = "Interface\\Tooltips\\UI-Tooltip-Background",
902 903 edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border",
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/choir

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

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

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