WoWInterface SVN OPieMasque

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 15 to Rev 16
    Reverse comparison

Rev 15 → Rev 16

Addon.lua
77,7 → 77,7
self.overIcon:SetSize(w, h)
if ... then
self.overIcon:SetTexCoord(...)
end
end
end
]]
end
120,9 → 120,13
end
 
function prototype:SetCooldownFormattedText(pattern, ...)
-- Do nothing, let OmniCC handle it.
-- do nothing, let OmniCC handle it
end
 
function prototype:SetCooldownTextShown()
-- do nothing, let OmniCC handle it
end
 
function prototype:SetHighlighted(highlight)
self[highlight and "LockHighlight" or "UnlockHighlight"](self)
end
137,6 → 141,18
end
end
 
function prototype:SetEquipState(inBags, isEquipped)
if isEquipped then
self.flash:SetVertexColor(0.1, 0.9, 0.15)
self.flash:Show()
elseif inBags then
self.flash:SetVertexColor(1, 0.9, 0.2)
self.flash:Show()
else
self.flash:Hide()
end
end
 
local function Reskin()
for _, button in pairs(buttons) do
local r, g, b = button.glowTextures[1]:GetVertexColor()