WoWInterface SVN oUF_P3lim

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 57 to Rev 58
    Reverse comparison

Rev 57 → Rev 58

trunk/oUF_P3lim/oUF_P3lim.lua
152,8 → 152,10
if(min ~= max) then
if(unit == 'player') then
bar.Text:SetFormattedText('|cffff8080%d|r %d|cff0090ff%%|r', min-max, floor(min/max*100))
elseif(unit == 'pet') then
bar.Text:SetFormattedText('%s |cff0090ff/|r %s', truncate(min), truncate(max))
else
bar.Text:SetFormattedText('%d |cff0090ff/|r %d', min, max)
bar.Text:SetFormattedText('%s |cff0090ff/|r %s', min, max)
end
else
bar.Text:SetText(max)
249,8 → 251,6
self:RegisterEvent('PARTY_MEMBERS_CHANGED', UpdateMasterLooter)
self:RegisterEvent('PARTY_LEADER_CHANGED', UpdateMasterLooter)
 
self.BarFade = true
 
if(unit == 'player' or unit == 'pet') then
if(IsAddOnLoaded('oUF_Experience')) then
self.Experience = CreateFrame('StatusBar', nil, self)
277,7 → 277,7
if(unit == 'player') then
self:Tag(power, '[colorpp][curpp]|r')
else
self:Tag(power, '[colorpp][curpp]|r [cpoints( CP)]')
self:Tag(power, '[colorpp][curpp]|r [(- )cpoints( CP)]')
end
else
local info = self.Health:CreateFontString(nil, 'OVERLAY', 'GameFontHighlightSmallLeft')
474,6 → 474,8
self.Debuffs.spacing = 2
self.Debuffs.initialAnchor = 'TOPLEFT'
self.Debuffs['growth-y'] = 'DOWN'
else
self.BarFade = true
end
 
self.disallowVehicleSwap = true
trunk/oUF_P3lim/oUF_P3lim.toc
4,6 → 4,6
## Title: oUF P3lim
## Notes: Just another oUF layout
## RequiredDeps: oUF
## OptionalDeps: oUF_AutoShot, oUF_BarFader, oUF_DebuffHighlight, oUF_Experience, oUF_Reputation
## OptionalDeps: oUF_BarFader, oUF_DebuffHighlight, oUF_Experience, oUF_Reputation, oUF_Swing
 
oUF_P3lim.lua
\ No newline at end of file