-- DrGlenns attempt to fix ButtonFacade_Aion by Elloria of WoWInterface fame for Masque (WoW 6.0.2)
-- All credit for the original addon and texture work goes to Elloria

if not LibStub then return end

local MSQ = LibStub("Masque", true)

if not MSQ then return end

MSQ:AddSkin("Aion",{
	
	-- Skin data start.
--	Author = "Elloria, DrGlenn",
--	Version = "60000",
--	Masque_Version = 60000,
--	Shape = "Square",

	Normal = {
		Width = 36,
		Height = 36,
		Texture = [[Interface\AddOns\Masque_Aion\images\AionNormal]],
		Static = true,
	},
	Pushed = {
		Width = 34,
		Height = 34,
		Texture = [[Interface\AddOns\Masque_Aion\images\GlowSquare_Frame]],
--		TexCoords = {0,1,-0.02,1},
--		TexCoords = {0,1,0.5,1},
--		Static = true,
--		BlendMode = "ADD",
	},
	Checked = {
		Width = 36, 
		Height = 36,
		Texture = [[Interface\AddOns\Masque_Aion\images\AionChecked]],
		BlendMode = "ADD",
	},
	Highlight = {
		Width = 36,
		Height = 36,
		Texture = [[Interface\AddOns\Masque_Aion\images\Aionhighlight]],
		BlendMode= "ADD",
	},
	Border = {
		Width = 35,
		Height = 35,
		Texture = [[Interface\AddOns\Masque_Aion\images\AionChecked]],
		BlendMode = "ADD",
	},
	Gloss = {
		Width = 36,
		Height = 36,
		Texture = [[Interface\AddOns\Masque_Aion\images\Aiongloss]],
	},
	Disabled = {
		Hide = true,
	},
	Icon = {
		Width = 30,
		Height = 30,
		TexCoords = {0.07,0.93,0.07,0.93},
	},
	Cooldown = {
		Width = 30,
		Height = 30,
	},
	Backdrop = {
		Width = 35,
		Height = 35,
		Texture = [[Interface\AddOns\Masque_Aion\images\Backdrop]],
	},
	HotKey = {
		Width = 0,
		Height = 0,
		OffsetX = 11,
		OffsetY = 11,
	},
	Count = {
		Width = 0,
		Height = 0,
		OffsetX = 0,
		OffsetY = 0,
	},
	Name = {
		Width = 0,
		Height = 0,
		OffsetY = -12,
	},
	AutoCast = {
		Width = 32,
		Height = 32,
	},
	AutoCastable = {
		Width = 54,
		Height = 54,
		Texture = [[Interface\Buttons\UI-AutoCastableOverlay]],
	},
	Flash = {
		Width = 32,
		Height = 32,
		Texture = [[Interface\Buttons\UI-QuickslotRed]],
	},
	-- Skin data end.
},true)

















