/
mover:SetBackdrop({bgFile ="Interface\\Buttons\\WHITE8x8",}) |
mover:SetBackdropColor(.2,.2,.9,.6) |
mover:SetMovable(1) |
mover:SetFrameStrata("HIGH") |
mover:Hide() |
local moverText = mover:CreateFontString(nil, "OVERLAY") |
moverText:SetFont("Fonts\\ARIALN.ttf", 14) |
"VehicleSeatIndicator", |
"MiniMapInstanceDifficulty", |
"GuildInstanceDifficulty", |
"WorldStateAlwaysUpFrame", |
} |
local stratae = {"BACKGROUND", "LOW", "MEDIUM", "HIGH", "DIALOG"} |
local shapes = {"Square", "Circle"} |
--ZONE TEXT |
MinimapZoneTextButton:SetParent("Minimap") |
MinimapZoneTextButton:ClearAllPoints() |
MinimapZoneTextButton:SetPoint("TOP", Minimap, "TOP", 0, -1) --where the zone text is located |
MinimapZoneTextButton:SetFrameLevel(5) |
MinimapZoneText:ClearAllPoints() |
MinimapZoneText:SetPoint("CENTER") |
MinimapZoneText:SetFont(LSM:Fetch("font", db.lsmfont), db.zoneSize, db.fontFlag) --font and font size for zone text |
if not db.zoneText then |
MinimapZoneTextButton:Hide() |
local oldOnClick = Minimap:GetScript("OnMouseUp") |
Minimap:SetScript("OnMouseUp", function(self, click) |
if click == "RightButton" then |
if not CalendarFrame then |
--[[if not CalendarFrame then |
LoadAddOn("Blizzard_Calendar") |
end |
if CalendarFrame:IsShown() then |
else |
CalendarFrame:Show() |
end |
return |
return]] |
ToggleCalendar() |
end |
oldOnClick(self) |
end) |
## Title: PocketPlot |
## Author: Seerah |
## Notes: Minimap customization |
## Version: 2.10.1 |
## Version: 2.10.2 |
## X-Category: Minimap |
## OptionalDeps: Ace3, LibSharedMedia-3.0, AceGUI-3.0-SharedMediaWidgets |
## SavedVariables: PocketPlotDB |