require( "scripts/style" );

PlaceholderFont = {
  standardFont,
  20,
  BlackColor
};

MakeDialog
{
	Bitmap
	{
		name="backgroundimage",
		image="backgrounds/fullscreendialog",
		x=0, y=0,
		
		DiaryWindow
		{
			x=0,
			y=0,
			w=1024,
			h=768,
		
			-- placeholder text instruct player to click on town to proceed to map
			-- remove later
			Text
			{
				name="title",
				--label="#Click town icon to proceed to map.",
				font=PlaceholderFont,
				flags=kHAlignCenter+kVAlignCenter,
				x=120, y=130,
				w=400, h=40
			},
			
			UIElements=
			{
				chapter_sketch={ x=716.0, y=360.0 },
				chapter_townlabel1={ x=570.0, y=570.0 },
				chapter_townlabel2={ x=642.0, y=570.0 },
				chapter_townlabel3={ x=714.0, y=570.0 },
				chapter_townlabel4={ x=786.0, y=570.0 },
				chapter_townlabel5={ x=858.0, y=570.0 },
				chapter_townlabeltext={ x=0.0, y=-6.0 }, --offset to parent label
				tab1={ x=920.0, y=150.0 },
				tab2={ x=920.0, y=254.0 },
				tab3={ x=920.0, y=358.0 },
				tab4={ x=920.0, y=462.0 },
				tab5={ x=920.0, y=566.0 },
				tab1text={ x=6.0, y=0.0 }, --offset to parent tab
				tab2text={ x=6.0, y=0.0 },
				tab3text={ x=6.0, y=0.0 },
				tab4text={ x=6.0, y=0.0 },
				tab5text={ x=6.0, y=0.0 },
				arrowleft={ x=184.0, y=124.0},
				arrowright={ x=848.0, y=124.0},
			},
			
			SetStyle( ButtonStyle ),
			
			Button
			{
				name="menu",
				label="menu",
				x=kMax-139, y=4,
				sound = "audio/sfx/click_menubutton.ogg",
				command=
					function()
						DisplayDialog{'scripts/pause.lua', showReplayButton=false, showDiaryButton=false};
					end
			},
			
			AddInvisiblePauseButton(false, false);
		}
	}
}

HideInvisiblePauseButton();