-- --------------------------------------------------------------------------
-- Copyright © 2008 PlayFirst, Inc. All Rights Reserved.
--
-- This material is the confidential trade secret and proprietary
-- information of PlayFirst, Inc. It may not be reproduced, used, disclosed,
-- sold or transferred without the prior written consent of PlayFirst, Inc. 
-- All rights reserved.
-- --------------------------------------------------------------------------
dofile( "scripts/help_style.lua" );



kPicture1x		= kTextHeaderX;
kPicturey		= 122;
kPicture2x		= 430;
kSpacePicturex	= 145;

MakeDialog
{
	-- Name the modal dialog
	name="help2",
	Bitmap
	{
		image="images/backgrounds/bgpopup01",
		x=kCenter,
		y=kCenter,
		
		SetStyle(FitnessButtonStyleTittleSmallBlue),
	
		Bitmap
		{
			image="images/ui/common/popup05",
			x=0,
			y=0,
		};
		Text
		{
			font = BigPopupFont,
			x=kCenter,
			y=kTitleY,
			w=kMax,h=45,
			flags = kHAlignCenter + kVAlignCenter,
			label = "help",
		};
		Text
		{
			font = PopupFont,
			x=kTextHeaderX,
			y=kTextHeaderY,
			w=kMax,h=45,
			flags = kHAlignLeft + kVAlignCenter,
			label = "help_header_seating",
		};
		Bitmap
		{
			image="images/ui/help/box03-page02-04",
			x=kPicture1x,
			y=kPicturey,
		};
		Bitmap
		{
			image="images/ui/help/box03-page02-01",
			x=kPicture1x+kSpacePicturex,
			y=kPicturey,
		};
		Bitmap
		{
			image="images/ui/help/box03-page02-02",
			x=kPicture2x,
			y=kPicturey,
		};
		Bitmap
		{
			image="images/ui/help/box03-page02-03",
			x=kPicture2x+kSpacePicturex,
			y=kPicturey,
		};
		Text
		{
			font = NormalHelpFont,
			x=kTextHeaderX+10,
			y=kTextHeaderY+kSpacePicturex-5,
			w=280,h=45,
			flags = kHAlignLeft + kVAlignCenter,
			label = "help_seating_text_1",
		};
		Text
		{
			font = NormalHelpFont,
			x=kPicture2x+5,
			y=kTextHeaderY+kSpacePicturex,
			w=260,h=45,
			flags = kHAlignLeft + kVAlignCenter,
			label = "help_seating_text_2",
		};
		
		Text
		{
			font = NormalHelpFont,
			x=kPicture2x+5,
			y=kCenter,
			w=260,h=65,
			flags = kHAlignLeft + kVAlignTop,
			label = "help_seating_text_5",
		};
		
--Stretch mat
		Bitmap
		{
			image="images/ui/help/stretchmathelp",
			x=kPicture1x+405,
			y=kCenter+60,
			--scale = 0.7
		};
		Text
		{
			font = NormalHelpFont,
			x=kPicture2x+5,
			y=kCenter+100,
			w=260,h=45,
			flags = kHAlignLeft + kVAlignCenter,
			label = "help_seating_text_6",
		};
--Shower
		Bitmap
		{
			image="images/ui/help/shower01",
			x=kPicture1x+105,
			y=kCenter+5,
			scale = 0.7
		};
		Bitmap
		{
			image="images/ui/help/arrow01",
			x=kPicture1x+40,
			y=kCenter+25
		};
		Text
		{
			font = NormalHelpFont,
			x=kTextHeaderX+10,
			y=kCenter+90,
			w=270,h=45,
			flags = kHAlignLeft + kVAlignBottom,
			label = "help_seating_text_4",
		};
		Bitmap
		{
			image="images/ui/buttons/box05",
			x=kTextHeaderX+10,
			y=kCenter+160,
			Text
			{
				font = NormalHelpFont,
				x=10,
				y=5,
				w=kMax,h=45,
				flags = kHAlignLeft + kVAlignCenter,
				label = "help_seating_text_3",
			};
		};

--//Back
		SBButton
		{
			x=kButtonX,
			y=kButtonY,
			
			icon="assets/images/ui/buttons/icon/iconback",
			command=
				function()
					-- Our game provides this call--it's not a Playground
					-- call.
                    SwapToModal("scripts/help1.lua");
				end
		},
		Text
		{
			font = SmallFont,
			x=kButtonX,
			y=kButtonY+kTextY,
			flags = kHAlignCenter + kVAlignCenter,
			label = "common.back.label",
		};
--Next
		SBButton
		{
			x=kButtonX+kButtonSpaceX,
			y=kButtonY,
			
			icon="assets/images/ui/buttons/icon/iconplay",
			command=
				function()
					-- Our game provides this call--it's not a Playground
					-- call.
                    SwapToModal("scripts/help3.lua");
				end
		},
		Text
		{
			font = SmallFont,
			x=kButtonX+kButtonSpaceX,
			y=kButtonY+kTextY,
			flags = kHAlignCenter + kVAlignCenter,
			label = "next",
		};
--Paginate
		Text
		{
			font = SmallFontBlack,
			flags = kHAlignCenter + kVAlignCenter,
			x=kPaginateX,
			y=kPaginateY,
			w=kMax,h=30,
			
			label = "help_paginate_2",
		};
	}
}

