Maintenance Update and Mythic Dungeon Plus development progress

- Dungeon followers now correctly show into the damage done section.
- Fixed an error while statusbar plugin options.
- Framework update.
- Mythic Dungeon Plus code has been separated into six files (was just 2), this will help with the organization
and maintenance of the code.
This commit is contained in:
Tercio Jose
2024-01-31 13:34:00 -03:00
parent d4da0b2f46
commit ee0b350aba
32 changed files with 4476 additions and 2637 deletions
+19
View File
@@ -367,3 +367,22 @@ detailsFramework:Mixin(ImageMetaFunctions, detailsFramework.ScriptHookMixin)
return ImageObject
end
function detailsFramework:CreateHighlightTexture(parent, parentKey, alpha, name)
if (not name) then
name = "DetailsFrameworkPictureNumber" .. detailsFramework.PictureNameCounter
detailsFramework.PictureNameCounter = detailsFramework.PictureNameCounter + 1
end
local highlightTexture = parent:CreateTexture(name, "highlight")
highlightTexture:SetTexture([[Interface\Buttons\WHITE8X8]])
highlightTexture:SetAlpha(alpha or 0.1)
highlightTexture:SetBlendMode("ADD")
highlightTexture:SetAllPoints()
if (parentKey) then
parent[parentKey] = highlightTexture
end
return highlightTexture
end