From 145aaea8dd91635e0fcb9716eb567d8b08854abb Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Mon, 27 Aug 2012 17:17:34 +0200 Subject: [PATCH] Add support for oUF_Experience again --- oUF_P3lim.lua | 19 +++++++++++++++++++ oUF_P3lim.toc | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua index 89aed33..db8927a 100644 --- a/oUF_P3lim.lua +++ b/oUF_P3lim.lua @@ -97,6 +97,25 @@ local UnitSpecific = { PowerValue.frequentUpdates = 0.1 self:Tag(PowerValue, '[|cffffff00>holypower<|r ][p3lim:power][ >p3lim:druid][ | >p3lim:spell]') + local Experience = CreateFrame('StatusBar', nil, self) + Experience:SetPoint('BOTTOM', 0, -20) + Experience:SetSize(230, 6) + Experience:SetStatusBarTexture(TEXTURE) + Experience:SetStatusBarColor(0.15, 0.7, 0.1) + self.Experience = Experience + + local Rested = CreateFrame('StatusBar', nil, Experience) + Rested:SetAllPoints() + Rested:SetStatusBarTexture(TEXTURE) + Rested:SetStatusBarColor(0, 0.4, 1, 0.6) + Rested:SetBackdrop(BACKDROP) + Rested:SetBackdropColor(0, 0, 0) + Experience.Rested = Rested + + local ExperienceBG = Rested:CreateTexture(nil, 'BORDER') + ExperienceBG:SetAllPoints() + ExperienceBG:SetTexture(1/3, 1/3, 1/3) + self.Debuffs.size = 22 self.Debuffs:SetSize(230, 22) self.Buffs.CustomFilter = FilterPlayerBuffs diff --git a/oUF_P3lim.toc b/oUF_P3lim.toc index e0ef725..c053ea9 100644 --- a/oUF_P3lim.toc +++ b/oUF_P3lim.toc @@ -4,7 +4,7 @@ ## Title: oUF P3lim ## Notes: Minimalistic layout ## RequiredDeps: oUF -## OptionalDeps: oUF_Fader +## OptionalDeps: oUF_Experience tags.lua oUF_P3lim.lua -- 1.7.9.5