local T, C, L = unpack(ShestakUI)
if C.skins.blizzard_frames ~= true then return end

----------------------------------------------------------------------------------------
--	GlyphUI skin
----------------------------------------------------------------------------------------
local function LoadSkin()   
	-- Glyph Tab
	GlyphFrame:StripTextures()
	GlyphFrame:CreateBackdrop("Transparent")
	GlyphFrame.backdrop:SetPoint("TOPLEFT", 10, -12)
	GlyphFrame.backdrop:SetPoint("BOTTOMRIGHT", -32, 76)

	GlyphFrameBackground:SetDrawLayer("OVERLAY")
	GlyphFrameBackground:SetPoint("TOPLEFT", 5, 0)
	GlyphFrameBackground:SetPoint("BOTTOMRIGHT", -5, 2)

	for i = 1, 6 do
		_G["GlyphFrameGlyph"..i]:SetFrameLevel(_G["GlyphFrameGlyph"..i]:GetFrameLevel() + 5)
	end

	_G.GlyphFrame:HookScript("OnShow", function()
		_G.PlayerTalentFrameTitleText:Hide()
		_G.PlayerTalentFramePointsBar:Hide()
		_G.PlayerTalentFrameScrollFrame:Hide()
		_G.PlayerTalentFrameStatusFrame:Hide()
	end)

	_G.GlyphFrame:HookScript("OnHide", function()
		_G.PlayerTalentFrameTitleText:Show()
		_G.PlayerTalentFramePointsBar:Show()
		_G.PlayerTalentFrameScrollFrame:Show()
	end)
end

T.SkinFuncs["Blizzard_GlyphUI"] = LoadSkin