WoWInterface SVN PocketPlot

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /branches
    from Rev 13 to Rev 14
    Reverse comparison

Rev 13 → Rev 14

WotLK/PocketPlot.toc
2,8 → 2,7
## Title: PocketPlot
## Author: Seerah
## Notes: Minimap customization
## Version: 1.2
## Version: 1.3
## X-Category: Minimap
## RequiredDeps: Blizzard_TimeManager
 
pocketplot.lua
\ No newline at end of file
WotLK/pocketplot.lua
26,7 → 26,7
--ZONE TEXT
MinimapZoneTextButton:SetPoint("TOP", Minimap, "TOP", 0, -1) --where the zone text is located
MinimapZoneTextButton:SetFrameLevel(5)
MinimapZoneText:SetFont(font, size) --font and font size for zone text
MinimapZoneText:SetFont(font, size, "MONOCHROME") --font and font size for zone text
 
--MINIMAP ICONS/BLIPS
Minimap:SetBlipTexture(blips) --custom texture for blips
56,20 → 56,27
end)
 
--CLOCK FRAME
if not IsAddOnLoaded("Blizzard_TimeManager") then
LoadAddOn("Blizzard_TimeManager")
end
local clockFrame, clockTime = TimeManagerClockButton:GetRegions()
clockFrame:Hide()
clockTime:SetFont(font, size + 2, "OUTLINE")
clockTime:SetFont(font, size + 3, "OUTLINE")
TimeManagerClockButton:SetPoint("TOP", Minimap, "BOTTOM", 0, 0)
TimeManagerClockButton:SetScript("OnClick", function()
if TimeManagerFrame:IsVisible() then
TimeManagerFrame:Hide()
else
TimeManagerFrame:Show()
 
--CALENDAR BUTTON/FRAME
GameTimeFrame:Hide() --calendar button (old day/night indicator)
Minimap:SetScript("OnMouseDown", function(_,click)
if click == "RightButton" then
if not CalendarFrame then
LoadAddOn("Blizzard_Calendar")
end
CalendarFrame:Show()
end
end)
 
--TRACKING ICON/MENU
MiniMapTrackingBorder:Hide()
MiniMapTrackingButton:SetAlpha(0)
MiniMapTrackingBackground:Hide()
MiniMapTracking:ClearAllPoints()
MiniMapTracking:SetPoint("BOTTOMLEFT", Minimap, "BOTTOMLEFT", -5, -1) --where the tracking icon/menu is located
97,7 → 104,6
 
--MISC. THINGS TO HIDE
MiniMapWorldMapButton:Hide() --default keybinding for world map is M
GameTimeFrame:Hide() --day/night indicator
MinimapNorthTag:SetAlpha(0) --Hide() wasn't working, but SetAlpha() is...
MinimapBorderTop:Hide()
MinimapToggleButton:Hide()