Quantcast WoWInterface: SVN - ProgressionPre-Alpha - Path Comparison - / Rev 5 and / Rev 6

WoWInterface SVN ProgressionPre-Alpha

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 5 to Rev 6
    Reverse comparison

Rev 5 → Rev 6

trunk/bar.lua
414,6 → 414,7
self.visible = false
self.baseFrame:Hide()
self:Reposition()
if self.next then self.next:Reposition() end
if self.parent then self.parent:ToggleAlternateStyle(self) end
end
 
422,6 → 423,7
self.visible = true
self.baseFrame:Show()
self:Reposition()
if self.next then self.next:Reposition() end
if self.parent then self.parent:ToggleAlternateStyle(self) end
end
 
466,21 → 468,21
 
b:ClearAllPoints()
b:SetParent(self.parent.frame)
if self:IsVisible() then
b:SetWidth(self.parent.width)
b:SetHeight(self.parent.height)
else
b:SetWidth(self.parent.width * g.multiplyHiddenWidth)
b:SetHeight(self.parent.height * g.multiplyHiddenHeight)
end
 
b:SetWidth(self.parent.width)
b:SetHeight(self.parent.height)
 
if not self.prev then
b:SetPoint(g.attachAfter, self.parent.frame, g.attachAfter)
return true
end
if self.prev.baseFrame:IsShown() then
b:SetPoint(g.attachAfter, self.prev.baseFrame, g.attachBefore)
return true
end
 
b:SetPoint(g.attachAfter, self.prev.baseFrame, g.attachBefore)
return true
b:SetAllPoints(self.prev.baseFrame)
return false
end
 
function PXP.Bar.NextMode(self)
569,5 → 571,4
if button == "RightButton" then
PXP.Menu.ForBar(self.PXPParent)
end
end
 
end
\ No newline at end of file