
require( "screens/style.lua" );

HeaderFont = {
  standardFont,
  48,
  YellowColor
};


HeaderShadowFont = {
  standardFont,
  48,
  BlackColor
};

MyFont = {
  standardFont,
  30,
  YellowColor
};

OptionsFont = {
  standardFont,
  18,
  YellowColor
};

PauseButtonFont = {
  standardFont,
  28,
  ButtonTextColor
};

MakeDialog
{
	Bitmap
	{ 
		image="backgrounds/large_dialog.jpg",
		x=kLargeDialogX,
		y=kLargeDialogY,
		
		Text
		{
			font = HeaderShadowFont,
			name = "pause",
			x=2,y=31,w=kMax,h=kMax,
			flags = kHAlignCenter + kVAlignTop,
			label = "gamepaused"
		};
		
		Text
		{
			font = HeaderFont,
			name = "pause",
			x=0,y=30,w=kMax,h=kMax,
			flags = kHAlignCenter + kVAlignTop,
			label = "gamepaused"
		};
		
		
		TriclopsButton
		{
			x=kCenter-82,
			y=80,
			Button{
				font = PauseButtonFont,
				graphics = NormalButtonGraphics,
				name="instructions",
				label="help",
				type = kPush,
				scale = 0.9
			};
		},
		
		TriclopsButton
		{
			x=kCenter-82,
			y=72,
			Button{
				font = PauseButtonFont,
				graphics = NormalButtonGraphics,
				name="instructions_story",
				label="help",
				type = kPush,
				scale = 0.9
			};
		},
		
		TriclopsButton
		{
			x=kCenter-82,
			y=150,
			Button{
				font = PauseButtonFont,
				graphics = NormalButtonGraphics,
				name="map",
				label="map",
				type = kPush,
				scale = 0.9
			};
		},
		
		TriclopsButton
		{
			x=kCenter-82,
			y=180,
			Button{
				font = PauseButtonFont,
				graphics = NormalButtonGraphics,
				name="options",
				label="options",
				type = kPush,	
				scale = 0.9
			};
		},
		
		TriclopsButton
		{
			x=kCenter-82,
			y=228,
			Button{
				font = PauseButtonFont,
				graphics = NormalButtonGraphics,
				name="options_story",
				label="options",
				type = kPush,	
				scale = 0.9
			};
		},
		
		
		
		
		TriclopsButton
		{
			x=kCenter-82,
			y=280,
			Button{
				font = PauseButtonFont,
				graphics = NormalButtonGraphics,
				name="quit",
				label="",
				type = kPush,
				scale = 0.9,
				Text
				{
					font = PauseButtonFont,
					name="quitgamelabel1",
					label="quitgamelabel1",
					x=0,
					y=15,
					w=kMax,
					h=30,
					flags = kHAlignCenter + kVAlignTop
				},
				Text
				{
					font = PauseButtonFont,
					name="backtogamelabel2",
					label="quitgamelabel2",
					x=0,
					y=36,
					w=kMax,
					h=30,
					flags = kHAlignCenter + kVAlignTop
				},
			};
		},
		
		TriclopsButton
		{
			x=kCenter-82,
			y=306,
			Button{
				font = PauseButtonFont,
				graphics = NormalButtonGraphics,
				name="quit_story",
				label="",
				type = kPush,
				scale = 0.9,
				Text
				{
					font = PauseButtonFont,
					name="quitgamelabel1",
					label="quitgamelabel1",
					x=0,
					y=15,
					w=kMax,
					h=30,
					flags = kHAlignCenter + kVAlignTop
				},
				Text
				{
					font = PauseButtonFont,
					name="backtogamelabel2",
					label="quitgamelabel2",
					x=0,
					y=36,
					w=kMax,
					h=30,
					flags = kHAlignCenter + kVAlignTop
				},
			};
		},
		
		TriclopsButton
		{
			x=kCenter-82,
			y=380,
			Button{
				font = PauseButtonFont,
				graphics = NormalButtonGraphics,
				name="resume",
				label="",
				type = kPush,
				scale = 0.9,
				Text
				{
					font = PauseButtonFont,
					name="backtogamelabel1",
					label="backtogamelabel1",
					x=0,
					y=15,
					w=kMax,
					h=30,
					flags = kHAlignCenter + kVAlignTop
				},
				Text
				{
					font = PauseButtonFont,
					name="backtogamelabel2",
					label="backtogamelabel2",
					x=0,
					y=36,
					w=kMax,
					h=30,
					flags = kHAlignCenter + kVAlignTop
				},
			};
		},
		
		TriclopsButton
		{
			x=kCenter-82,
			y=384,
			Button{
				font = PauseButtonFont,
				graphics = NormalButtonGraphics,
				name="resume_story",
				label="",
				type = kPush,
				scale = 0.9,
				Text
				{
					font = PauseButtonFont,
					name="backtogamelabel1",
					label="backtogamelabel1",
					x=0,
					y=15,
					w=kMax,
					h=30,
					flags = kHAlignCenter + kVAlignTop
				},
				Text
				{
					font = PauseButtonFont,
					name="backtogamelabel2",
					label="backtogamelabel2",
					x=0,
					y=36,
					w=kMax,
					h=30,
					flags = kHAlignCenter + kVAlignTop
				},
			};
		}
	}
}



