TeButtonLayout {
	name = "dialogLockButton",
	sizeType = Percent, size = {1.0, 1.0},
	anchor = {0.5, 0.5},
	position = {0.5, 0.5},

	TeButtonLayout {
		name = "dialog",
		anchor = {0.5, -0.1},
		position = {0.5, 1.0},
		upLayout = TeSpriteLayout {
			image = "2D/Dialogs/DialogBar.png",
		},

		TeSpriteLayout {
			name = "avatar",
			anchor = {1.0, 1.0},
			position = {1.0, 1.0},
			--image = "2D/Dialogs/Character_0.png",
		},

		TeTextLayout {
			name = "text",
			--text = [[<section style="left" /><color r="220" g="220" b="220"/><font file="Common/Fonts/Colaborate-Regular_r_24.tef" />Il me faut un petit texte pour tester la disposition des futures dialogues.]],
			anchor = {0.0, 0.0},
			position = {0.03, 0.2},
			sizeType = Percent, size = {0.70, 0.9},
		},
	},
}

TeLayoutAnchorLinearAnimation {
	name = "dialogAnimationUp",
	duration = 500,
	curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
	startValue = {0.5, -0.4, 0.5},
	endValue = {0.5, 1.0, 0.5},
}

TeLayoutAnchorLinearAnimation {
	name = "dialogAnimationDown",
	duration = 500,
	curve = {0.0, 0.35, 0.68, 0.85, 0.93, 0.97, 1.0},
	startValue = {0.5, 1.0, 0.5},
	endValue = {0.5, -0.4, 0.5},
}
