Quantcast OUF_p3lim - Adding altpower - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Unread 05-21-13, 02:35 AM   #1
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Jun 2011
Posts: 37
OUF_p3lim - Adding altpower

I am trying to add altpowerbar to target frame. So I went ahead and added below codes into target section. But it's not showing up. Any idea?

                local AltPower = CreateFrame('StatusBar', nil, self)
		AltPower:SetPoint('BOTTOM', 0, -10)
		AltPower:SetSize(230, 6)
		AltPower:SetStatusBarColor(0.15, 0.7, 0.1)
		AltPower:SetBackdropColor(0, 0, 0)
		AltPower.colorTexture = true
		self.AltPowerBar = AltPower

		local AltPowerBG = AltPower:CreateTexture(nil, 'BORDER')
		AltPowerBG:SetTexture(1/3, 1/3, 1/3)
skarie is offline   Reply With Quote

Go BackWoWInterface » Featured Projects » oUF (Otravi Unit Frames) » OUF_p3lim - Adding altpower

Thread Tools
Display Modes

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