/
} |
--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) |
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 |
## Title: PocketPlot |
## Author: Seerah |
## Notes: Minimap customization |
## Version: 2.6 |
## Version: 2.6.1 |
## X-Category: Minimap |
## OptionalDeps: Ace3, LibSharedMedia-3.0 |
## SavedVariables: PocketPlotDB |