Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-10-11, 02:28 PM   #1
Mock
A Black Drake
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 83
Post Change some blizzard events

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
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Change some blizzard events


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off