mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-24 16:46:04 +00:00
removed 2 untested skins
This commit is contained in:
+6
-1
@@ -46,6 +46,11 @@
|
||||
<Include file="..\skins\blizzard\arena_score.lua"/>
|
||||
<Include file="..\skins\blizzard\ebc.lua"/>
|
||||
|
||||
<!-- Turtle WoW -->
|
||||
<Include file="..\skins\blizzard\barbershop.lua"/>
|
||||
<Include file="..\skins\blizzard\transmog.lua"/>
|
||||
<Include file="..\skins\blizzard\ebc.lua"/>
|
||||
|
||||
<!-- TBC -->
|
||||
<Include file="..\skins\blizzard\tracking.lua"/>
|
||||
<Include file="..\skins\blizzard\guildbank.lua"/>
|
||||
@@ -54,4 +59,4 @@
|
||||
<Include file="..\skins\blizzard\arena.lua"/>
|
||||
<Include file="..\skins\blizzard\time_manager.lua"/>
|
||||
<Include file="..\skins\blizzard\lfg.lua"/>
|
||||
</Ui>
|
||||
</Ui>
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
pfUI:RegisterSkin("Arena Score", "vanilla", function ()
|
||||
if not ArenaScoreFrame then return end
|
||||
|
||||
local rawborder, border = GetBorderSize()
|
||||
local bpad = rawborder > 1 and border - GetPerfectPixel() or GetPerfectPixel()
|
||||
|
||||
-- Main frame
|
||||
StripTextures(ArenaScoreFrame)
|
||||
CreateBackdrop(ArenaScoreFrame, nil, nil, .75)
|
||||
CreateBackdropShadow(ArenaScoreFrame)
|
||||
|
||||
ArenaScoreFrame.backdrop:SetPoint("TOPLEFT", 10, -14)
|
||||
ArenaScoreFrame.backdrop:SetPoint("BOTTOMRIGHT", -112, 68)
|
||||
ArenaScoreFrame:SetHitRectInsets(10, 112, 14, 68)
|
||||
|
||||
-- Close button
|
||||
SkinCloseButton(ArenaScoreFrameCloseButton, ArenaScoreFrame.backdrop, -6, -6)
|
||||
|
||||
-- Title
|
||||
ArenaScoreFrameTitle:ClearAllPoints()
|
||||
ArenaScoreFrameTitle:SetPoint("TOP", ArenaScoreFrame.backdrop, "TOP", 0, -10)
|
||||
end)
|
||||
@@ -1,51 +0,0 @@
|
||||
pfUI:RegisterSkin("Custom Merchant", "vanilla", function ()
|
||||
if not CustomMerchantFrame then return end
|
||||
|
||||
local rawborder, border = GetBorderSize()
|
||||
local bpad = rawborder > 1 and border - GetPerfectPixel() or GetPerfectPixel()
|
||||
|
||||
-- Main frame
|
||||
StripTextures(CustomMerchantFrame)
|
||||
CreateBackdrop(CustomMerchantFrame, nil, nil, .75)
|
||||
CreateBackdropShadow(CustomMerchantFrame)
|
||||
|
||||
CustomMerchantFrame.backdrop:SetPoint("TOPLEFT", 10, -10)
|
||||
CustomMerchantFrame.backdrop:SetPoint("BOTTOMRIGHT", -32, 58)
|
||||
CustomMerchantFrame:SetHitRectInsets(10, 32, 10, 58)
|
||||
EnableMovable(CustomMerchantFrame)
|
||||
|
||||
-- Close button
|
||||
SkinCloseButton(CustomMerchantFrameCloseButton, CustomMerchantFrame.backdrop, -6, -6)
|
||||
|
||||
-- Title
|
||||
CustomMerchantNameText:ClearAllPoints()
|
||||
CustomMerchantNameText:SetPoint("TOP", CustomMerchantFrame.backdrop, "TOP", 0, -10)
|
||||
|
||||
-- Item frames
|
||||
for i = 1, 10 do
|
||||
local item = _G["CustomMerchantItem" .. i]
|
||||
if item then
|
||||
StripTextures(item)
|
||||
|
||||
local bg = item:CreateTexture(nil, "LOW")
|
||||
bg:SetTexture(1, 1, 1, .05)
|
||||
bg:SetAllPoints()
|
||||
|
||||
local itemButton = _G["CustomMerchantItem" .. i .. "ItemButton"]
|
||||
if itemButton then
|
||||
StripTextures(itemButton)
|
||||
SkinButton(itemButton, nil, nil, nil, _G[itemButton:GetName() .. "IconTexture"])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- Pagination buttons
|
||||
if CustomMerchantPrevPageButton then
|
||||
StripTextures(CustomMerchantPrevPageButton)
|
||||
SkinArrowButton(CustomMerchantPrevPageButton, "left", 18)
|
||||
end
|
||||
if CustomMerchantNextPageButton then
|
||||
StripTextures(CustomMerchantNextPageButton)
|
||||
SkinArrowButton(CustomMerchantNextPageButton, "right", 18)
|
||||
end
|
||||
end)
|
||||
Reference in New Issue
Block a user