Skip to content

Instantly share code, notes, and snippets.

@Wetxius

Wetxius/TalkingHead.lua

Last active Aug 15, 2018
Embed
What would you like to do?
ShestakUI\Modules\Skins\Blizzard\TalkingHead.lua
local T, C, L, _ = unpack(select(2, ...))
if C.skins.blizzard_frames ~= true then return end
----------------------------------------------------------------------------------------
-- TalkingHeadUI skin
----------------------------------------------------------------------------------------
local function LoadSkin()
TalkingHeadFrame:StripTextures()
TalkingHeadFrame:CreateBackdrop("Transparent")
TalkingHeadFrame.backdrop:SetPoint("TOPLEFT", 13, -13)
TalkingHeadFrame.backdrop:SetPoint("BOTTOMRIGHT", -35, 11)
TalkingHeadFrame.MainFrame:StripTextures(true)
TalkingHeadFrame.PortraitFrame:StripTextures(true)
TalkingHeadFrame.BackgroundFrame:StripTextures(true)
TalkingHeadFrame.MainFrame.Model:CreateBackdrop("Default")
TalkingHeadFrame.MainFrame.Model.backdrop:SetPoint("TOPLEFT", -3, 3)
TalkingHeadFrame.MainFrame.Model.backdrop:SetPoint("BOTTOMRIGHT", 3, -3)
T.SkinCloseButton(TalkingHeadFrame.MainFrame.CloseButton)
TalkingHeadFrame.MainFrame.CloseButton:SetPoint("TOPRIGHT", -39, -17)
end
T.SkinFuncs["Blizzard_TalkingHeadUI"] = LoadSkin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment