TeButtonLayout {
	name = "puzzlePlanets",
	sizeType = Percent, size = {1.0, 1.0},

	TeSpriteLayout {
		name = "background",
		sizeType = Percent, size = {1.9, 1.9},	
		--ratioMode = PanScan,			
		image = "2D/puzzles/Planets/background.png",

		TeSpriteLayout {
			name = "centralAxis",
			sizeType = Percent, size = {20/996, 481/560},
			positionType = Percent, position = {0.5, 0.5},			
			image = "2D/puzzles/Planets/centralAxis.png",		
		},

		TeButtonLayout {
			name = "scrollButton",
			sizeType = Percent, size = {1.0, 1.0}
		},		
	},
	TeCheckboxLayout {
		name = "helpButton",
		position = {0.93, 0.70},
		activationSound = "Sounds/SFX/Clic_Deb-fin.wav",
		unactivationSound = "Sounds/SFX/Clic_Deb-fin.wav",
		unactiveLayout = TeSpriteLayout {
			image = "2D/Menus/InGame/Help.png",
		},
		activeLayout = TeSpriteLayout {
			image = "2D/Menus/InGame/Help_over.png",
		},
		hitZone = TeLayout {
			sizeType = Percent, size = {1.5, 1.5},
		},		
	},	
	TeButtonLayout {
		name = "quitButton",
		position = {0.93, 0.90},
		validationSound = "Sounds/SFX/Clic_Retour.wav",
		upLayout = TeSpriteLayout {
			image = "2D/btn_back.png",
		},
		downLayout = TeSpriteLayout {
			image = "2D/btn_backOver.png",
		}
	},		
	TeSpriteLayout {
		position = {0.0, 1.0},
		anchor = {-0.05, 1.05},
		sizeType = Percent, size = {160/996 * 1.5, 150/560 * 1.5},			
		image = "2D/puzzles/Planets/cadre.png",
		
		TeCheckboxLayout {
			name = "smallMasseButton",
			position = {17/160, 19/150},	
			anchor = {0.0, 0.0},
			sizeType = Percent, size = {71/160, 36/150},		
			activationSound = "Sounds/SFX/Clic_Deb-fin.wav",
			unactivationSound = "Sounds/SFX/Clic_Deb-fin.wav",
			activeLayout = TeSpriteLayout {
				image = "2D/puzzles/Planets/petitPoids_over.png",
				sizeType = Percent, size = {1.0, 1.0},				
			},
			unactiveLayout = TeSpriteLayout {
				image = "2D/puzzles/Planets/petitPoids.png",
				sizeType = Percent, size = {1.0, 1.0},				
			},
			hitZone = TeLayout {
				position = {0.5, 0.5},
				sizeType = Percent, size = {2.0, 2.0},
			},				
		},	
		TeSpriteLayout {
			name = "smallMasseCountText",
			position = {109/160, 26/150},	
			anchor = {0.0, 0.0},		
			sizeType = Percent, size = {14/160, 24/150},				
		},
		TeCheckboxLayout {
			name = "mediumMasseButton",
			position = {17/160, 57/150},	
			anchor = {0.0, 0.0},	
			sizeType = Percent, size = {71/160, 36/150},					
			activationSound = "Sounds/SFX/Clic_Deb-fin.wav",
			unactivationSound = "Sounds/SFX/Clic_Deb-fin.wav",
			activeLayout = TeSpriteLayout {
				image = "2D/puzzles/Planets/moyenPoids_over.png",
				sizeType = Percent, size = {1.0, 1.0},				
			},
			unactiveLayout = TeSpriteLayout {
				image = "2D/puzzles/Planets/moyenPoids.png",
				sizeType = Percent, size = {1.0, 1.0},
			},
			hitZone = TeLayout {
				position = {0.5, 0.5},
				sizeType = Percent, size = {1.5, 1.5},
			},				
		},
		TeSpriteLayout {
			name = "mediumMasseCountText",
			position = {109/160, 63/150},	
			anchor = {0.0, 0.0},		
			sizeType = Percent, size = {14/160, 24/150},				
		},			
		TeCheckboxLayout {
			name = "bigMasseButton",
			position = {17/160, 94/150},	
			anchor = {0.0, 0.0},	
			sizeType = Percent, size = {71/160, 36/150},					
			activationSound = "Sounds/SFX/Clic_Deb-fin.wav",
			unactivationSound = "Sounds/SFX/Clic_Deb-fin.wav",
			activeLayout = TeSpriteLayout {
				image = "2D/puzzles/Planets/grosPoids_over.png",
				sizeType = Percent, size = {1.0, 1.0},				
			},
			unactiveLayout = TeSpriteLayout {
				image = "2D/puzzles/Planets/grosPoids.png",
				sizeType = Percent, size = {1.0, 1.0},				
			},
			hitZone = TeLayout {
				position = {0.5, 0.5},
				sizeType = Percent, size = {1.0, 1.0},
			},				
		},	
		TeSpriteLayout {
			name = "bigMasseCountText",
			position = {109/160, 100/150},	
			anchor = {0.0, 0.0},	
			sizeType = Percent, size = {14/160, 24/150},				
		},			
	},	
}

masseCountTextFormat = [[<font file="Common/Fonts/Arial_r_14.tef" />%d]]