From 56d3e24725e344cd27dc27f10cb6c4964fd73ed3 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Thu, 13 Aug 2009 18:37:54 +0200 Subject: [PATCH] Remove the runebar element for now --- oUF_P3lim.lua | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua index 943c911..b97d560 100644 --- a/oUF_P3lim.lua +++ b/oUF_P3lim.lua @@ -367,27 +367,6 @@ local function styleFunction(self, unit) self.Reputation.bg:SetTexture(0.3, 0.3, 0.3) end - if(IsAddOnLoaded('oUF_RuneBar') and unit == 'player' and class == 'DEATHKNIGHT') then - self.RuneBar = {} - for i = 1, 6 do - self.RuneBar[i] = CreateFrame('StatusBar', self:GetName()..'_runebar'..i, self) - if(i == 1) then - self.RuneBar[i]:SetPoint('TOPLEFT', self, 'BOTTOMLEFT', 0, -1) - else - self.RuneBar[i]:SetPoint('TOPLEFT', self.RuneBar[i-1], 'TOPRIGHT', 1, 0) - end - self.RuneBar[i]:SetStatusBarTexture(texture) - self.RuneBar[i]:SetHeight(4) - self.RuneBar[i]:SetWidth(230/6 - 0.85) - self.RuneBar[i]:SetBackdrop(backdrop) - self.RuneBar[i]:SetBackdropColor(0, 0, 0) - - self.RuneBar[i].bg = self.RuneBar[i]:CreateTexture(nil, 'BORDER') - self.RuneBar[i].bg:SetAllPoints(self.RuneBar[i]) - self.RuneBar[i].bg:SetTexture(0.3, 0.3, 0.3) - end - end - if(IsAddOnLoaded('oUF_Experience') and (unit == 'pet' or unit == 'player')) then self.Experience = CreateFrame('StatusBar', self:GetName()..'_experience', self) self.Experience:SetPoint('TOP', self, 'BOTTOM', 0, -10) -- 1.7.9.5