require( "screens/style.lua" )


TitleFont = {
  standardFont,
  70,
  YellowColor
};

TitleShadowFont = {
  standardFont,
  70,
  BlackColor
};

BodyFont = {
  standardFont,
  24,
  YellowColor
};

VersionFont = {
	standardFont,
	12,
	WhiteColor
};

MakeDialog
{
	Bitmap
	{ 
		image="backgrounds/full_screen_dialog.jpg",	

		Text
		{
			font = TitleShadowFont,
			name = "titleshadow",
			x=kCenter+1,y=61,w=kMax ,h=75,
			flags = kHAlignCenter + kVAlignTop,
			label = "credits"
		};
		
		Text
		{
			font = TitleFont,
			name = "title",
			x=kCenter,y=60,w=kMax ,h=75,
			flags = kHAlignCenter + kVAlignTop,
			label = "credits"
		};
		
		Bitmap
		{
			image = "backgrounds/bar.jpg",
			x = kCenter,
			y = 123,
		},

		CreditsWindow
		{
			x = 0,
			y = 100,
			width = 800,
			height = 400
		},
				
		TriclopsButton
		{
			x=kCenter-54,
			y=500,
			Button{
				font = NormalButtonFont,
				graphics = NormalButtonGraphics,
				name="ok",
				label="ok",
				type = kPush,
				close = true,
				scale = 0.61
			};
		},
		
		
		Text
		{
			font = VersionFont,
			name = "version",
			x=50,y=540,w=kMax ,h=75,
			flags = kHAlignLeft + kVAlignTop,
			label = "1.0"
		};
		
	}
}



