require( "scripts/style.lua" );



TitleFont = {
  standardFont,
  32,
  RedColor
};

CustomerTypeFont = {
	standardFont,
	17,
	RedColor
};

CustomerTypeStyle = {
	parent = DefaultStyle,
	font = CustomerTypeFont,
	w = 200,
	h = 200,
	flags = kHAlignLeft + kVAlignTop,
};

CustomerDescripFont = {
	standardFont,
	13,
	BorderColor
};

CustomerDescripStyle = {
	parent = DefaultStyle,
	font = CustomerDescripFont,
	w = 200,
	h = 200,
	flags = kHAlignLeft + kVAlignTop,
};


MakeDialog
{
	Bitmap
	{
		name="backgroundimage",
		image="backgrounds/fullscreendialog",
		x=0,y=0,w=kMax,h=kMax,
		
		Text
		{
			font = TitleFont,
			name = "title",
			x=0,y=30,w=kMax,h=80,
			flags = kHAlignCenter + kVAlignTop,
			label = "customertypes"
		};
		

		SetStyle(CustomerTypeStyle);
		
		Text
		{
			label = "younglady",
			x = 112,
			y = 88,
		};
		
		Text
		{
			label = "family",
			x = 396,
			y = 88,
		};
		
		Text
		{
			label = "cellphoneaddict",
			x = 100,
			y = 241,
		};
		
		Text
		{
			label = "bookworm",
			x = 327,
			y = 241,
		};
		
		Text
		{
			label = "lovebirds",
			x = 580,
			y = 241,
		};
		
		Text
		{
			label = "kindlysenior",
			x = 635,
			y = 88,
		};
		
		
		
		Text
		{
			label = "jogger",
			x = 102,
			y = 381,
		};
		
		Text
		{
			label = "businesswoman",
			x = 347,
			y = 381,
		};
		
		Text
		{
			label = "tourists",
			x = 575,
			y = 381,
		};
		
		SetStyle(DefaultStyle);
		
		SetStyle(CustomerDescripStyle);
		
		Text
		{
			label = "younglady_descrip",
			x = 112,
			y = 108,
		};
		
		Text
		{
			label = "family_descrip",
			x = 396,
			y = 108,
		};
		
		Text
		{
			label = "cellphoneaddict_descrip",
			x = 100,
			y = 261,
		};
		
		Text
		{
			label = "bookworm_descrip",
			x = 327,
			y = 261,
		};
		
		Text
		{
			label = "lovebirds_descrip",
			x = 580,
			y = 261,
		};
		
		Text
		{
			label = "kindlysenior_descrip",
			x = 635,
			y = 108,
		};
		
		Text
		{
			label = "jogger_descrip",
			x = 102,
			y = 401,
		};
		
		Text
		{
			label = "businesswoman_descrip",
			x = 347,
			y = 401,
		};
		
		Text
		{
			label = "tourist_descrip",
			x = 575,
			y = 401,
		};
		
		SetStyle(DefaultStyle);
		
		AnimWindow
		{
			x = 83,
			y = 140,
			anim = "customers/young_female/anim.anm",
			texture = "anim.png?palettized",
			palette = "customers/young_female/blue.pal",
			script = "Stand",
		};
		
		AnimWindow
		{
			x = 319,
			y = 155,
			anim = "customers/kid_male/anim.anm",
			texture = "anim.png?palettized",
			palette = "customers/kid_male/green.pal",
			script = "Stand",
		};
		
		AnimWindow
		{
			x = 346,
			y = 145,
			anim = "customers/mom_female/anim.anm",
			texture = "anim.png?palettized",
			palette = "customers/mom_female/purple.pal",
			script = "Stand",
		};
		
		AnimWindow
		{
			x = 376,
			y = 138,
			anim = "customers/dad_male/anim.anm",
			texture = "anim.png?palettized",
			palette = "customers/dad_male/yellow.pal",
			script = "Stand",
		};
		
		AnimWindow
		{
			x = 69,
			y = 290,
			anim = "customers/cellphone_male/anim.anm",
			texture = "anim.png?palettized",
			palette = "customers/cellphone_male/red.pal",
			script = "Stand",
		};
		
		AnimWindow
		{
			x = 298,
			y = 290,
			anim = "customers/bookworm_female/anim.anm",
			texture = "anim.png?palettized",
			palette = "customers/bookworm_female/green.pal",
			script = "Stand",
		};
		
		AnimWindow
		{
			x = 525,
			y = 290,
			anim = "customers/lovebird_male/anim.anm",
			texture = "anim.png?palettized",
			palette = "customers/lovebird_male/yellow.pal",
			script = "Stand",
		};
		
		AnimWindow
		{
			x = 560,
			y = 290,
			anim = "customers/lovebird_female/anim.anm",
			texture = "anim.png?palettized",
			palette = "customers/lovebird_female/red.pal",
			script = "Stand",
		};
		
		AnimWindow
		{
			x = 616,
			y = 145,
			anim = "customers/old_male/anim.anm",
			texture = "anim.png?palettized",
			palette = "customers/old_male/blue.pal",
			script = "Stand",
		};
		
		AnimWindow
		{
			x = 74,
			y = 434,
			anim = "customers/fitness_female/anim.anm",
			texture = "anim.png?palettized",
			palette = "customers/fitness_female/purple.pal",
			script = "Stand",
		};
		
		AnimWindow
		{
			x = 318,
			y = 434,
			anim = "customers/business_female/anim.anm",
			texture = "anim.png?palettized",
			palette = "customers/business_female/yellow.pal",
			script = "Stand",
		};
		
		AnimWindow
		{
			x = 520,
			y = 434,
			anim = "customers/tourist_male/anim.anm",
			texture = "anim.png?palettized",
			palette = "customers/tourist_male/green.pal",
			script = "Stand",
		};
		
		AnimWindow
		{
			x = 555,
			y = 434,
			anim = "customers/tourist_female/anim.anm",
			texture = "anim.png?palettized",
			palette = "customers/tourist_female/blue.pal",
			script = "Stand",
		};
		

		
		SetStyle(SmallestButtonStyle);
		Button
		{
			x=kCenter,
			y=540,
			name="back",
			label="back",
			command=
				function()
					SetTopModalOnly(false);
					ActivateHelpClock(false);
					PopModal();
				end
		},
		SetStyle(DefaultStyle);
		
		
		Button
		{
			x=45,
			y=530,
			graphics = LeftArrowGraphics,
			name="right",
			type = kPush,
			command=
				function()
					SetTopModalOnly(false);
					SwapToModalSetName("scripts/help3.lua");
				end
		},
			
	},
	
};

ActivateHelpClock(true);
SetTopModalOnly(true);