View Single Post
01-31-09, 05:30 AM   #596
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 648
Originally Posted by Alkar View Post
Again bruners u are a godsend i do have one more question tho... u know i have my border and back drop textuers is there a way to make the border texture class colored if its a solid texture?
I hope i don't misunderstand you, but here goes:
Code:
local r, g, b
local class = select(2, UnitClass('player'))
if class then
	r = RAID_CLASS_COLORS[class].r
	g = RAID_CLASS_COLORS[class].g
	b = RAID_CLASS_COLORS[class].b
end

SetBackdropColor(r, g, b)
Hope this helps!
__________________
All I see is strobe lights blinding me in my hindsight.