require "scripts/style";

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

		peg1_x = 135 + 149/2.0,
		peg1_y = 501 + 147/2.0,

		peg2_x = 213 + 156/2.0,
		peg2_y = 385 + 156/2.0,

		peg3_x = 354 + 190/2.0,
		peg3_y = 382 + 191/2.0,

		peg4_x = 317 + 188/2.0,
		peg4_y = 213 + 188/2.0,

		peg5_x = 193 + 147/2.0,
		peg5_y = 183 + 145/2.0,

		tutypos=45.0,
				
		SetStyle(ButtonStyle),
		Button
		{
			graphics = { "buttons/buttonup","buttons/buttonrollover","buttons/buttondown" },
			label = "MG_Skip",
			name = "mg_skip_button",
			font = {standardFont,40,WhiteColor},
			x=kCenter+380,
			y=682,
			close = true,
			command=function() SendGameMessage("_:Exit Minigame:Finished"); end;
		},
		Button
		{
			graphics = { "buttons/buttonup","buttons/buttonrollover","buttons/buttondown" },
			label = "MG_Menu",
			name = "mg_menu_button",
			font = {standardFont,40,WhiteColor},
			x=kCenter-380,
			y=682,
			command=function() DoModal('scripts/mng_pause.lua') 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;
--		},

	}
}

SetWindowVisible("mg_skip_button",false);