Download
(2 Kb)
Download
Updated: 07-02-12 07:37 PM
Compatibility:
Mists of Pandaria (5.0.4)
Updated:07-02-12 07:37 PM
Created:07-02-12 12:36 AM
Downloads:773
Favorites:2
MD5:
oUF Shadow Orbs Bar
Version: 1.03
by: tukz [More]
Little oUF plugins for Shadow Priest (shadow orbs) on MoP Beta. This is not yet include in oUF so Ive made a couple of weeks ago a plugin for it. Haste will probably include this feature in oUF at a later date so this plugin is just for helping oUF layout editor temporary on MoP Beta with their oUF layouts.

Layout Example:

Code:
-- Priest Shadow Orbs Bar
if select(2, UnitClass("player")) == "PRIEST" then
	local pb = CreateFrame("Frame", "TukuiShadowOrbsBar", self)
	pb:SetPoint("BOTTOMLEFT", self, "TOPLEFT", 0, 1)
	pb:SetWidth(250)
	pb:SetHeight(8)
	pb:SetBackdrop({
	  bgFile = texture, 
	  edgeFile = C.media.blank, 
	  tile = false, tileSize = 0, edgeSize = 1, 
	  insets = { left = -1, right = -1, top = -1, bottom = -1}
	})
	pb:SetBackdropColor(unpack(C.media.backdropcolor))
	pb:SetBackdropBorderColor(unpack(C.media.backdropcolor))
	
	for i = 1, 3 do
		pb[i] = CreateFrame("StatusBar", "TukuiShadowOrbsBar"..i, pb)
		pb[i]:SetHeight(8)
		pb[i]:SetStatusBarTexture(C.media.normTex)
		
		if i == 1 then
			pb[i]:SetWidth((250 / 3) - 1)
			pb[i]:SetPoint("LEFT", pb, "LEFT", 0, 0)
		else
			pb[i]:SetWidth((250 / 3))
			pb[i]:SetPoint("LEFT", pb[i-1], "RIGHT", 1, 0)
		end
	end
	
	self.ShadowOrbsBar = pb
end
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Author
Date
1.02
2kB
tukz
07-02-12 07:29 PM
1.01
2kB
tukz
07-02-12 01:57 AM


Post A Reply Comment Options
Old 09-11-12, 03:43 PM  
xylocane
A Kobold Labourer

Forum posts: 1
File comments: 1
Uploads: 0
move bar

The shadow Orb bar is center right over my toon. Tried movers, but don't work.
This is the most annoying thing ever. Please let me know how to move this , so I can see my Toon.
Thanks much ahead of time :-)
Last edited by xylocane : 09-11-12 at 03:44 PM.
xylocane is offline Report comment to moderator  
Reply With Quote
Old 07-02-12, 07:31 PM  
tukz
A Fallenroot Satyr
 
tukz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 50
Uploads: 6
Yeah, thanks, its edited and updated.
tukz is offline Report comment to moderator  
Reply With Quote
Old 07-02-12, 08:30 AM  
Haleth
Super Moderator
 
Haleth's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 1054
File comments: 1021
Uploads: 27
You refer to Update rather than Path in Enable/Disable and AddElement.
__________________
[SIGPIC][/SIGPIC]
Haleth is online now Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: