Hey there,
i love the oUF_Hypocrisy frames but they have no EXP Bar support...until now.
Here is the code for the support:
file to edit: oUF_Hypocrisy\layout.lua
search:
Code:
self.AutoShot:SetBackdrop{
bgFile = "Interface\\ChatFrame\\ChatFrameBackground", tile = true, tileSize = 16,
insets = {left = -2, right = -2, top = -2, bottom = -2},
}
self.AutoShot:SetBackdropColor(0,0,0,1)
end
add
after the end:
Code:
if(IsAddOnLoaded('oUF_Experience')) then
self.Experience = CreateFrame('StatusBar', nil, self)
self.Experience:SetPoint('TOP', self, 'TOP', 0, -80)
self.Experience:SetStatusBarTexture(bartex)
self.Experience:SetStatusBarColor(0.2,0.7,0.1)
self.Experience:SetHeight(11)
self.Experience:SetWidth(180)
self.Experience:SetBackdrop{
bgFile = "Interface\\ChatFrame\\ChatFrameBackground", tile = true, tileSize = 16,
insets = {left = -2, right = -2, top = -2, bottom = -2},
}
self.Experience:SetBackdropColor(0,0,0,1)
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
self.Experience:SetStatusBarColor(r, g, b)
if xpbaronmouseover == true then
self.Experience.MouseOver = true
else
self.Experience.MouseOver = false
end
self.Experience.Tooltip = true
self.Experience.Text = self.Experience:CreateFontString(nil, 'OVERLAY', 'GameFontHighlightSmall')
self.Experience.Text:SetFont(font, fontsize-1)
self.Experience.Text:SetPoint('CENTER', self.Experience)
self.Experience.bg = self.Experience:CreateTexture(nil, 'BORDER')
self.Experience.bg:SetAllPoints(self.Experience)
self.Experience.bg:SetTexture(0.1, 0.1, 0.1)
end
works fine for me ;-)