Skip to content

Commit

Permalink
Update Auction.lua
Browse files Browse the repository at this point in the history
Fix filter and bid/buyout/close buttons in the auctionhouse skin. Also skinned wow token turotial frame.
  • Loading branch information
ViksUI committed Mar 25, 2015
1 parent 264054d commit 7a37d20
Showing 1 changed file with 34 additions and 6 deletions.
40 changes: 34 additions & 6 deletions ShestakUI/Modules/Skins/Blizzard/Auction.lua
Expand Up @@ -27,6 +27,29 @@ local function LoadSkin()
SideDressUpFrame:ClearAllPoints()
SideDressUpFrame:SetPoint("TOPLEFT", AuctionFrame, "TOPRIGHT", 3, 0)
end)

--WoW Token Tutorial Frame
WowTokenGameTimeTutorial:CreateBackdrop("Transparent")
T.SkinCloseButton(WowTokenGameTimeTutorial.CloseButton)
WowTokenGameTimeTutorial.Inset.InsetBorderBottom:SetAlpha(0)
WowTokenGameTimeTutorial.Inset.InsetBorderRight:SetAlpha(0)
WowTokenGameTimeTutorial.Inset.InsetBorderBottomLeft:SetAlpha(0)
WowTokenGameTimeTutorial.Inset.InsetBorderBottomRight:SetAlpha(0)
WowTokenGameTimeTutorial.Inset.InsetBorderTopLeft:SetAlpha(0)
WowTokenGameTimeTutorial.Inset.InsetBorderLeft:SetAlpha(0)
WowTokenGameTimeTutorial.Inset.InsetBorderTopRight:SetAlpha(0)
WowTokenGameTimeTutorial.Inset.InsetBorderTop:SetAlpha(0)
WowTokenGameTimeTutorial.Inset.Bg:SetAlpha(0)
WowTokenGameTimeTutorialTitleBg:SetAlpha(0)
WowTokenGameTimeTutorialBg:SetAlpha(0)
WowTokenGameTimeTutorialTopRightCorner:SetAlpha(0)
WowTokenGameTimeTutorialTopLeftCorner:SetAlpha(0)
WowTokenGameTimeTutorialTopBorder:SetAlpha(0)
WowTokenGameTimeTutorialBotLeftCorner:SetAlpha(0)
WowTokenGameTimeTutorialBotRightCorner:SetAlpha(0)
WowTokenGameTimeTutorialBottomBorder:SetAlpha(0)
WowTokenGameTimeTutorialLeftBorder:SetAlpha(0)
WowTokenGameTimeTutorialRightBorder:SetAlpha(0)

-- Progress Frame
AuctionProgressFrame:StripTextures()
Expand Down Expand Up @@ -73,11 +96,12 @@ local function LoadSkin()
"AuctionsCloseButton",
"BrowseResetButton",
"AuctionsStackSizeMaxButton",
"AuctionsNumStacksMaxButton"
"AuctionsNumStacksMaxButton",
"StoreButton"
}

for _, button in pairs(buttons) do
_G[button]:SkinButton()
_G[button]:SkinButton(true)
end

-- Fix Button Positions
Expand Down Expand Up @@ -137,10 +161,14 @@ local function LoadSkin()

for i = 1, NUM_FILTERS_TO_DISPLAY do
local tab = _G["AuctionFilterButton"..i]
tab:StripTextures()
tab:StyleButton()
end


hooksecurefunc("FilterButton_SetType", function(button)
local tex = button:GetNormalTexture();
tex:SetAlpha(0)
end)

local editboxs = {
"BrowseName",
"BrowseMinLevel",
Expand Down Expand Up @@ -277,7 +305,7 @@ local function LoadSkin()
AuctionFrameAuctions.bg2:SetPoint("TOPLEFT", AuctionFrameAuctions.bg1, "TOPRIGHT", 3, 0)
AuctionFrameAuctions.bg2:SetPoint("BOTTOMRIGHT", AuctionFrame, -8, 35)
AuctionFrameAuctions.bg2:SetFrameLevel(AuctionFrameAuctions.bg2:GetFrameLevel() - 2)

-- Auctionator
if not IsAddOnLoaded("Auctionator") then return end

Expand Down Expand Up @@ -467,4 +495,4 @@ local function LoadSkin()
end
end

T.SkinFuncs["Blizzard_AuctionUI"] = LoadSkin
T.SkinFuncs["Blizzard_AuctionUI"] = LoadSkin

0 comments on commit 7a37d20

Please sign in to comment.