WoWInterface SVN OPieMasque

Compare Revisions

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

Rev 5 → Rev 6

trunk/Addon.lua
23,17 → 23,18
self.icon:SetTexture(texture)
end
 
function prototype:SetIconTexCoord(...)
self.icon:SetTexCoord(...)
function prototype:SetIconTexCoord(a, b, c, d, e, f, g, h)
if not a or not b or not c or not d then return end -- Broker plugins???
self.icon:SetTexCoord(a, b, c, d, e, f, g, h)
end
 
function prototype:SetIconVertexColor(r, g, b)
if r == 0.5 and g == 0.5 and b == 0.5 then return end -- don't let OPie darken icons on cooldown
if r == 0.5 and g == 0.5 and b == 0.5 then return end -- Don't let OPie darken icons on cooldown.
self.icon:SetVertexColor(r, g, b)
end
 
function prototype:SetDominantColor(r, g, b)
self.border:SetShown(floor(r + 0.5) ~= 1 or floor(g + 0.5) ~= 1 or floor(b + 0.5) ~= 1) -- don't override skin color if it's white
self.border:SetShown(floor(r + 0.5) ~= 1 or floor(g + 0.5) ~= 1 or floor(b + 0.5) ~= 1) -- Don't override skin color if it's white.
self.border:SetVertexColor(r, g, b)
for i = 1, #self.glowTextures do
self.glowTextures[i]:SetVertexColor(r, g, b)
75,7 → 76,7
end
 
function prototype:SetCooldownFormattedText(pattern, ...)
-- Do nothing, let OmniCC handle it
-- Do nothing, let OmniCC handle it.
end
 
function prototype:SetHighlighted(highlight)
trunk/OPieMasque.toc
3,8 → 3,11
 
## Title: OPie Masque
## Notes: Adds Masque skinning support to OPie.
## Notes-esES: Capacita a Masque para cambiar la apariencia de OPie.
## Notes-esMX: Capacita a Masque para cambiar la apariencia de OPie.
## Notes-esES: Capacita a Masque a cambiar la apariencia de OPie.
## Notes-esMX: Capacita a Masque a cambiar la apariencia de OPie.
## Notes-frFR: Accorde à Masque à modifier l'apparence du OPie.
## Notes-ptBR: Capacita a Masque a alterar a aparência de Opie.
## Notes-ptPT: Capacita a Masque a alterar a aparência de Opie.
 
## Author: Phanx
## X-Email: addons@phanx.net