---@class SUI
local SUI = SUI

local function OnEnable()
	-- Classic menu is gone but not all new skins from retail are added
	-- if SUI:IsAddonDisabled('Skinner') and SUI:IsAddonDisabled('ConsolePortUI_Menu') then
	-- 	-- reskin all esc/menu buttons
	-- 	for _, Button in pairs({ GameMenuFrame:GetChildren() }) do
	-- 		if Button.IsObjectType and Button:IsObjectType('Button') then
	-- 			SUI.Skins.SkinObj('Button', Button)
	-- 			local point, relativeTo, relativePoint, xOfs, yOfs = Button:GetPoint()
	-- 			if point then
	-- 				-- Shift Button Down
	-- 				Button:ClearAllPoints()
	-- 				Button:SetPoint(point, relativeTo, relativePoint, (xOfs or 0), (yOfs or 0) - 2)
	-- 			end
	-- 		end
	-- 	end

	-- 	hooksecurefunc('GameMenuFrame_UpdateVisibleButtons', function()
	-- 		SUI.Skins.RemoveAllTextures(GameMenuFrame)
	-- 		SUI.Skins.SkinObj('Frame', GameMenuFrame, 'Dark')
	-- 		if GameMenuFrame.Header then
	-- 			SUI.Skins.RemoveTextures(GameMenuFrame.Header)
	-- 			GameMenuFrame.Header:ClearAllPoints()
	-- 			GameMenuFrame.Header:SetPoint('TOP', GameMenuFrame, 0, 0)
	-- 			GameMenuFrame.Header:SetSize(GameMenuFrame:GetWidth(), 25)
	-- 			GameMenuFrame.Header.Text:ClearAllPoints()
	-- 			GameMenuFrame.Header.Text:SetPoint('CENTER', GameMenuFrame.Header)
	-- 			GameMenuFrame.Header.Text:SetTextColor(1, 1, 1)
	-- 			SUI.Skins.SkinObj('Frame', GameMenuFrame.Header)
	-- 		end
	-- 		if GameMenuFrameHeader then
	-- 			SUI.Skins.RemoveTextures(GameMenuFrameHeader)
	-- 			GameMenuFrameHeader:SetTexture()
	-- 			GameMenuFrameHeader:SetPoint('TOP', GameMenuFrame, 0, 0)
	-- 			GameMenuFrameHeader:SetSize(GameMenuFrame:GetWidth(), 25)
	-- 		end
	-- 	end)
	-- end
end

---@param optTable AceConfigOptionsTable
local function Options(optTable) end

SUI.Skins:Register('Blizzard', OnEnable, nil, Options)
