General round of fixes, implementations and polishing

- Polished tooltips from damage and healing done.
- Added new sound: "Details Truck".
- Added 'right click to close' icons before the phrase, also the text is move visible now.
- Added ReopenAllWindows() as alias for a Portuguese function named ReabrirTodasInstancias().
- Added a close button for the breakdown options panel.
- Added support for mask in the spec icons shown in the regular window. Require to add: Instance.row_info.icon_mas = masktexture.
- Event "COMBAT_MYTHICPLUS_OVERALL_READY" now sends the overall mythic+ combat as payload.
This commit is contained in:
Tercio Jose
2024-03-11 15:43:10 -03:00
parent acc03f4769
commit 2c613e063d
29 changed files with 554 additions and 328 deletions
@@ -317,6 +317,19 @@ function Details:SetWindowColor(r, g, b, a)
colorTable[2] = g
colorTable[3] = b
colorTable[4] = a
local instanceTable = Details:GetAllInstances()
for _, instance in ipairs(instanceTable) do
if (instance:IsEnabled()) then
local baseFrame = instance.baseframe
local fullWindowFrame = baseFrame.fullWindowFrame
if (fullWindowFrame.__rcorners) then
if (fullWindowFrame.BottomHorizontalEdge:IsShown()) then
fullWindowFrame:SetColor(r, g, b, a)
end
end
end
end
end
---open the breakdown window
@@ -870,6 +883,9 @@ function Details:CreateBreakdownWindow()
statusBar.Text.fontcolor = fontColor
end
local rightClickToCloseLabel = Details:CreateRightClickToCloseLabel(statusBar)
rightClickToCloseLabel:SetPoint("right", -332, 4)
--set default text
breakdownWindowFrame:SetStatusbarText()