WoWInterface SVN SliceCommander

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk/Libs/LibCustomGlow-1.0
    from Rev 242 to Rev 248
    Reverse comparison

Rev 242 → Rev 248

LibCustomGlow-1.0.lua
45,7 → 45,10
local TexPoolResetter = function(pool,tex)
local maskNum = tex:GetNumMaskTextures()
for i = maskNum,1 do
tex:RemoveMaskTexture(tex:GetMaskTexture(i))
local curMask = tex:GetMaskTexture(i)
if curMask then
tex:RemoveMaskTexture(curMask)
end
end
tex:Hide()
tex:ClearAllPoints()
508,21 → 511,21
end
 
local function configureButtonGlow(f,alpha)
f.spark = f:CreateTexture(nil, "BACKGROUND")
f.spark = f:CreateTexture(nil, "BACKGROUND", nil, 1)
f.spark:SetPoint("CENTER")
f.spark:SetAlpha(0)
f.spark:SetTexture([[Interface\SpellActivationOverlay\IconAlert]])
f.spark:SetTexCoord(0.00781250, 0.61718750, 0.00390625, 0.26953125)
 
-- inner glow
f.innerGlow = f:CreateTexture(nil, "ARTWORK")
f.innerGlow = f:CreateTexture(nil, "ARTWORK", nil, 1)
f.innerGlow:SetPoint("CENTER")
f.innerGlow:SetAlpha(0)
f.innerGlow:SetTexture([[Interface\SpellActivationOverlay\IconAlert]])
f.innerGlow:SetTexCoord(0.00781250, 0.50781250, 0.27734375, 0.52734375)
 
-- inner glow over
f.innerGlowOver = f:CreateTexture(nil, "ARTWORK")
f.innerGlowOver = f:CreateTexture(nil, "ARTWORK", nil, 1)
f.innerGlowOver:SetPoint("TOPLEFT", f.innerGlow, "TOPLEFT")
f.innerGlowOver:SetPoint("BOTTOMRIGHT", f.innerGlow, "BOTTOMRIGHT")
f.innerGlowOver:SetAlpha(0)
530,14 → 533,14
f.innerGlowOver:SetTexCoord(0.00781250, 0.50781250, 0.53515625, 0.78515625)
 
-- outer glow
f.outerGlow = f:CreateTexture(nil, "ARTWORK")
f.outerGlow = f:CreateTexture(nil, "ARTWORK", nil, 1)
f.outerGlow:SetPoint("CENTER")
f.outerGlow:SetAlpha(0)
f.outerGlow:SetTexture([[Interface\SpellActivationOverlay\IconAlert]])
f.outerGlow:SetTexCoord(0.00781250, 0.50781250, 0.27734375, 0.52734375)
 
-- outer glow over
f.outerGlowOver = f:CreateTexture(nil, "ARTWORK")
f.outerGlowOver = f:CreateTexture(nil, "ARTWORK", nil, 1)
f.outerGlowOver:SetPoint("TOPLEFT", f.outerGlow, "TOPLEFT")
f.outerGlowOver:SetPoint("BOTTOMRIGHT", f.outerGlow, "BOTTOMRIGHT")
f.outerGlowOver:SetAlpha(0)
545,7 → 548,7
f.outerGlowOver:SetTexCoord(0.00781250, 0.50781250, 0.53515625, 0.78515625)
 
-- ants
f.ants = f:CreateTexture(nil, "OVERLAY")
f.ants = f:CreateTexture(nil, "OVERLAY", nil, 1)
f.ants:SetPoint("CENTER")
f.ants:SetAlpha(0)
f.ants:SetTexture([[Interface\SpellActivationOverlay\IconAlertAnts]])
LibCustomGlow-1.0.toc
1,10 → 1,10
## Interface: 80200
## Interface: 100200
## Title: Lib: CustomGlow
## Notes: Creates custom glow functions
## Author: deezo
## X-Category: Library
## X-License: BSD
## Version: 1.0.3
## Version: 1.0.3.1
## OptionalDeps: Masque
 
LibStub\LibStub.lua