require( "scripts/style.lua" );

MakeDialog
{
	-- Name the modal dialog
	name="CreditsWindow",
	Bitmap
	{
		image="backgrounds/credits",
		x = kCenter, y = kCenter,

--		Text
--		{
--			font = {  standardFont,  34,  WhiteColor},
--			name = "title",
--			x=kCenter,y=150,w=kMax ,h=75,
--			flags = kHAlignCenter + kVAlignTop,
--			label = "credits"
--		};
--
		CreditsWindow
		{
			x = 0, y = 0, w=kMax,h=kMax,
			font = standardFont,
			fontsize = 22,
			fontcolor = WhiteColor,
			headercolor = WhiteColor,
			columngap = 1,
			columnwidth = 220,
			time = 80000, 		-- Time to play credits in milliseconds
			intropause = 4000, 	-- Time to pause credits at start, in ms
			file = "credits/credits.txt",
			textrect="33,102,270,200",
			butok ="b_ok;190,310,127,47;fonts/arial.mvec;215,215,215,255;255,255,255,255;23;buttons/b_ok;buttons/b_ok_pressed;buttons/b_ok_mouseover",	
			shadow ="backgrounds/sh1;0,0,1024,768;0.3;0.8",
		},
	},
}