--[[ ############################################################################## _____/\\\\\\\\\\\____/\\\________/\\\__/\\\________/\\\__/\\\\\\\\\\\_ # ___/\\\/////////\\\_\/\\\_______\/\\\_\/\\\_______\/\\\_\/////\\\///__ # __\//\\\______\///__\//\\\______/\\\__\/\\\_______\/\\\_____\/\\\_____ # ___\////\\\__________\//\\\____/\\\___\/\\\_______\/\\\_____\/\\\_____ # ______\////\\\________\//\\\__/\\\____\/\\\_______\/\\\_____\/\\\_____ # _________\////\\\______\//\\\/\\\_____\/\\\_______\/\\\_____\/\\\_____ # __/\\\______\//\\\______\//\\\\\______\//\\\______/\\\______\/\\\_____ # _\///\\\\\\\\\\\/________\//\\\________\///\\\\\\\\\/____/\\\\\\\\\\\_# ___\///////////___________\///___________\/////////_____\///////////_# ############################################################################## S U P E R - V I L L A I N - U I By: Munglunch # ############################################################################## --]] local SV = _G.SVUI; local L = SV.L; local STYLE = select(2, ...); local Schema = STYLE.Schema; --[[ ########################################################## BARBERSHOP STYLER ########################################################## ]]-- local function BarberShopStyle() if SV.db[Schema].blizzard.enable~=true or SV.db[Schema].blizzard.barber~=true then return end local buttons = {"BarberShopFrameOkayButton", "BarberShopFrameCancelButton", "BarberShopFrameResetButton"} BarberShopFrameOkayButton:Point("RIGHT", BarberShopFrameSelector4, "BOTTOM", 2, -50) for b = 1, #buttons do _G[buttons[b]]:RemoveTextures() _G[buttons[b]]:SetButtonTemplate() end for b = 1, 4 do local c = _G["BarberShopFrameSelector"..b] local d = _G["BarberShopFrameSelector"..b-1] STYLE:ApplyPaginationStyle(_G["BarberShopFrameSelector"..b.."Prev"]) STYLE:ApplyPaginationStyle(_G["BarberShopFrameSelector"..b.."Next"]) if b ~= 1 then c:ClearAllPoints()c:Point("TOP", d, "BOTTOM", 0, -3) end if c then c:RemoveTextures() end end BarberShopFrameSelector1:ClearAllPoints() BarberShopFrameSelector1:Point("TOP", 0, -12) BarberShopFrameResetButton:ClearAllPoints() BarberShopFrameResetButton:Point("BOTTOM", 0, 12) BarberShopFrame:RemoveTextures() BarberShopFrame:SetPanelTemplate("Halftone") BarberShopFrame:Size(BarberShopFrame:GetWidth()-30, BarberShopFrame:GetHeight()-56) BarberShopFrameMoneyFrame:RemoveTextures() BarberShopFrameMoneyFrame:SetPanelTemplate() BarberShopFrameBackground:Die() BarberShopBannerFrameBGTexture:Die() BarberShopBannerFrame:Die() BarberShopAltFormFrameBorder:RemoveTextures() BarberShopAltFormFrame:Point("BOTTOM", BarberShopFrame, "TOP", 0, 5) BarberShopAltFormFrame:RemoveTextures() BarberShopAltFormFrame:SetBasicPanel() end --[[ ########################################################## STYLE LOADING ########################################################## ]]-- STYLE:SaveBlizzardStyle("Blizzard_BarbershopUI",BarberShopStyle)