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: change aura tooltip graphics bf7cb7b9b19ffb4850d8e72d8352af75a5bdccfa Vladyslav Bondarenko 2025-02-02 22:52:58
fix!: aura tooltip aura buttons clearly visible dcebd82df00d5daee8d008c625e71d13c8da8c37 Vladyslav Bondarenko 2025-02-02 21:26:15
feat: bump version to 0.12.0-10 fffe025cfcfbe5ec0356d34cffdef1bfb62ea0af Vladyslav Bondarenko 2025-02-02 18:57:49
feat: allow aura tooltip to be dragged d4d699efa596b5bc5004873b3e41b50a09f4f3db Vladyslav Bondarenko 2025-02-02 18:56:00
feat!: create singleton aura tooltip 8e8e798543ef100a71ba2a9d212e66b1ddd667ab Vladyslav Bondarenko 2025-02-02 00:04:55
fix: show auras over role widgets 3bb62c88147af0ee522f4ce963ce206c315f4c9a Vladyslav Bondarenko 2025-02-01 21:27:33
fix: sanitize FrameXML fa5b0bbc1db073aa06e59d9bf03eb8d471a084b2 Vladyslav Bondarenko 2025-02-01 19:20:16
fix: make combat widget more visible 4b01d27fa7eeef55a6dcb866ec30641ee80e6f5b Vladyslav Bondarenko 2025-02-01 18:02:43
fix: make player roles more visible e28bbf987659ac717962de851226aa33409f472a Vladyslav Bondarenko 2025-02-01 18:02:21
feat: remove player from party frame 6d5f8b8a8bb1af9b596895ba42fdefed177560b6 Vladyslav Bondarenko 2025-02-01 16:07:20
feat: bump version to 0.12.0 83bd49398b8bff070bcb3664be634b02c78fa6dc Vladyslav Bondarenko 2025-01-29 16:39:56
fix: appease static analysis ce0659b8b6fb49f42fda914d2fd47da38fb80e63 Vladyslav Bondarenko 2025-01-29 16:39:39
fix!: persist frame position settings correctly 390fb24c1b2a19e378694adfa6efc7c93bdf1a55 Vladyslav Bondarenko 2025-01-29 16:34:56
feat!: drag chorus frames and save their positions e84a0e1d4a43760bbb177de901575ff10b388ccc Vladyslav Bondarenko 2025-01-29 09:37:39
fix: only drag frames out of combat 03ca7d9431c849e824699089dd82739f1c28870e Vladyslav Bondarenko 2025-01-28 07:43:06
feat: bump nightly version 05ac3fad466d01d2591439c6a39e5ae47d38803b Vladyslav Bondarenko 2025-01-27 21:37:11
feat!: add configuration menu 254bab612dbdadb0db925eab00cec81256b032ff Vladyslav Bondarenko 2025-01-27 21:30:05
fix: aura buttons do not violate borders 452ee7ff2e66a63e1c86f1cc1d9056b4ebe5cec4 Vladyslav Bondarenko 2025-01-27 18:02:08
fix: do not overlap tiny aura buttons 6f894b23eb90d2e88f57285ef7d5779550386ab9 Vladyslav Bondarenko 2025-01-27 17:58:48
fix: unify aura button logic 52c88f27f978e6ae528e4d04507f8c73184f904c Vladyslav Bondarenko 2025-01-27 17:50:00
Commit bf7cb7b9b19ffb4850d8e72d8352af75a5bdccfa - feat: change aura tooltip graphics
Author: Vladyslav Bondarenko
Author date (UTC): 2025-02-02 22:52
Committer name: Vladyslav Bondarenko
Committer date (UTC): 2025-02-02 22:52
Parent(s): dcebd82df00d5daee8d008c625e71d13c8da8c37
Signer:
Signing key: EFF9624877D25D02
Signing status: E
Tree: f038260e91e156557d251c7a5c14c39c702c7fc2
File Lines added Lines deleted
src/ChorusAuraFrameTemplate.lua 13 20
src/ChorusAuraTooltipFrameTemplate.xml 93 26
File src/ChorusAuraFrameTemplate.lua changed (mode: 100644) (index f38b2c8..e33c725)
... ... local auraButtonRefresh = Chorus.auraButtonRefresh
10 10
11 11 local SecureButton_GetUnit = Chorus.test.SecureButton_GetUnit or SecureButton_GetUnit local SecureButton_GetUnit = Chorus.test.SecureButton_GetUnit or SecureButton_GetUnit
12 12
13 --[[ See `FrameXML/BuffFrame.lua:BUFF_MAX_DISPLAY`. ]]--
14 local BUFF_MAX_DISPLAY = BUFF_MAX_DISPLAY or 36
15 --[[ See `FrameXML/BuffFrame.lua:DEBUFF_MAX_DISPLAY`. ]]--
16 local DEBUFF_MAX_DISPLAY = DEBUFF_MAX_DISPLAY or 36
17
18 13 local auraWeightMap = ChorusAuraWeightMap local auraWeightMap = ChorusAuraWeightMap
19 14
20 15 --[[-- --[[--
 
... ... local function createEveryAuraButton(auraFrame)
150 145 local n = self:GetName() local n = self:GetName()
151 146 assert(n ~= nil) assert(n ~= nil)
152 147
153 local max = math.max(BUFF_MAX_DISPLAY or 36, DEBUFF_MAX_DISPLAY or 36) or 36
148 local buttonSize = 30
149 local frameWidth = math.max(auraFrame:GetWidth(), buttonSize)
150 local columnQuantity = math.ceil(frameWidth / buttonSize)
154 151 local i = 0 local i = 0
155 local w = math.max(self:GetWidth(), 30)
156 local bmaxh = 30
157 local x = 0
158 local y = 0
159 while (i < max) do
152 local column = 0
153 local row = 0
154 while (i < 36) do
160 155 i = i + 1 i = i + 1
161
162 local m = string.format('%sAuraButton%02d', n, i)
163 local b = CreateFrame('FRAME', m, self, 'ChorusAuraLargeButtonTemplate')
164 b:SetPoint('TOPLEFT', x, -y)
165 x = x + b:GetWidth()
166 bmaxh = math.max(bmaxh, b:GetHeight())
167 if x >= w then
168 x = 0
169 y = y + bmaxh
156 local m = string.format('%s%02d', n, i)
157 local f = CreateFrame('FRAME', m, auraFrame, 'ChorusAuraLargeButtonTemplate')
158 f:SetPoint('TOPLEFT', buttonSize * column, buttonSize * -row)
159 column = column + 1
160 if column >= columnQuantity then
161 column = 0
162 row = row + 1
170 163 end end
171 164 end end
172 165 end end
File src/ChorusAuraTooltipFrameTemplate.xml changed (mode: 100644) (index 070258a..c64bd8c)
3 3 <Script file="ChorusAuraTooltipFrameTemplate.lua"/> <Script file="ChorusAuraTooltipFrameTemplate.lua"/>
4 4 <Frame name="ChorusAuraTooltipFrameAuraFrameTemplate" frameStrata="TOOLTIP" inherits="ChorusAuraFrameTemplate" virtual="true"> <Frame name="ChorusAuraTooltipFrameAuraFrameTemplate" frameStrata="TOOLTIP" inherits="ChorusAuraFrameTemplate" virtual="true">
5 5 <Size> <Size>
6 <AbsDimension x="180" y="180"/>
6 <AbsDimension x="360" y="90"/>
7 7 </Size> </Size>
8 8 <!-- Allocate `ChorusAuraButtonTemplate` instances dynamically at runtime, <!-- Allocate `ChorusAuraButtonTemplate` instances dynamically at runtime,
9 9 instead of declaring them in this descriptor with `Frames` tag. instead of declaring them in this descriptor with `Frames` tag.
10 10 See ChorusAuraFrameTemplate.lua. --> See ChorusAuraFrameTemplate.lua. -->
11 11 </Frame> </Frame>
12 <Frame name="ChorusAuraTooltipFrameTemplate" inherits="SecureFrameTemplate" frameStrata="TOOLTIP" hidden="true" virtual="true" protected="true" movable="true" enableMouse="true">
12 <Frame name="ChorusAuraTooltipFrameTemplate" inherits="SecureFrameTemplate" frameStrata="TOOLTIP" hidden="true" virtual="true" protected="true" movable="true" enableMouse="true" toplevel="true">
13 13 <Size> <Size>
14 <AbsDimension x="192" y="384"/>
14 <AbsDimension x="370" y="210"/>
15 15 </Size> </Size>
16 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
17 <EdgeSize>
18 <AbsValue val="16"/>
19 </EdgeSize>
20 <TileSize>
21 <AbsValue val="16"/>
22 </TileSize>
23 <BackgroundInsets>
24 <AbsInset left="5" right="5" top="5" bottom="5"/>
25 </BackgroundInsets>
26 </Backdrop>
16 <Layers>
17 <Layer level="BACKGROUND">
18 <Texture name="$parentTitleBG" file="Interface\PaperDollInfoFrame\UI-GearManager-Title-Background">
19 <Anchors>
20 <Anchor point="TOPLEFT">
21 <Offset x="9" y="-6"/>
22 </Anchor>
23 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
24 <Offset x="-28" y="-24"/>
25 </Anchor>
26 </Anchors>
27 </Texture>
28 <Texture name="$parentDialogBG" file="Interface\Tooltips\UI-Tooltip-Background">
29 <Anchors>
30 <Anchor point="TOPLEFT">
31 <Offset x="8" y="-24"/>
32 </Anchor>
33 <Anchor point="BOTTOMRIGHT">
34 <Offset x="-6" y="8"/>
35 </Anchor>
36 </Anchors>
37 <Color r="0" g="0" b="0" a=".75"/>
38 </Texture>
39 </Layer>
40 <Layer level="BORDER">
41 <Texture name="$parentTopLeft" file="Interface\PaperDollInfoFrame\UI-GearManager-Border">
42 <Size x="64" y="64"/>
43 <Anchors>
44 <Anchor point="TOPLEFT"/>
45 </Anchors>
46 <TexCoords left="0.501953125" right="0.625" top="0" bottom="1"/>
47 </Texture>
48 <Texture name="$parentTopRight" file="Interface\PaperDollInfoFrame\UI-GearManager-Border">
49 <Size x="64" y="64"/>
50 <Anchors>
51 <Anchor point="TOPRIGHT"/>
52 </Anchors>
53 <TexCoords left="0.625" right="0.75" top="0" bottom="1"/>
54 </Texture>
55 <Texture name="$parentTop" file="Interface\PaperDollInfoFrame\UI-GearManager-Border">
56 <Size x="0" y="64"/>
57 <Anchors>
58 <Anchor point="TOPLEFT" relativeTo="$parentTopLeft" relativePoint="TOPRIGHT"/>
59 <Anchor point="TOPRIGHT" relativeTo="$parentTopRight" relativePoint="TOPLEFT"/>
60 </Anchors>
61 <TexCoords left="0.25" right="0.369140625" top="0" bottom="1"/>
62 </Texture>
63 <Texture name="$parentBottomLeft" file="Interface\PaperDollInfoFrame\UI-GearManager-Border">
64 <Size x="64" y="64"/>
65 <Anchors>
66 <Anchor point="BOTTOMLEFT"/>
67 </Anchors>
68 <TexCoords left="0.751953125" right="0.875" top="0" bottom="1"/>
69 </Texture>
70 <Texture name="$parentBottomRight" file="Interface\PaperDollInfoFrame\UI-GearManager-Border">
71 <Size x="64" y="64"/>
72 <Anchors>
73 <Anchor point="BOTTOMRIGHT"/>
74 </Anchors>
75 <TexCoords left="0.875" right="1" top="0" bottom="1"/>
76 </Texture>
77 <Texture name="$parentBottom" file="Interface\PaperDollInfoFrame\UI-GearManager-Border">
78 <Size x="0" y="64"/>
79 <Anchors>
80 <Anchor point="BOTTOMLEFT" relativeTo="$parentBottomLeft" relativePoint="BOTTOMRIGHT"/>
81 <Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomRight" relativePoint="BOTTOMLEFT"/>
82 </Anchors>
83 <TexCoords left="0.376953125" right="0.498046875" top="0" bottom="1"/>
84 </Texture>
85 <Texture name="$parentLeft" file="Interface\PaperDollInfoFrame\UI-GearManager-Border">
86 <Size x="64" y="0"/>
87 <Anchors>
88 <Anchor point="TOPLEFT" relativeTo="$parentTopLeft" relativePoint="BOTTOMLEFT"/>
89 <Anchor point="BOTTOMLEFT" relativeTo="$parentBottomLeft" relativePoint="TOPLEFT"/>
90 </Anchors>
91 <TexCoords left="0.001953125" right="0.125" top="0" bottom="1"/>
92 </Texture>
93 <Texture name="$parentRight" file="Interface\PaperDollInfoFrame\UI-GearManager-Border">
94 <Size x="64" y="0"/>
95 <Anchors>
96 <Anchor point="TOPRIGHT" relativeTo="$parentTopRight" relativePoint="BOTTOMRIGHT"/>
97 <Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomRight" relativePoint="TOPRIGHT"/>
98 </Anchors>
99 <TexCoords left="0.1171875" right="0.2421875" top="0" bottom="1"/>
100 </Texture>
101 </Layer>
102 </Layers>
27 103 <Frames> <Frames>
28 104 <Button name="$parentSecureHandlerClickFrame" inherits="SecureHandlerClickTemplate"/> <Button name="$parentSecureHandlerClickFrame" inherits="SecureHandlerClickTemplate"/>
29 105 <Frame name="$parentSecureHandlerShowHideFrame" inherits="SecureHandlerShowHideTemplate"/> <Frame name="$parentSecureHandlerShowHideFrame" inherits="SecureHandlerShowHideTemplate"/>
30 106 <Frame name="$parentUnitNameFrame" inherits="ChorusUnitNameFrameTemplate"> <Frame name="$parentUnitNameFrame" inherits="ChorusUnitNameFrameTemplate">
31 107 <Anchors> <Anchors>
32 <Anchor point="TOPRIGHT">
33 <Offset x="0" y="-3"/>
34 </Anchor>
35 108 <Anchor point="TOPLEFT"> <Anchor point="TOPLEFT">
36 <Offset x="12" y="-3"/>
37 </Anchor>
38 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
39 <Offset x="0" y="-24"/>
40 </Anchor>
41 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
42 <Offset x="0" y="-24"/>
109 <Offset x="12" y="-6"/>
43 110 </Anchor> </Anchor>
44 111 </Anchors> </Anchors>
45 112 </Frame> </Frame>
46 113 <Button name="$parentCloseButton" inherits="UIPanelCloseButton,SecureActionButtonTemplate"> <Button name="$parentCloseButton" inherits="UIPanelCloseButton,SecureActionButtonTemplate">
47 114 <Size> <Size>
48 <AbsDimension x="24" y="24"/>
115 <AbsDimension x="32" y="32"/>
49 116 </Size> </Size>
50 117 <Anchors> <Anchors>
51 118 <Anchor point="TOPRIGHT"> <Anchor point="TOPRIGHT">
52 <Offset x="-6" y="-6"/>
119 <Offset x="2" y="1"/>
53 120 </Anchor> </Anchor>
54 121 </Anchors> </Anchors>
55 122 </Button> </Button>
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