TeButtonLayout {
	name = "rotationAnim",
	sizeType = Percent, size = {1.0, 1.0},
	
	TeSpriteLayout {
		name = "plancheBas",
		position = {0.5, 1.3},
		sizeType = Percent, size = {1.0, 1.0},
		ratioMode = PanScan,
		image = "2D/Menus/planche_bas.png",
	},	
	TeSpriteLayout {
		name = "plancheHaut",
		position = {0.5, -0.3},
		sizeType = Percent, size = {1.0, 1.0},
		ratioMode = PanScan,
		image = "2D/Menus/planche_haut.png",
		
		TeSpriteLayout {
			name = "center",
			sizeType = Percent, size = {261/1365, 261/768},
			image = "2D/Menus/MainMenu/boucle_fermeture.png",
		},
	},		
}

-- LANSCAPE
TeLayoutPositionLinearAnimation {
	name = "landscapeClosePlancheHaut", startValue = {0.5, -0.3}, endValue = {0.5, 0.5}, duration = 1000, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
TeLayoutPositionLinearAnimation {
	name = "landscapeClosePlancheBas", startValue = {0.5, 1.3}, endValue = {0.5, 0.5}, duration = 1000, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
landscapeCloseSound = "Sounds/SFX/E_Piano_Clavier_ferme_NA.wav";

TeLayoutPositionLinearAnimation {
	name = "landscapeRotatePlancheHaut", startValue = {0.5, 0.5}, endValue = {0.5, 0.5}, duration = 1000, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
TeRotationLinearAnimation {
	name = "landscapeRotateCenter", startValue = {0.0, 0.0, 1.0, 0}, endValue = {0.0, 0.0, 1.0, -90}, duration = 1000, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
TeLayoutPositionLinearAnimation {
	name = "landscapeRotatePlancheBas", startValue = {0.5, 0.5}, endValue = {0.5, 0.5},	duration = 1000, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
landscapeRotateSound = "Sounds/SFX/DemontageObjet.wav";

TeLayoutPositionLinearAnimation {
	name = "landscapeOpenPlancheHaut", startValue = {0.5, 0.5}, endValue = {0.5, -0.3},	duration = 1000, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
TeLayoutPositionLinearAnimation {
	name = "landscapeOpenPlancheBas", startValue = {0.5, 0.5}, endValue = {0.5, 1.3}, duration = 1000, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
landscapeOpenSound = "Sounds/SFX/E_Piano_Clavier_ouvre_NA.wav";

-- PORTRAIT
TeLayoutPositionLinearAnimation {
	name = "portraitClosePlancheHaut", startValue = {0.5, -0.3}, endValue = {0.5, 0.5}, duration = 1000, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
TeLayoutPositionLinearAnimation {
	name = "portraitClosePlancheBas", startValue = {0.5, 1.3}, endValue = {0.5, 0.5}, duration = 1000, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
portraitCloseSound = "Sounds/SFX/E_Piano_Clavier_ferme_NA.wav";

TeLayoutPositionLinearAnimation {
	name = "portraitRotatePlancheHaut", startValue = {0.5, 0.5}, endValue = {0.5, 0.5}, duration = 1000, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
TeRotationLinearAnimation {
	name = "portraitRotateCenter", startValue = {0.0, 0.0, 1.0, -90}, endValue = {0.0, 0.0, 1.0, 0}, duration = 1000, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
TeLayoutPositionLinearAnimation {
	name = "portraitRotatePlancheBas", startValue = {0.5, 0.5}, endValue = {0.5, 0.5},	duration = 1000, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
portraitRotateSound = "Sounds/SFX/DemontageObjet.wav";

TeLayoutPositionLinearAnimation {
	name = "portraitOpenPlancheHaut", startValue = {0.5, 0.5}, endValue = {0.5, -0.3},	duration = 1000, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
TeLayoutPositionLinearAnimation {
	name = "portraitOpenPlancheBas", startValue = {0.5, 0.5}, endValue = {0.5, 1.3}, duration = 1000, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
portraitOpenSound = "Sounds/SFX/E_Piano_Clavier_ouvre_NA.wav";

-- STAY LANDSCAPE
TeLayoutPositionLinearAnimation {
	name = "stayLandscapeClosePlancheHaut", startValue = {0.5, -0.3}, endValue = {0.5, 0.5}, duration = 1000, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
TeLayoutPositionLinearAnimation {
	name = "stayLandscapeClosePlancheBas", startValue = {0.5, 1.3}, endValue = {0.5, 0.5}, duration = 1000, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
stayLandscapeCloseSound = "Sounds/SFX/E_Piano_Clavier_ferme_NA.wav";

TeLayoutPositionLinearAnimation {
	name = "stayLandscapeRotatePlancheHaut", startValue = {0.5, 0.5}, endValue = {0.5, 0.5}, duration = 0, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
TeRotationLinearAnimation {
	name = "stayLandscapeRotateCenter", startValue = {0.0, 0.0, 1.0, -90}, endValue = {0.0, 0.0, 1.0, -90}, duration = 0, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
TeLayoutPositionLinearAnimation {
	name = "stayLandscapeRotatePlancheBas", startValue = {0.5, 0.5}, endValue = {0.5, 0.5},	duration = 0, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}

TeLayoutPositionLinearAnimation {
	name = "stayLandscapeOpenPlancheHaut", startValue = {0.5, 0.5}, endValue = {0.5, -0.3},	duration = 1000, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
TeLayoutPositionLinearAnimation {
	name = "stayLandscapeOpenPlancheBas", startValue = {0.5, 0.5}, endValue = {0.5, 1.3}, duration = 1000, curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
stayLandscapeOpenSound = "Sounds/SFX/E_Piano_Clavier_ouvre_NA.wav";
