require "scripts/style"

MakeDialog
{
	-- Name the modal dialog
	name="gameOutro",
	Bitmap
	{
		image="backgrounds/blackbcg",
		x = kCenter,
		y = kCenter,
        
        outroWindow{
			x = 0, y = 0, w=kMax, h=kMax,        
-- layer 0
            Bitmap
			{
				name="outroBck",
				image="backgrounds/outro/o_00_bckgrnd",
				x=0,   --90,
				y=0, --735,
			};
-- layer 1
            Bitmap
			{
				name="outroSelimiyeRebuilt",
				image="backgrounds/outro/o_05_selimiye_rebuilt",
				x=0,   --90,
				y=0, --735,
			};
-- layer 2
            Bitmap
			{
				name="outroPisaRebuilt",
				image="backgrounds/outro/o_06_pisa_rebuilt",
				x=0,   --90,
				y=0, --735,
			};
-- layer 3
            Bitmap
			{
				name="outroEasterRebuilt",
				image="backgrounds/outro/o_04_easter_rebuilt",
				x=0,   --90,
				y=0, --735,
			};
-- layer 4
            Bitmap
			{
				name="outroPisaCollapsed",
				image="backgrounds/outro/o_01_pisa_collapsed",
				x=0,   --90,
				y=0, --735,
			};
-- layer 5
            Bitmap
			{
				name="outroSydneyCollapsed",
				image="backgrounds/outro/o_02_sydney_collapsed",
				x=0,   --90,
				y=0, --735,
			};
-- layer 6
            Bitmap
			{
				name="outroSydneyRebuilt",
				image="backgrounds/outro/o_08_sydney_rebuilt",
				x=0,   --90,
				y=0, --735,
			};
-- layer 7
            Bitmap
			{
				name="outroBigBenCollapsed",
				image="backgrounds/outro/o_03_big_ben_collapsed",
				x=0,   --90,
				y=0, --735,
			};
-- layer 8
            Bitmap
			{
				name="outroBigBenRebuilt",
				image="backgrounds/outro/o_07_big_ben_rebuilt",
				x=0,   --90,
				y=0, --735,
			};
-- black background
            Bitmap
			{
				name="blackBck",
				image="backgrounds/blackbcg",
				x=0,   --90,
				y=0, --735,
			};
-- outro text
			Text
			{
				name = "outroText",
                align=kHAlignLeft,
				font = StandardButtonFontFour,--StandardButtonFontHuge,
				x=kCenter,
                y=kCenter-300,
                w=900, h=100,
				flags = kHAlignCenter + kVAlignCenter,
				label = "outroText00"
			};                
--[[
-- back button
            SetStyle(SmallEmptyRoundButtonStyle),
            Button
            {
                x = kCenter,
                y = kMax-80,
                name="outroEnd",
                label="ok",
                close=true,
                cancel=true,
                default=true,
                type = kPush,
                command=
                    function()
                        CloseWindow(false);
                    end	    
            },      --]]      
        }
    },
}


