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:
@@ -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
|
||||
Reference in New Issue
Block a user