WoWInterface SVN OPieMasque

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 10 to Rev 11
    Reverse comparison

Rev 10 → Rev 11

Addon.lua
1,4 → 1,4
--[[------------------------------------------------------
--[[--------------------------------------------------------------------
OPie Masque
Adds Masque skinning support to OPie.
Written by Phanx <addons@phanx.net>
7,6 → 7,10
http://www.curse.com/addons/wow/opie-masque/
----------------------------------------------------------------------]]
 
local SPECIAL_COLOR_ALPHA = 0.75 -- 0 = invisible, 1 = fully visible
 
------------------------------------------------------------------------
 
assert(OneRingLib, "OneRingLib not found")
assert(OneRingLib.ext, "OneRingLib.ext not found")
assert(OneRingLib.ext.OPieUI, "OneRingLib.ext.OPieUI not found")
55,6 → 59,7
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:SetVertexColor(r, g, b)
self.border:SetAlpha(SPECIAL_COLOR_ALPHA)
for i = 1, #self.glowTextures do
self.glowTextures[i]:SetVertexColor(r, g, b)
end
OPieMasque.toc
1,5 → 1,5
## Interface: 50400
## Version: 5.4.1.wowi:revision
## Version: 5.4.2.wowi:revision
 
## Title: OPie Masque
## Notes: Adds Masque skinning support to OPie.