Hallo,
Playing around with an oUF layout here, specifically the eclipse bar. Trying to use the blizzard power text fontstring but having some problems. Got this so far:
Code:
EclipseBarFrame:SetParent(oUF_Neav_Player)
EclipseBarFrame:SetScale(config.units.player.scale * 0.82)
EclipseBar_OnLoad(EclipseBarFrame)
EclipseBarFrame:ClearAllPoints()
EclipseBarFrame:SetPoint('TOP', oUF_Neav_Player, 'BOTTOM', 30, 2)
EclipseBarFrame:Show()
EclipseBarFrame.powerText:SetParent(EclipseBarFrame)
EclipseBarFrame.powerText:SetFont(config.font.normal, 10)
EclipseBarFrame.powerText:ClearAllPoints()
EclipseBarFrame.powerText:Show()
EclipseBarFrame.powerText:SetShadowOffset(1, -1)
EclipseBarFrame.powerText:SetPoint('CENTER', EclipseBarFrame, 0, 0.5)
Everything is working good except i want the text to always be shown, now it's only on mouseover. So I'm asking for a way to modify it to the text always shown, maybe unregister something for.. yeah you catch my drift. Anyone know a cheap way in doing this? Here's my sources:
http://wowprogramming.com/utils/xmlb...seBarFrame.lua
http://wowprogramming.com/utils/xmlb...seBarFrame.xml
Thanks for any help