mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 03:06:01 +00:00
skin: add WorldMapFrame
This commit is contained in:
@@ -107,5 +107,16 @@ pfUI:RegisterModule("map", function ()
|
||||
WorldMapButton.coords.text:SetText("")
|
||||
end
|
||||
end)
|
||||
|
||||
SkinButton(WorldMapZoomOutButton)
|
||||
|
||||
SkinCloseButton(WorldMapFrameCloseButton, WorldMapFrame, -3, -3)
|
||||
|
||||
SkinDropDown(WorldMapContinentDropDown)
|
||||
|
||||
SkinDropDown(WorldMapZoneDropDown)
|
||||
local point, anchor, anchorPoint, x, y = WorldMapZoneDropDown:GetPoint()
|
||||
WorldMapZoneDropDown:ClearAllPoints()
|
||||
WorldMapZoneDropDown:SetPoint(point, anchor, anchorPoint, x+8, y)
|
||||
end)
|
||||
end)
|
||||
|
||||
@@ -16,7 +16,7 @@ pfUI:RegisterModule("mapreveal", function ()
|
||||
CreateBackdrop(pfUI.mapreveal.onmap, nil, true)
|
||||
pfUI.mapreveal.onmap:SetWidth(14)
|
||||
pfUI.mapreveal.onmap:SetHeight(14)
|
||||
pfUI.mapreveal.onmap:SetPoint("LEFT","WorldMapZoomOutButton", "RIGHT", 50, 0)
|
||||
pfUI.mapreveal.onmap:SetPoint("LEFT", WorldMapZoomOutButton, "RIGHT", 20, 0)
|
||||
pfUI.mapreveal.onmap.text:SetPoint("LEFT", pfUI.mapreveal.onmap, "RIGHT", 2, 0)
|
||||
pfUI.mapreveal.onmap.text:SetText(T["Reveal Unexplored Areas"])
|
||||
pfUI.mapreveal.onmap:SetScript("OnShow", function()
|
||||
|
||||
Reference in New Issue
Block a user