WoWInterface SVN StellarUF

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk/Stuf
    from Rev 116 to Rev 117
    Reverse comparison

Rev 116 → Rev 117

core.lua
149,6 → 149,7
end
db.player.holybar = db.player.holybar or { x=0, y=0, }
db.player.shardbar = db.player.shardbar or { x=0, y=0, }
db.player.chibar = db.player.chibar or { x=0, y=0, }
db.player.eclipsebar = db.player.eclipsebar or { x=0, y=0, }
db.player.priestbar = db.player.priestbar or { x=0, y=0, }
 
bars.lua
979,7 → 979,7
Stuf:AddBuilder("eclipsebar", function(unit, uf, name, db, a5, config)
if unit ~= "player" then return end
local f = EclipseBarFrame
if db.hide then
if not f or db.hide then
if f then f:Hide() end
return
end
1159,7 → 1159,7
Stuf:AddBuilder("holybar", function(unit, uf, name, db, a5, config)
if unit ~= "player" then return end
local f = PaladinPowerBar
if db.hide then
if not f or db.hide then
if f then f:Hide() end
return
end
1183,7 → 1183,7
Stuf:AddBuilder("priestbar", function(unit, uf, name, db, a5, config)
if unit ~= "player" then return end
local f = PriestBarFrame
if db.hide then
if not f or db.hide then
if f then f:Hide() end
return
end
1201,14 → 1201,13
f:EnableMouse(not db.nomouse)
PriestBarFrame_OnLoad(f)
end)
 
 
 
end
if CLS == "WARLOCK" then -- Warlock Power Frame -----------------------------------------------------------------------------------------------
Stuf:AddBuilder("shardbar", function(unit, uf, name, db, a5, config)
if unit ~= "player" then return end
local f = WarlockPowerFrame
if db.hide then
if not f or db.hide then
if f then f:Hide() end
return
end
1228,7 → 1227,34
if _G.BurningEmbersBarFrame then _G.BurningEmbersBarFrame:EnableMouse(not db.nomouse) end
WarlockPowerFrame_OnLoad(f)
end)
 
 
 
end
if CLS == "MONK" then -- Monk Power Frame -----------------------------------------------------------------------------------------------
Stuf:AddBuilder("chibar", function(unit, uf, name, db, a5, config)
if unit ~= "player" then return end
local f = MonkHarmonyBar
if not f or db.hide then
if f then f:Hide() end
return
end
 
f:SetParent(uf)
f:SetPoint("TOP", uf, "BOTTOM", db.x or 0, db.y or 0)
f:SetScale(db.scale or 1)
f:SetAlpha(db.alpha or 1)
if db.framelevel then
f:SetFrameLevel(db.framelevel)
end
if db.strata then
f:SetFrameStrata(db.strata)
end
if _G.MonkHarmonyBar then _G.MonkHarmonyBar:EnableMouse(not db.nomouse) end
for i = 1, 4, 1 do
if _G.MonkHarmonyBar and _G.MonkHarmonyBar["lightEnergy"..i] then
_G.MonkHarmonyBar["lightEnergy"..i]:EnableMouse(not db.nomouse)
end
end
MonkHarmonyBar_OnLoad(f)
end)
 
end