WoWInterface SVN PocketPlot

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 78 to Rev 79
    Reverse comparison

Rev 78 → Rev 79

PocketPlot/PocketPlot.toc
2,7 → 2,7
## Title: PocketPlot
## Author: Seerah
## Notes: Minimap customization
## Version: 2.17.1
## Version: 2.18
## X-Category: Minimap
## OptionalDeps: Ace3, LibSharedMedia-3.0, AceGUI-3.0-SharedMediaWidgets
## SavedVariables: PocketPlotDB
PocketPlot/media/Teardrop.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
PocketPlot/media/Half Round.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
PocketPlot/media/3-Corner.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
PocketPlot/media/PPblips bigger.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
PocketPlot/media/Slanted.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
PocketPlot/media/PPblips comic bigger.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
PocketPlot/media/3-Corner TR.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
PocketPlot/media/Teardrop BL.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
PocketPlot/media/PPblips light.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
PocketPlot/media/Teardrop BR.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
PocketPlot/media/Teardrop TL.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
PocketPlot/media/default sharp.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
PocketPlot/media/Half Round B.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
PocketPlot/media/PPblips comic.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
PocketPlot/media/Teardrop TR.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
PocketPlot/media/Half Round L.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
PocketPlot/media/Half Round R.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
PocketPlot/media/PPblips soft.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
PocketPlot/media/Half Round T.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
PocketPlot/media/3-Corner BL.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
PocketPlot/media/PPblips sharp.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
PocketPlot/media/PPblips.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
PocketPlot/media/Slanted 1.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
PocketPlot/media/3-Corner BR.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
PocketPlot/media/Slanted 2.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
PocketPlot/media/default light.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
PocketPlot/media/default soft.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
PocketPlot/media/3-Corner TL.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes : Added: svn:mime-type + application/octet-stream
PocketPlot/media Property changes : Modified: svn:ignore - *.png *.psd OBJECTICONS.png OBJECTICONS2.png OBJECTICONS4.png PPblips.png PPblips2.png PPblips3 2.png PPblips3 bigger.png PPblips3 comic bigger.png PPblips3 comic.png PPblips3.png PPblips3.psd blip alterations.txt + *.png *.psd OBJECTICONS.png OBJECTICONS2.png OBJECTICONS4.png PPblips.png PPblips2.png PPblips3 2.png PPblips3 bigger.png PPblips3 comic bigger.png PPblips3 comic.png PPblips3.png PPblips3.psd blip alterations.txt old blip files
PocketPlot/pocketplot.lua
34,31 → 34,51
"WorldStateAlwaysUpFrame",
}
local stratae = {"BACKGROUND", "LOW", "MEDIUM", "HIGH", "DIALOG"}
local allshapes = { "3-Corner",
local allshapes = { "3-Corner BL",
"3-Corner BR",
"3-Corner TL",
"3-Corner TR",
"Circle",
"Compass",
"Faded Circle",
"Faded Edges",
"Faded Square",
"Fancy Frame",
"Flower",
"Half Round",
"Half Round B",
"Half Round L",
"Half Round R",
"Half Round T",
"Rectangle",
"Rounded",
"Slanted",
"Scalloped",
"Slanted 1",
"Slanted 2",
"Square",
"Teardrop",
"Teardrop BL",
"Teardrop BR",
"Teardrop TL",
"Teardrop TR",
"Torn",
"Zigzag Round",
"Zigzag Square"
}
--need these 2 tables for minimap button paths
local squareMasks = {
["3-Corner"] = true,
["3-Corner BL"] = true,
["3-Corner BR"] = true,
["3-Corner TL"] = true,
["3-Corner TR"] = true,
["Fancy Frame"] = true,
["Half Round"] = true,
["Half Round B"] = true,
["Half Round L"] = true,
["Half Round R"] = true,
["Half Round T"] = true,
["Rectangle"] = true,
["Rounded"] = true,
["Scalloped"] = true,
["Slanted"] = true,
["Slanted 1"] = true,
["Slanted 2"] = true,
["Square"] = true,
["Torn"] = true,
["Zigzag Square"] = true,
67,19 → 87,22
["Circle"] = true,
["Compass"] = true,
["Flower"] = true,
["Teardrop"] = true,
["Teardrop BL"] = true,
["Teardrop BR"] = true,
["Teardrop TL"] = true,
["Teardrop TR"] = true,
["Zigzag Round"] = true,
}
local fontFlags = {"None", "Outline", "Monochrome Outline"} --, "Monochrome"}
local blips = { "default",
"default light",
"default sharp",
"default soft",
"default sharp",
"PPblips",
"PPblips light",
"PPblips sharp",
"PPblips bigger",
"PPblips soft",
"PPblips comic",
"PPblips comic bigger",
}
 
local defaults = {
107,6 → 130,7
insets = 4,
strata = "BACKGROUND",
level = 2,
hideTracking = false,
}
 
 
226,11 → 250,11
end
 
--MINIMAP ICONS/BLIPS
--[[if db.blips == "default" then
Minimap:SetBlipTexture("Interface\\Minimap\\OBJECTICONS")
if db.blips == "default" then
Minimap:SetBlipTexture("Interface\\Minimap\\OBJECTICONSATLAS")
else
Minimap:SetBlipTexture("Interface\\AddOns\\PocketPlot\\media\\"..db.blips)
end]]
end
 
--MAKE THE MINIMAP SQUARE WITH A THIN BORDER
MinimapBorder:Hide()
273,7 → 297,11
local oldOnClick = Minimap:GetScript("OnMouseUp")
Minimap:SetScript("OnMouseUp", function(self, click)
if click == "RightButton" then
ToggleCalendar()
if db.hideTracking and IsShiftKeyDown() then
MiniMapTrackingButton:Click()
else
ToggleCalendar()
end
else
oldOnClick(self)
end
287,6 → 315,9
MiniMapTracking:SetPoint("BOTTOMLEFT", Minimap, "BOTTOMLEFT", -4, -5) --where the tracking icon/menu is located
MiniMapTracking:SetScale(.9)
MiniMapTrackingIcon:SetTexCoord(0.07,0.93,0.07,0.93)
if db.hideTracking then
MiniMapTracking:Hide()
end
 
--BATTLEGROUND AND LFG QUEUE ICON
QueueStatusMinimapButtonBorder:Hide()
439,7 → 470,7
end,
order = 1,
},
--[[blips = {
blips = {
name = "Tracking Blips",
desc = "Set the style of tracking blips (POI) on the minimap.",
type = "select",
460,7 → 491,7
end
end,
order = 2,
},]]
},
scale = {
name = "Minimap Scale",
desc = "Set the scale of the minimap.",
813,6 → 844,21
end,
order = 26,
},
hideTracking = {
name = "Hide Tracking Button",
desc = "Hides the minimap tracking button. Open the menu by using Shift-Right-Click on the minimap.",
type = "toggle",
get = function() return db.hideTracking end,
set = function()
db.hideTracking = not db.hideTracking
if db.hideTracking then
MiniMapTracking:Hide()
else
MiniMapTracking:Show()
end
end,
order = 26.3,
},
div3 = {
name = " ",
type = "description",