From fb072b66d9ce235a7c1f2866d299efae0b215331 Mon Sep 17 00:00:00 2001 From: Luckyone Date: Tue, 23 Apr 2024 01:07:21 +0200 Subject: [PATCH] This is gone --- ElvUI/Cata/Modules/Skins/Arena.lua | 48 ------------------------- ElvUI/Cata/Modules/Skins/Load_Skins.xml | 1 - ElvUI_Options/Core/Skins.lua | 1 - 3 files changed, 50 deletions(-) delete mode 100644 ElvUI/Cata/Modules/Skins/Arena.lua diff --git a/ElvUI/Cata/Modules/Skins/Arena.lua b/ElvUI/Cata/Modules/Skins/Arena.lua deleted file mode 100644 index 4e7653a6ab..0000000000 --- a/ElvUI/Cata/Modules/Skins/Arena.lua +++ /dev/null @@ -1,48 +0,0 @@ -local E, L, V, P, G = unpack(ElvUI) -local S = E:GetModule('Skins') - -local _G = _G -local CreateFrame = CreateFrame - -function S:SkinArena() - if not (E.private.skins.blizzard.enable and E.private.skins.blizzard.arena) then return end - - local ArenaFrame = _G.ArenaFrame - ArenaFrame:StripTextures(true) - ArenaFrame:CreateBackdrop('Transparent') - ArenaFrame.backdrop:Point('TOPLEFT', 10, -12) - ArenaFrame.backdrop:Point('BOTTOMRIGHT', -32, 73) - - S:HandleButton(_G.ArenaFrameCancelButton) - S:HandleButton(_G.ArenaFrameJoinButton) - S:HandleButton(_G.ArenaFrameGroupJoinButton) - - _G.ArenaFrameZoneDescription:SetTextColor(1, 1, 1) - - _G.ArenaFrameNameHeader:Point('TOPLEFT', _G.ArenaZone1, 'TOPLEFT', 8, 24) - _G.ArenaFrameGroupJoinButton:Point('RIGHT', _G.ArenaFrameJoinButton, 'LEFT', -2, 0) - - local backdrop_level = ArenaFrame.backdrop:GetFrameLevel() - - -- Custom Backdrop 1 - local topBackdrop = CreateFrame('Frame', nil, ArenaFrame) - topBackdrop:SetTemplate('Transparent') - topBackdrop:Height(112) - topBackdrop:Width(330) - topBackdrop:Point('TOP', ArenaFrame, 'TOP', -12, -48) - topBackdrop:SetFrameLevel(backdrop_level) - ArenaFrame.TopBackdrop = topBackdrop - - -- Custom Backdrop 2 - local bottomBackdrop = CreateFrame('Frame', nil, ArenaFrame) - bottomBackdrop:SetTemplate('Transparent') - bottomBackdrop:Height(240) - bottomBackdrop:Width(330) - bottomBackdrop:Point('BOTTOM', ArenaFrame, 'BOTTOM', -12, 108) - bottomBackdrop:SetFrameLevel(backdrop_level) - ArenaFrame.BottomBackdrop = bottomBackdrop - - S:HandleCloseButton(_G.ArenaFrameCloseButton) -end - -S:AddCallback('SkinArena') diff --git a/ElvUI/Cata/Modules/Skins/Load_Skins.xml b/ElvUI/Cata/Modules/Skins/Load_Skins.xml index bba8018056..f5a3c6fdaa 100644 --- a/ElvUI/Cata/Modules/Skins/Load_Skins.xml +++ b/ElvUI/Cata/Modules/Skins/Load_Skins.xml @@ -2,7 +2,6 @@