WoWInterface SVN KuiNameplates

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /branches/hidden_bar
    from Rev 111 to Rev 112
    Reverse comparison

Rev 111 → Rev 112

layout.lua
84,6 → 84,10
a = .85
end
 
if self.hiddenBar then
a = 0
end
 
self.bg:SetVertexColor(r, g, b, a)
end
 
290,6 → 294,19
self.highlighted = true
end
 
-- TODO TEMP
self.hiddenBar = true
if self.hiddenBar then
-- hide bar
self.bg:SetAlpha(0)
self.bg.fill:SetAlpha(0)
self.health:SetAlpha(0)
else
self.bg:SetAlpha(1)
self.bg.fill:SetAlpha(1)
self.health:SetAlpha(1)
end
 
-- classifications
if self.boss:IsVisible() then
self.level:SetText('??b')
375,7 → 392,7
end
 
local function OnFrameEnter(self)
if self.highlight then
if self.highlight and not self.hiddenBar then
self.highlight:Show()
end