I managed to skin the healthbar, but the power bar texture changes only the raid frames.
What i have so far..
Lua Code:
hooksecurefunc("CompactUnitFrame_UpdateHealthColor", function(frame)
frame.healthBar:SetStatusBarTexture(AftermathhUI.media.texture)
frame.healthBar:SetStatusBarColor(unpack(AftermathhUI.ouf.healthbarcolor))
end)
hooksecurefunc("CompactUnitFrame_UpdatePowerColor", function(frame)
if frame.powerBar then
frame.powerBar:SetStatusBarTexture(AftermathhUI.media.texture)
frame.powerBar:SetStatusBarColor(AftermathhUI.Classcolor.r, AftermathhUI.Classcolor.g, AftermathhUI.Classcolor.b)
end
end)
http://imgur.com/a/zxCki
I want to color the power bar =)