--[[
ExplorerButton.MouseButton1Up:connect(function()
	switchWindows("Explorer")
end)

SettingsButton.MouseButton1Up:connect(function()
	switchWindows("Settings")
end)
--]]


for i,v in pairs(SlideFrame:GetChildren()) do
	if not blackList[v.Name] then
		v.MouseButton1Click:connect(function()
			switchWindows(v.Name)
		end)
		
		v.MouseEnter:connect(function()v.BackgroundTransparency = 0.5 end)
		v.MouseLeave:connect(function()if CurrentWindow~=v.Name then v.BackgroundTransparency = 1 end end)
	end
end
