WoWInterface SVN OPieMasque

Compare Revisions

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

Rev 6 → Rev 5

trunk/Addon.lua
23,18 → 23,17
self.icon:SetTexture(texture)
end
 
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)
function prototype:SetIconTexCoord(...)
self.icon:SetTexCoord(...)
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)
76,7 → 75,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,11 → 3,8
 
## Title: OPie Masque
## Notes: Adds Masque skinning support to 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.
## Notes-esES: Capacita a Masque para cambiar la apariencia de OPie.
## Notes-esMX: Capacita a Masque para cambiar la apariencia de OPie.
 
## Author: Phanx
## X-Email: addons@phanx.net