require "scripts/style";

MakeDialog
{
	name="MngHanoiWindow",
	MngHanoiWindow
	{
		x=0,
		y=0,
		w=1024,
		h=768,

		tower1_x = 163 + 175/2.0,
		tower1_y = 221 + 240/2.0,

		tower2_x = 409 + 155/2.0,
		tower2_y = 222 + 212/2.0,

		tower3_x = 731 + 160/2.0,
		tower3_y = 222 + 218/2.0,

		tower4_x = 520 + 180/2.0,
		tower4_y = 222 + 249/2.0,
				
		SetStyle(ButtonStyle),
				Button
		{
			graphics = { "buttons/buttondown","buttons/buttonrollover","buttons/buttonup" },
			label = "MG_Skip",
			name = "mg_skip_button",
			font = {standardFont,40,WhiteColor},
			x=693,
			y=682,
			close = true,
			command=function() SendGameMessage("_:Exit Minigame:Finished"); end;
		},
--		Button
--		{
--			graphics = { "buttons/buttondown","buttons/buttonrollover","buttons/buttonup" },
--			label = "MG_Reset",
--			name = "mg_reset_button",
--			font = {standardFont,40,WhiteColor},
--			x=kCenter,
--			y=682,
--			command=function() ResetMinigame() end;
--		},
		Button
		{
			graphics = { "buttons/buttondown","buttons/buttonrollover","buttons/buttonup" },
			label = "MG_Menu",
			name = "mg_menu_button",
			font = {standardFont,40,WhiteColor},
			x=129,
			y=682,
			command=function() DoModal('scripts/mng_pause.lua') end;
		},

	}
}

SetWindowVisible("mg_skip_button",false);