require( "screens/style.lua" )


StatFont = {
  standardFont,
  24,
  YellowColor
};


GoodJobFont = {
	standardFont,
	60,
	YellowColor,
};

GoodJobShadowFont = {
	standardFont,
	60,
	BlackColor,
};

LevelCompletedFont = {
	standardFont,
	40,
	YellowColor,
};

LevelCompletedShadowFont = {
	standardFont,
	40,
	BlackColor,
};

LevelScoreFont = {
	standardFont,
	35,
	YellowColor,
};

LevelScoreShadowFont = {
	standardFont,
	35,
	BlackColor,
};

BonusScoreFont = {
	standardFont,
	30,
	YellowColor,
};

BonusScoreShadowFont = {
	standardFont,
	30,
	BlackColor,
};

kLabelX = 195;
kValueX = 200;

MakeDialog
{
	Bitmap
	{ 
		image="backgrounds/large_dialog.jpg",	
		x=kLargeDialogX,
		y=kLargeDialogY,

		
			
		Text
		{
			font = GoodJobShadowFont,
			name = "leveloverheadershadow",
			label = "leveloverheader",
			flags = kHAlignCenter + kVAlignTop,
			x=2,y=32,w=kMax,h=80
		},
		
		Text
		{
			font = GoodJobFont,
			name = "leveloverheader",
			label = "leveloverheader",
			flags = kHAlignCenter + kVAlignTop,
			x=0,y=30,w=kMax,h=80
		},
		
		Text
		{
			font = LevelCompletedShadowFont,
			name = "levelcompletedshadow",
			label = "levelcompleted",
			flags = kHAlignCenter + kVAlignTop,
			x=kLargeDialogLeftX+2,y=82,w=kLargeDialogWidth,h=40
		},
		
		Text
		{
			font = LevelCompletedFont,
			name = "levelcompleted",
			label = "levelcompleted",
			flags = kHAlignCenter + kVAlignTop,
			x=kLargeDialogLeftX,y=80,w=kLargeDialogWidth,h=40
		},
		
		Text
		{
			font = LevelScoreShadowFont,
			name = "levelscoreshadow",
			label = "levelscore",
			flags = kHAlignCenter + kVAlignTop,
			x=kLargeDialogLeftX+2,y=122,w=kLargeDialogWidth,h=40
		},
		
		Text
		{
			font = LevelScoreFont,
			name = "levelscore",
			label = "levelscore",
			flags = kHAlignCenter + kVAlignTop,
			x=kLargeDialogLeftX,y=120,w=kLargeDialogWidth,h=40
		},
		
		Text
		{
			font = BonusScoreShadowFont,
			name = "bonusscoreshadow",
			label = "bonusscore",
			flags = kHAlignCenter + kVAlignTop,
			x=kLargeDialogLeftX+2,y=152,w=kLargeDialogWidth,h=40
		},
		
		Text
		{
			font = BonusScoreFont,
			name = "bonusscore",
			label = "bonusscore",
			flags = kHAlignCenter + kVAlignTop,
			x=kLargeDialogLeftX,y=150,w=kLargeDialogWidth,h=40
		},
		
		Bitmap
		{ 
			image="backgrounds/artifacts-bb.png",	
			name="shapes",
			x=35,
			y=160,
			
			Text
			{
				font = StatFont,
				name = "shapescollected",
				label = "shapescollected",
				flags = kHAlignCenter + kVAlignTop,
				x=0,y=60,w=kMax,h=50
			},
			
			Text
			{
				font = StatFont,
				name = "timepershape",
				label = "timepershape",
				flags = kHAlignCenter + kVAlignTop,
				x=0,y=90,w=kMax,h=50
			},
		
		},
		
		Bitmap
		{ 
			image="backgrounds/artifacts-bb.png",	
			name="strategy",
			x=35,
			y=160,
			
			Text
			{
				font = StatFont,
				name = "strategylevelscore",
				label = "strategylevelscore",
				flags = kHAlignCenter + kVAlignTop,
				x=0,y=60,w=kMax,h=50
			},
			
			Text
			{
				font = StatFont,
				name = "trianglescollected",
				label = "trianglescollected",
				flags = kHAlignCenter + kVAlignTop,
				x=0,y=90,w=kMax,h=50
			},
		
		},
		
		
		Bitmap
		{ 
			image="backgrounds/artifacts-bb.png",	
			name="artifacts",
			x=35,
			y=180,
			
			Text
			{
				font = StatFont,
				name = "bestwheelbonus",
				label = "bestwheelbonus",
				flags = kHAlignCenter + kVAlignTop,
				x=0,y=10,w=kMax,h=50
			},
			
			Text
			{
				font = StatFont,
				name = "bestwheelbonusval",
				label = "bestwheelbonusval",
				flags = kHAlignLeft + kVAlignTop,
				x=100,y=40,w=kMax,h=50
			},
			
			Text
			{
				font = StatFont,
				name = "artifactscollected",
				label = "artifactscollected",
				flags = kHAlignCenter + kVAlignTop,
				x=0,y=70,w=kMax,h=50
			},
			
			Bitmap
			{
				image="backgrounds/hidden-artifact_icon.png",	
				name="crackedtricover",
				x=50,y=95	
			},
			
			Text
			{
				font = StatFont,
				name = "crackedtrival",
				label = "crackedtrival",
				flags = kHAlignLeft + kVAlignTop,
				x=80,y=110,w=kMax,h=50
			},
			
			Text
			{
				font = StatFont,
				name = "wheelval",
				label = "wheelval",
				flags = kHAlignLeft + kVAlignTop,
				x=160,y=110,w=kMax,h=50
			},
			
			Bitmap
			{
				image="backgrounds/hidden-artifact_icon.png",	
				name="bombvalcover",
				x=210,y=95	
			},
			Text
			{
				font = StatFont,
				name = "bombval",
				label = "bombval",
				flags = kHAlignLeft + kVAlignTop,
				x=240,y=110,w=kMax,h=50
			},
			
			Bitmap
			{
				image="backgrounds/hidden-artifact_icon.png",	
				name="redscarabcover",
				x=25,y=142,
				scale = 0.75	
			},
			Text
			{
				font = StatFont,
				name = "redscarabval",
				label = "redscarabval",
				flags = kHAlignLeft + kVAlignTop,
				x=45,y=150,w=kMax,h=50
			},
			
			Bitmap
			{
				image="backgrounds/hidden-artifact_icon.png",	
				name="bluescarabcover",
				x=100,y=142,
				scale = 0.75
			},
			
			Text
			{
				font = StatFont,
				name = "bluescarabval",
				label = "bluescarabval",
				flags = kHAlignLeft + kVAlignTop,
				x=120,y=150,w=kMax,h=50
			},
			
			Bitmap
			{
				image="backgrounds/hidden-artifact_icon.png",	
				name="greenscarabcover",
				x=175,y=142,
				scale = 0.75	
			},
			
			Text
			{
				font = StatFont,
				name = "greenscarabval",
				label = "greenscarabval",
				flags = kHAlignLeft + kVAlignTop,
				x=195,y=150,w=kMax,h=50
			},
			
			Bitmap
			{
				image="backgrounds/hidden-artifact_icon.png",	
				name="yellowscarabcover",
				x=250,y=142,
				scale = 0.75	
			},
			
			Text
			{
				font = StatFont,
				name = "yellowscarabval",
				label = "yellowscarabval",
				flags = kHAlignLeft + kVAlignTop,
				x=270,y=150,w=kMax,h=50
			},
		
		},
		
		Text
		{
			font = StatFont,
			name = "levelcompletedtime",
			label = "levelcompletedtime",
			flags = kHAlignLeft + kVAlignTop,
			x=85,y=375,w=kLargeDialogWidth,h=40
		},
		
			
		LevelOver
		{
			name="levelover",
			x=0,y=0,
			w=kMax,h=kMax,
			
			TriclopsButton 
			{
				x=141,
				y=405,
				Button{
					font = NormalButtonFont,
					graphics = NormalButtonGraphics,
					name="leveloverok",
					label="ok",
					type = kPush,
					scale = 0.61
				};
			},
		},
		
		
		
	}
}



