TeLayout {
	name = "menu",
	sizeType = Percent, size = {1.0, 1.0},

	TeSpriteLayout {
		name = "background",
		image = "2D/Menus/LoadingMenu/Background.jpg",
		sizeType = Percent, size = {1.0, 1.0},
		ratioMode = PanScan,
		
		TeButtonLayout {
			name = "quitButton",
			position = {0.80, 0.25},
			validationSound = "Sounds/SFX/Clic_Retour.wav",
			upLayout = TeSpriteLayout {
				image = "2D/Menus/Quit.png",
			},
			downLayout = TeSpriteLayout {
				image = "2D/Menus/Quit_over.png",
			}
		},

		-- Slots
		TeLayout {
			name = "slots",
			position = {0.5, 0.70},			
			sizeType = Percent, size = {1.0, 0.55},
			TeButtonLayout {
				name = "slot0",
				position = {0.5, 0.35},
			},
			TeButtonLayout {
				name = "slot1",		
				position = {0.8, 0.35},
			},
			TeButtonLayout {
				name = "slot2",			
				position = {1.1, 0.35},
			},
			TeButtonLayout {
				name = "slot3",		
				position = {1.4, 0.35},
			},
			TeButtonLayout {
				name = "slot4",			
				position = {1.7, 0.35},
			},
		},		
		TeLayout {
		},	
		TeLayout {
		},	
		TeLayout {
		},	
		TeLayout {
		},	
		TeLayout {
		},	
		TeLayout {
		},	
		TeLayout {
		},		
		TeButtonLayout {
			name = "slideButton",
			sizeType = Percent, size = {1.0, 1.0}
		},		
	},	
}

TeButtonLayout {
	name = "0",
	validationSound = "Sounds/SFX/ChoixMenu.wav",				
	upLayout = TeSpriteLayout {
		image = "2D/Menus/LoadingMenu/Frame_01.png",
		TeTextLayout {		
			position = {0.5, 1.2},
			sizeType = Pixel, size = {300, 100},		
			text = [[<section style="center" /><color r="255" g="255" b="255"/><font file="Common/Fonts/Arial_r_16.tef" />]],
		}
	},
	downLayout = TeSpriteLayout {
		image = "2D/Menus/LoadingMenu/Frame_01_over.png",
		TeTextLayout {		
			position = {0.5, 1.2},
			sizeType = Pixel, size = {300, 100},		
			text = [[<section style="center" /><color r="255" g="255" b="255"/><font file="Common/Fonts/Arial_r_16.tef" />]],
		}					
	},
	disabledLayout = TeSpriteLayout {
		image = "2D/Menus/LoadingMenu/Frame.png",
	},
}
TeButtonLayout {
	name = "1",		
	validationSound = "Sounds/SFX/ChoixMenu.wav",					
	upLayout = TeSpriteLayout {
		image = "2D/Menus/LoadingMenu/Frame_02.png",				
		TeTextLayout {		
			position = {0.5, 1.2},
			sizeType = Pixel, size = {300, 100},		
			text = [[<section style="center" /><color r="255" g="255" b="255"/><font file="Common/Fonts/Arial_r_16.tef" />]],
		}					
	},
	downLayout = TeSpriteLayout {
		image = "2D/Menus/LoadingMenu/Frame_02_over.png",
		TeTextLayout {		
			position = {0.5, 1.2},
			sizeType = Pixel, size = {300, 100},		
			text = [[<section style="center" /><color r="255" g="255" b="255"/><font file="Common/Fonts/Arial_r_16.tef" />]],
		}					
	},
	disabledLayout = TeSpriteLayout {
		image = "2D/Menus/LoadingMenu/Frame.png",
	},
}
TeButtonLayout {
	name = "2",
	validationSound = "Sounds/SFX/ChoixMenu.wav",					
	upLayout = TeSpriteLayout {
		image = "2D/Menus/LoadingMenu/Frame_03.png",
		TeTextLayout {		
			position = {0.5, 1.2},
			sizeType = Pixel, size = {300, 100},		
			text = [[<section style="center" /><color r="255" g="255" b="255"/><font file="Common/Fonts/Arial_r_16.tef" />]],
		}					
	},
	downLayout = TeSpriteLayout {
		image = "2D/Menus/LoadingMenu/Frame_03_over.png",
		TeTextLayout {		
			position = {0.5, 1.2},
			sizeType = Pixel, size = {300, 100},		
			text = [[<section style="center" /><color r="255" g="255" b="255"/><font file="Common/Fonts/Arial_r_16.tef" />]],
		}						
	},
	disabledLayout = TeSpriteLayout {
		image = "2D/Menus/LoadingMenu/Frame.png",
	},
}	
TeButtonLayout {
	name = "3",		
	validationSound = "Sounds/SFX/ChoixMenu.wav",					
	upLayout = TeSpriteLayout {
		image = "2D/Menus/LoadingMenu/Frame_04.png",
		TeTextLayout {		
			position = {0.5, 1.2},
			sizeType = Pixel, size = {300, 100},		
			text = [[<section style="center" /><color r="255" g="255" b="255"/><font file="Common/Fonts/Arial_r_16.tef" />]],
		}	
	},
	downLayout = TeSpriteLayout {
		image = "2D/Menus/LoadingMenu/Frame_04_over.png",
		TeTextLayout {		
			position = {0.5, 1.2},
			sizeType = Pixel, size = {300, 100},		
			text = [[<section style="center" /><color r="255" g="255" b="255"/><font file="Common/Fonts/Arial_r_16.tef" />]],
		}					
	},
	disabledLayout = TeSpriteLayout {
		image = "2D/Menus/LoadingMenu/Frame.png",
	},
}
TeButtonLayout {
	name = "4",
	validationSound = "Sounds/SFX/ChoixMenu.wav",					
	upLayout = TeSpriteLayout {
		image = "2D/Menus/LoadingMenu/Frame_05.png",
		TeTextLayout {		
			position = {0.5, 1.2},
			sizeType = Pixel, size = {300, 100},		
			text = [[<section style="center" /><color r="255" g="255" b="255"/><font file="Common/Fonts/Arial_r_16.tef" />]],
		}					
	},
	downLayout = TeSpriteLayout {
		image = "2D/Menus/LoadingMenu/Frame_05_over.png",
		TeTextLayout {		
			position = {0.5, 1.2},
			sizeType = Pixel, size = {300, 100},		
			text = [[<section style="center" /><color r="255" g="255" b="255"/><font file="Common/Fonts/Arial_r_16.tef" />]],
		}						
	},
	disabledLayout = TeSpriteLayout {
		image = "2D/Menus/LoadingMenu/Frame.png",
	},
}

TeLayoutPositionLinearAnimation {
	name = "slideAnimation",
	duration = 250,
	curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
}
