WoWInterface SVN PocketPlot

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 71 to Rev 72
    Reverse comparison

Rev 71 → Rev 72

trunk/PocketPlot/pocketplot.lua
8,7 → 8,7
local MinimapZoneTextButton = MinimapZoneTextButton
local GameTimeFrame = GameTimeFrame
local MiniMapTracking = MiniMapTracking
local MiniMapBattlefieldFrame = MiniMapBattlefieldFrame
local QueueStatusMinimapButton = QueueStatusMinimapButton
local MiniMapMailFrame = MiniMapMailFrame
local MiniMapVoiceChatFrame = MiniMapVoiceChatFrame
local MiniMapMeetingStoneFrame = MiniMapMeetingStoneFrame
29,6 → 29,7
"VehicleSeatIndicator",
"MiniMapInstanceDifficulty",
"GuildInstanceDifficulty",
"MiniMapChallengeMode",
"WorldStateAlwaysUpFrame",
}
local stratae = {"BACKGROUND", "LOW", "MEDIUM", "HIGH", "DIALOG"}
78,7 → 79,6
bg = {r = 0, g = 0, b = 0}, --border colors (red, green, blue) -- values are a range from 0-1 (0,0,0 is black and 1,1,1 is white)
mmAlpha = 1,
combHide = false,
--mouseover = true, --set to false!
alpha = 1,
top = false,
coords = true,
87,6 → 87,7
classbg = false,
classfont = false,
textOffset = 0,
zoneTextOffset = 0,
insets = 4,
strata = "BACKGROUND",
level = 2,
125,25 → 126,6
end
end
 
--[[local function ShowOnMouseover()
MinimapZoneTextButton:SetAlpha(1)
--MiniMapTrackingButton:SetAlpha(1)
MiniMapTrackingButton:Show()
MiniMapBattlefieldFrame:SetAlpha(1)
MiniMapMailFrame:SetAlpha(1)
MiniMapVoiceChatFrame:SetAlpha(1)
MiniMapLFGFrame:SetAlpha(1)
end
local function HideOnMouseOut()
MinimapZoneTextButton:SetAlpha(0)
--MiniMapTrackingButton:SetAlpha(0)
MiniMapTrackingButton:Hide()
MiniMapBattlefieldFrame:SetAlpha(0)
MiniMapMailFrame:SetAlpha(0)
MiniMapVoiceChatFrame:SetAlpha(0)
MiniMapLFGFrame:SetAlpha(0)
end]]
 
local function SetShape()
Minimap:SetMaskTexture("Interface\\AddOns\\PocketPlot\\media\\"..db.shape)
PocketPlot:SetBackdrop({ bgFile = "Interface\\AddOns\\PocketPlot\\media\\"..db.shape })
180,7 → 162,7
mover:SetFrameStrata("HIGH")
mover:Hide()
moverText = mover:CreateFontString(nil, "OVERLAY")
moverText:SetFont("Fonts\\ARIALN.ttf", 14)
moverText:SetFont("Fonts\\ARIALN.ttf", 15, "OUTLINE")
moverText:SetParent(mover)
moverText:SetPoint("CENTER")
mover:SetScript("OnMouseDown", function() mover:StartMoving() end)
218,7 → 200,7
--ZONE TEXT
MinimapZoneTextButton:SetParent("Minimap")
MinimapZoneTextButton:ClearAllPoints()
MinimapZoneTextButton:SetPoint("TOP", Minimap, "TOP", 0, -1) --where the zone text is located
MinimapZoneTextButton:SetPoint("TOP", Minimap, "TOP", 0, -1 + db.zoneTextOffset) --where the zone text is located
MinimapZoneTextButton:SetFrameLevel(5)
MinimapZoneText:ClearAllPoints()
MinimapZoneText:SetPoint("CENTER")
290,10 → 272,11
MiniMapTracking:SetScale(.9)
MiniMapTrackingIcon:SetTexCoord(0.07,0.93,0.07,0.93)
 
--BATTLEGROUND QUEUE ICON
MiniMapBattlefieldBorder:Hide()
MiniMapBattlefieldFrame:ClearAllPoints()
MiniMapBattlefieldFrame:SetPoint("BOTTOM", Minimap, "BOTTOM", 2, -3) --where the battleground icon is located
--BATTLEGROUND AND LFG QUEUE ICON
QueueStatusMinimapButtonBorder:Hide()
QueueStatusMinimapButton:ClearAllPoints()
QueueStatusMinimapButton:SetPoint("BOTTOMLEFT", Minimap, "BOTTOMLEFT", 27, -4) --where the queue icon is located
--QueueStatusFrame:SetClampedToScreen(true)
 
--NEW MAIL ICON
MiniMapMailBorder:Hide()
306,12 → 289,6
MiniMapVoiceChatFrameBackground:Hide()
MiniMapVoiceChatFrame:ClearAllPoints()
MiniMapVoiceChatFrame:SetPoint("BOTTOMRIGHT", Minimap, "BOTTOMRIGHT", -25, -5)
 
--LFG ICON
MiniMapLFGFrameBorder:Hide()
MiniMapLFGFrame:ClearAllPoints()
MiniMapLFGFrame:SetPoint("BOTTOMLEFT", Minimap, "BOTTOMLEFT", 27, -4)
LFGSearchStatus:SetClampedToScreen(true)
 
--MISC. THINGS TO HIDE
MiniMapWorldMapButton:Hide() --default keybinding for world map is M
727,7 → 704,7
order = 23,
},
textOffset = {
name = "Offset",
name = "Clock/Coord Offset",
desc = "Vertical offset for the clock and coordinates.",
type = "range",
min = -50,
740,6 → 717,21
end,
order = 23.5,
},
zoneTextOffset = {
name = "Zone Text Offset",
desc = "Vertical offset for the zone text.",
type = "range",
min = -50,
max = 50,
step = 1,
get = function() return db.textOffset end,
set = function(_,offset)
db.zoneTextOffset = offset
MinimapZoneTextButton:ClearAllPoints()
MinimapZoneTextButton:SetPoint("TOP", Minimap, "TOP", 0, -1 + db.zoneTextOffset)
end,
order = 23.75,
},
header3 = {
name = "Frame Locations",
type = "header",
trunk/PocketPlot/PocketPlot.toc
1,8 → 1,8
## Interface: 40300
## Interface: 50000
## Title: PocketPlot
## Author: Seerah
## Notes: Minimap customization
## Version: 2.13.2
## Version: 2.14
## X-Category: Minimap
## OptionalDeps: Ace3, LibSharedMedia-3.0, AceGUI-3.0-SharedMediaWidgets
## SavedVariables: PocketPlotDB
trunk/PocketPlot/libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua
63,7 → 63,7
-------------------------------------------------------------------------------]]
local function Constructor()
local name = "AceGUI30Button" .. AceGUI:GetNextWidgetNum(Type)
local frame = CreateFrame("Button", name, UIParent, "UIPanelButtonTemplate2")
local frame = CreateFrame("Button", name, UIParent, "UIPanelButtonTemplate")
frame:Hide()
 
frame:EnableMouse(true)
trunk/PocketPlot/libs/AceGUI-3.0/widgets/AceGUIWidget-MultiLineEditBox.lua
262,7 → 262,7
label:SetText(ACCEPT)
label:SetHeight(10)
 
local button = CreateFrame("Button", ("%s%dButton"):format(Type, widgetNum), frame, "UIPanelButtonTemplate2")
local button = CreateFrame("Button", ("%s%dButton"):format(Type, widgetNum), frame, "UIPanelButtonTemplate")
button:SetPoint("BOTTOMLEFT", 0, 4)
button:SetHeight(22)
button:SetWidth(label:GetStringWidth() + 24)
trunk/PocketPlot/libs/AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua
174,7 → 174,7
local name = "AceGUI30KeybindingButton" .. AceGUI:GetNextWidgetNum(Type)
 
local frame = CreateFrame("Frame", nil, UIParent)
local button = CreateFrame("Button", name, frame, "UIPanelButtonTemplate2")
local button = CreateFrame("Button", name, frame, "UIPanelButtonTemplate")
 
button:EnableMouse(true)
button:RegisterForClicks("AnyDown")
trunk/PocketPlot/media/PPblips comic bigger.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
trunk/PocketPlot/media/PPblips sharp.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
trunk/PocketPlot/media/PPblips.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
trunk/PocketPlot/media/default light.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
trunk/PocketPlot/media/default soft.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
trunk/PocketPlot/media/default sharp.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
trunk/PocketPlot/media/PPblips comic.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
trunk/PocketPlot/media/PPblips bigger.blp Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream