WoWInterface SVN StellarBars

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 22 to Rev 21
    Reverse comparison

Rev 22 → Rev 21

trunk/StellarBars/StellarBars.toc
2,7 → 2,7
## Title: StellarBars
## Notes: Adds a new look and some options to the default action bars.
## Author: TotalPackage
## Version: 3.2.003
## Version: 3.2.002
 
## SavedVariables: StellarBarsDB
 
trunk/StellarBars/StellarBars.lua
83,18 → 83,16
end
self.stelap = e
end
local function updatepetbar(fromconfig)
local function updatepetbar()
if InCombatLockdown() or db.mainx == 0 then return end
if fromconfig == 3 then
UIParent_ManageFramePositions()
end
PetActionBar_UpdatePositionValues()
if PETACTIONBAR_XPOS ~= 36 then
PetActionButton1:SetPoint("BOTTOMLEFT", PetActionBarFrame, "BOTTOMLEFT", 36 + PETACTIONBAR_XPOS - PetActionBarFrame:GetLeft(), 2)
else
PetActionButton1:SetPoint("BOTTOMLEFT", PetActionBarFrame, "BOTTOMLEFT", 36, 2)
end
end
local function UpdatePositions(fromconfig)
local function UpdatePositions()
if InCombatLockdown() then
return self:RegisterEvent("PLAYER_REGEN_ENABLED")
else
112,7 → 110,7
local adj = ((mainexpshown and repshown) and 22) or (((mainexpshown or repshown) and 13)) or 8
MainMenuBarArtFrame:SetPoint("TOPLEFT", MainMenuBar, "TOPLEFT", 0, adj)
MainMenuBarArtFrame:SetPoint("BOTTOMRIGHT", MainMenuBar, "BOTTOMRIGHT", 0, adj)
updatepetbar(fromconfig)
updatepetbar()
end
local function UpdateLook()
if InCombatLockdown() then return end
537,7 → 535,7
local nx, ny = this.p:GetCenter()
db[this.which.."x"] = floor(0.5 + db[this.which.."x"] + (nx - this.px)*db.scale)
db[this.which.."y"] = floor(0.5 + db[this.which.."y"] + (ny - this.py)*db.scale)
UpdatePositions(3)
UpdatePositions()
end)
return mm
end
551,7 → 549,7
sidemover[StellarBars.unlock and "Show" or "Hide"](sidemover)
elseif a1 == "resetpos" then
db.mainx, db.mainy, db.sidex, db.sidey = 0, 0, 0, 0
UpdatePositions(3)
UpdatePositions()
else
db[a1] = not db[a1]
print("|cff00ff00StellarBars|r: This setting may require a reload to take effect.")