View Single Post
10-13-10, 01:28 PM   #59
Zilver
A Fallenroot Satyr
 
Zilver's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2006
Posts: 29
CancelUnitBuff() tainted

Hi you all

Do we have anyway to create secure aura/buff/debuff buttons or are we locked out by Blizzard ?

Currently this is how I create my Auras buttons:
Code:
	do -- setup buffs and debuffs
		self.Auras = CreateFrame("Frame",nil,self);
		self.Auras:SetWidth(22*10); self.Auras:SetHeight(22*2);
		self.Auras:SetPoint("BOTTOMLEFT",self,"TOPLEFT",10,0);
		self.Auras:SetFrameStrata("BACKGROUND");
		self.Auras:SetFrameLevel(4);
		-- settings
		self.Auras.size = 20; self.Auras.spacing = 1;
		self.Auras.initialAnchor = "BOTTOMLEFT";
		self.Auras["growth-x"] = "RIGHT";
		self.Auras["growth-y"] = "UP";
		self.Auras.gap = true;
		self.Auras.numBuffs = 10;
		self.Auras.numDebuffs = 10;
		
		self.Auras.PostUpdate = PostUpdateAura;
	end
Anyone know a way to create em without taint?
  Reply With Quote