WoWInterface SVN StellarUF

Compare Revisions

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

Rev 116 → Rev 117

trunk/Stuf/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
trunk/Stuf/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, }
 
trunk/StufRaid/StufRaid.toc
2,7 → 2,7
## Title: Stuf Raid Frames
## Author: TotalPackage
## Notes: Raid unit frames. Assembly optional. (Does not require Stuf)
## Version: 5.0.004
## Version: 5.0.005
 
## SavedVariables: StufRaidDB
## SavedVariablesPerCharacter: StufRaidCharLayoutDB, StufRaidCharDB
trunk/Stuf_Options/options.lua
1869,6 → 1869,13
x=x2, y=y2, scale=scale, alpha=alpha, framelevel=framelevel, nomouse=nomouse, strata=bstrata,
},
}
local chibar = {
name=L["Chi Bar"], type="group", hidden=function() return Stuf.CLS ~= "MONK" end, order=30,
args = {
hide=hide, blank=blank,
x=x2, y=y2, scale=scale, alpha=alpha, framelevel=framelevel, nomouse=nomouse, strata=bstrata,
},
}
local eclipsebar = {
name=L["Eclipse Bar"], type="group", hidden=function() return Stuf.CLS ~= "DRUID" end, order=30,
args = {
2115,13 → 2122,9
vehicleicon=vehicleicon,
lfgicon=lfgicon,
totembar=totembar,
runebar=runebar,
druidbar=druidbar,
runebar=runebar, druidbar=druidbar, holybar=holybar, shardbar=shardbar,
chibar=chibar, priestbar=priestbar, eclipsebar=eclipsebar,
castbar=castbar,
holybar=holybar,
shardbar=shardbar,
priestbar=priestbar,
eclipsebar=eclipsebar,
},
},
target = {