require( "scripts/style.lua" );

Page1BottomTextFont = {
	minionproFont,
	26,
	Color(0,0,0,255),
}

Page2TitleFont = {
	oldsansblackFont,
	30,
	Color(153,0,0,255),
};

TasksFont = {
	oldsansblackFont,
	22,
	Color(0,0,0,255),
};

DayFont = {
	oldsansblackFont,
	55,
	Color(0,0,0,255),
};

DadFont = {
	oldsansblackFont,
	18,
	Color(63,110,206,255),
};

MomFont = {
	oldsansblackFont,
	18,
	Color(215,46,193,255),
};

SheetFont = {
	oldsansblackFont,
	30,
	Color(0,0,0,255),
};

sheet1_x = 180;
sheet_y = 22;
space_x = 110;

MakeDialog
{
	name = "familyend",
	Bitmap
	{
align=kHAlignLeft + kVAlignTop,
		name = "bg",
		image = "gui/nanny_guide/common/back",
		x = 0,
		y = 0,
		alpha = 0.99,
	},
	Bitmap
		{
	align=kHAlignLeft + kVAlignTop,
			name = "sheet1",
			image = "gui/day_start/riped_sheet",
			x = sheet1_x,
			y = sheet_y,
			SetStyle(DialogBodyText),
			Text
			{
				name = "daytxt",
				label = "day3",
				x = 28,
				y = 36,
				w = 118,
				h = 69,
				font = SheetFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "daytxtsheet1",
				label = "#1",
				x = 47,
				y = 67,
				w = 49,
				h = 55,
				font = SheetFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			Bitmap
			{
				align=kHAlignLeft + kVAlignTop,
				name = "done2",
				image = "gui/day_start/done",
				x = 58,
				y = 55,
				scale = 0.30
			}
		},
		Bitmap
		{
	align=kHAlignLeft + kVAlignTop,
			name = "sheet2",
			image = "gui/day_start/riped_sheet",
			x = sheet1_x + space_x,
			y = sheet_y,
			SetStyle(DialogBodyText),
			Text
			{
				name = "daytxt",
				label = "day3",
				x = 28,
				y = 36,
				w = 118,
				h = 69,
				font = SheetFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "daytxtsheet2",
				label = "#2",
				x = 47,
				y = 67,
				w = 49,
				h = 55,
				font = SheetFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			Bitmap
			{
				align=kHAlignLeft + kVAlignTop,
				name = "done2",
				image = "gui/day_start/done",
				x = 58,
				y = 55,
				scale = 0.30
			}
		},
		Bitmap
		{
	align=kHAlignLeft + kVAlignTop,
			name = "sheet3",
			image = "gui/day_start/riped_sheet",
			x = sheet1_x + 2 * space_x,
			y = sheet_y,
			SetStyle(DialogBodyText),
			Text
			{
				name = "daytxt",
				label = "day3",
				x = 28,
				y = 36,
				w = 118,
				h = 69,
				font = SheetFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "daytxtsheet3",
				label = "#3",
				x = 47,
				y = 67,
				w = 49,
				h = 55,
				font = SheetFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			Bitmap
			{
				align=kHAlignLeft + kVAlignTop,
				name = "done3",
				image = "gui/day_start/done",
				x = 58,
				y = 55,
				scale = 0.30
			},
		},
		Bitmap
		{
	align=kHAlignLeft + kVAlignTop,
			name = "sheet4",
			image = "gui/day_start/riped_sheet",
			x = sheet1_x + 3 * space_x,
			y = sheet_y,
			SetStyle(DialogBodyText),
			Text
			{
				name = "daytxt",
				label = "day3",
				x = 28,
				y = 36,
				w = 118,
				h = 69,
				font = SheetFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "daytxtsheet4",
				label = "#4",
				x = 47,
				y = 67,
				w = 49,
				h = 55,
				font = SheetFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			Bitmap
			{
				align=kHAlignLeft + kVAlignTop,
				name = "done4",
				image = "gui/day_start/done",
				x = 58,
				y = 55,
				scale = 0.30
			},
		},
		Bitmap
		{
	align=kHAlignLeft + kVAlignTop,
			name = "sheet5",
			image = "gui/day_start/riped_sheet",
			x = sheet1_x + 4 * space_x,
			y = sheet_y,
			SetStyle(DialogBodyText),
			Text
			{
				name = "daytxt",
				label = "day3",
				x = 28,
				y = 36,
				w = 118,
				h = 69,
				font = SheetFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "daytxtsheet5",
				label = "#5",
				x = 47,
				y = 67,
				w = 49,
				h = 55,
				font = SheetFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			Bitmap
			{
				align=kHAlignLeft + kVAlignTop,
				name = "done5",
				image = "gui/day_start/done",
				x = 58,
				y = 55,
				scale = 0.30
			},
		},
		Bitmap
		{
	align=kHAlignLeft + kVAlignTop,
			name = "sheet6",
			image = "gui/day_start/riped_sheet",
			x = sheet1_x + 5 * space_x,
			y = sheet_y,
			SetStyle(DialogBodyText),
			Text
			{
				name = "daytxt",
				label = "day3",
				x = 28,
				y = 36,
				w = 118,
				h = 69,
				font = SheetFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			SetStyle(DialogBodyText),
			Text
			{
				name = "daytxtsheet6",
				label = "#6",
				x = 47,
				y = 67,
				w = 49,
				h = 55,
				font = SheetFont,
				flags = kHAlignLeft+kVAlignTop,
			},
			Bitmap
			{
				align=kHAlignLeft + kVAlignTop,
				name = "done6",
				image = "gui/day_start/done",
				x = 58,
				y = 55,
				scale = 0.30
			},
		},
	FamilyEnd
	{
align=kHAlignLeft + kVAlignTop,
		name = "bg",
		image = "backgrounds/nanny_manual",
		x = 0,
		y = 0,
		alpha = 0.99,
		SetStyle(DialogBodyText),
		Bitmap
		{
			name = "circle",
			image = "gui/nanny_guide/common/circulo",
			x = 43,
			y = 69,
			scale = 1.00
		},
		Bitmap
		{
			name = "title",
			image = "gui/nanny_guide/common/title",
			x = 547,
			y = 274,
			scale = 1.00,
			SetStyle(DialogBodyText),
			Text
			{
				name = "title",
				label = "nanny_advice",
				x = 76,
				y = 14,
				w = 280,
				h = 45,
				font = Page2TitleFont,
				flags = kHAlignCenter+kVAlignCenter,
			}
		},
		Button
		{
			name = "ok",
			x = 0,
			y = 0,
			w = 1024,
			h = 768,
			--graphics = BigButtonGraphics,
			--MenuButtonLabel(10, 3, 8, 3, "ok", oldsansblackFont, 20, Color(135,32,33,255), Color(44,76,60,255), Color(83,119,101,255)),
			--close = true,
			command =
				function()
					--QuitToMainMenu();					
					PopModal("gamestatus");
					PopModal("familyend");
					SwapToModal("scripts/minigame.lua");
				end
		},
		SetStyle(DialogBodyText),
		Text
		{
			name = "page1txt",
			label = "ngf1d5p1bt",
			x = 102,
			y = 257,
			w = 290,
			h = 300,
			font = Page1BottomTextFont,
			flags = kHAlignLeft+kVAlignCenter,
		},
		SetStyle(DialogBodyText),
		Text
		{
			name = "text1",
			label = "natext1",
			x = 559,
			y = 185,
			w = 250,
			h = 80,
			font = TasksFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		SetStyle(DialogBodyText),
		Text
		{
			name = "text2",
			label = "natext2",
			x = 565,
			y = 372,
			w = 350,
			h = 73,
			font = TasksFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		SetStyle(DialogBodyText),
		Text
		{
			name = "text3",
			label = "matchobjects",
			x = 761,
			y = 469,
			w = 150,
			h = 60,
			font = TasksFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		SetStyle(DialogBodyText),
		Text
		{
			name = "daytxt",
			label = "day3",
			x = 59,
			y = 86,
			w = 118,
			h = 69,
			font = DayFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		SetStyle(DialogBodyText),
		Text
		{
			name = "daytxt2",
			label = "#7",
			x = 93,
			y = 145,
			w = 49,
			h = 55,
			font = DayFont,
			flags = kHAlignLeft+kVAlignTop,
		},
		SetStyle(DialogBodyText),
		Text
		{
			name = "clickanywhere",
			label = "clickanywhere",
			x = 627,
			y = 691,
			w = 411,
			h = 22,
			font = {
				oldsansblackFont,
				20,
				Color(255,255,255,255),
			};
			flags = kHAlignLeft+kVAlignTop,
		},
		Bitmap
		{
			name = "minigame",
			image = "gui/family_end/minigame",
			x = 582,
			y = 467,
			scale = 1.00
		},
		Bitmap
		{
			name = "done",
			image = "gui/day_start/done",
			x = 97,
			y = 63,
			scale = 1.00
		}
	}
}
