Commit 82b795f8 authored by Merathilis's avatar Merathilis

Merge branch 'new-skin' into 'development'

Add skin for subscription interstitial

See merge request !251
parents 670fa6be ba610e58
......@@ -92,6 +92,7 @@
<Script file='PlayerChoice.lua'/>
<Script file='Runeforge.lua'/>
<Script file='Soulbinds.lua'/>
<Script file='SubscriptionInterstitial.lua'/>
<Script file='TorghastLevelPicker.lua'/>
<Script file='WeeklyRewards.lua'/>
</Ui>
local E, L, V, P, G = unpack(select(2, ...)); --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
local S = E:GetModule('Skins')
local _G = _G
-- /run SubscriptionInterstitial_LoadUI(); _G.SubscriptionInterstitialFrame:Show()
function S:Blizzard_SubscriptionInterstitialUI()
if not (E.private.skins.blizzard.enable and E.private.skins.blizzard.subscriptionInterstitial) then return end
local SubscriptionInterstitial = _G.SubscriptionInterstitialFrame
SubscriptionInterstitial:StripTextures()
SubscriptionInterstitial:CreateBackdrop('Transparent')
SubscriptionInterstitial.ShadowOverlay:Hide()
S:HandleCloseButton(SubscriptionInterstitial.CloseButton)
S:HandleButton(SubscriptionInterstitial.ClosePanelButton)
end
S:AddCallbackForAddon('Blizzard_SubscriptionInterstitialUI')
......@@ -152,6 +152,7 @@ V.skins = {
guide = true,
playerChoice = true,
soulbinds = true,
subscriptionInterstitial = true,
runeforge = true,
weeklyRewards = true,
torghastLevelPicker = true,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment