WoWInterface SVN PocketPlot

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 51 to Rev 52
    Reverse comparison

Rev 51 → Rev 52

trunk/PocketPlot/pocketplot.lua
65,15 → 65,6
}
 
 
--so minimap buttons follow the square shape instead of round
function GetMinimapShape()
if PocketPlotDB.shape == "Square" then
return "SQUARE"
else
return "ROUND"
end
end
 
local function ClassColors()
if PocketPlotDB.classbg then
PocketPlot:SetBackdropColor(classColor.r, classColor.g, classColor.b, PocketPlotDB.alpha)
93,9 → 84,12
if PocketPlotDB.shape == "Square" then
Minimap:SetMaskTexture("Interface\\AddOns\\PocketPlot\\media\\mask.blp")
PocketPlot:SetBackdrop({ bgFile = "Interface\\Buttons\\WHITE8x8" })
--so minimap buttons follow the square shape instead of round
GetMinimapShape = function() return "SQUARE" end
else
Minimap:SetMaskTexture("Interface\\AddOns\\PocketPlot\\Media\\circle-bg.tga")
PocketPlot:SetBackdrop({ bgFile = "Interface\\AddOns\\PocketPlot\\Media\\circle-bg.tga" })
GetMinimapShape = function() return "ROUND" end
end
end
 
trunk/PocketPlot/PocketPlot.toc
2,7 → 2,7
## Title: PocketPlot
## Author: Seerah
## Notes: Minimap customization
## Version: 2.6
## Version: 2.6.1
## X-Category: Minimap
## OptionalDeps: Ace3, LibSharedMedia-3.0
## SavedVariables: PocketPlotDB