From ef8a164452958016d68825f686d8369f1ad7bd76 Mon Sep 17 00:00:00 2001 From: p3lim-52096 Date: Tue, 25 Nov 2008 01:11:28 +0000 Subject: [PATCH] Added combopoint display to pet git-svn-id: svn://svn.wowinterface.com/oUF_P3lim-52/trunk@45 8c7459ed-49dc-4bc8-85d7-b6381a8f5413 --- oUF_P3lim/oUF_P3lim.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/oUF_P3lim/oUF_P3lim.lua b/oUF_P3lim/oUF_P3lim.lua index acc1e03..5be40c1 100644 --- a/oUF_P3lim/oUF_P3lim.lua +++ b/oUF_P3lim/oUF_P3lim.lua @@ -280,6 +280,16 @@ local function CreateStyle(self, unit) self.Auras.initialAnchor = 'TOPRIGHT' self.Auras['growth-x'] = 'LEFT' + self.CPoints = self.Health:CreateFontString(nil, 'OVERLAY', 'GameFontHighlight') + self.CPoints:SetPoint('LEFT', self.Health, 2, 0) + self.CPoints:SetJustifyH('LEFT') + self.CPoints.unit = 'pet' + + self.CPoints.Text = self.Health:CreateFontString(nil, 'OVERLAY', 'GameFontNormalSmall') + self.CPoints.Text:SetPoint('LEFT', self.CPoints, 'RIGHT', 1, 0) + self.CPoints.Text:SetJustifyH('LEFT') + self.CPoints.Text:SetText('|cff0090ffCP|r') + self:SetAttribute('initial-height', 27) self:SetAttribute('initial-width', 130) end -- 1.7.9.5