root
{	
	componenttype=panel
	state = visible		
	block = 48
	marg = 10
	x = 0
	y = 0
	width = screen.width
	height = screen.height
	
	
	pnl_bg
	{
		componenttype = panel
		x = root.x
		y = root.y
		width = screen.width 
		height = screen.height
		render = 0	
		picfile = Data\GUI\menu_image.dds
		picpos = 13,1,48,48			
		tiledpic = true
	}
	
	/////////////////////////////////////////// Main buttons /////////////////////////////////////////////////////
	pnl_title
	{
		render = 3
		componenttype = panel
		picfile = Data\GUI\menu_images.dds
		width = root.block*11.5
		height = root.block*5
		picpos = 0,0,pnl_title.width,pnl_title.height
		x = screen.width*0.5 - pnl_title.width *0.5
		y = root.y + root.height*0.5 - 360
		
	}
	
	
	pnl_main_buttons
	{
		x = 0
		y = 0
		componenttype = panel
		picpos = 0,0,0,0
		
		btn_btn_0
		{
			idx = 0
			render = 9999
			componenttype = frame
			framefile = Data\Locales\en\MenuItem.txt
			width = 336
			height = 48
			x = root.x + root.width*0.5 - btn_btn_0.width*0.5	
			y = btn_btn_1.y - 60
			caption = str_RESUME
		}
		btn_btn_1
		{
			idx = 1
			render = 9999
			componenttype = frame
			framefile = Data\Locales\en\MenuItem.txt
			width = 336
			height = 48
			x = btn_btn_0.x
			y = btn_btn_2.y - 60
			caption = str_EXIT_TO_MENU		
		}
		btn_btn_2
		{
			idx = 1
			render = 9999
			componenttype = frame
			framefile = Data\Locales\en\MenuItem.txt
			width = 336
			height = 48
			x = btn_btn_0.x
			y = root.y + root.height*0.5 - btn_btn_2.height*0.5
			caption = str_EXIT_TO_WINDOWS
			
		}
		btn_btn_3
		{
			idx = 1
			render = 9999
			componenttype = frame
			framefile = Data\Locales\en\MenuItem.txt
			width = 336
			height = 48
			x = btn_btn_0.x
			y = btn_btn_2.y + 60
			caption = str_MENU_OPTIONS		
		}
	}
	pnl_options
	{
		x = 0
		y = 0
		componenttype = panel
		picpos = 0,0,0,0
		
		options_title
		{
			componenttype = label
			render = 9000
			x = root.x + root.width*0.5 - options_title.width*0.5
			y = root.y + root.height*0.5 - options_title.height*0.5 - 195
			width = 336
			height = 40
			font = fnt_score_shadow
			aligntext = center
			state = visible
			caption = str_MENU_OPTIONS
			
			options_title_shadow
			{
				componenttype = label
				render = 9001
				x = options_title.x
				y = options_title.y + 2
				width = options_title.width
				height = 40
				font = fnt_score
				aligntext = center
				caption = str_MENU_OPTIONS
				state = visible
			}	
		}
		
		master_volume 
		{
			componenttype = label
			render = 9000
			x = options_title.x 
			y = options_title.y + 60
			width = 336
			height = 80
			font = fnt_checkbox_shadow
			aligntext = center
			state = visible
			caption = str_MASTER_VOLUME	
			
			master_volume_lbl
			{
				componenttype = label
				render = 9001
				x = master_volume.x - 2
				y = master_volume.y - 2
				width = 336
				height = 40
				font = fnt_checkbox
				aligntext = center
				state = visible
				caption = str_MASTER_VOLUME
			}
			
			slider_master_volume
			{	
				render = 9002
				componenttype = slider
				x = master_volume.x 
				y = master_volume.y + 30
				width = 336
				height = 25	
				minvalue = 0
				maxvalue = 100
				
				left_col = 9
				left_row = 19
				
				mid_col = 10
				mid_row = 19
				
				right_col = 15
				right_row = 19
				
				marker_col = 14
				marker_row = 20
				
				markerwidth = 24
				markerheight= 24
				
				step = 1
				picfile = Data\GUI\menu_elements.dds
				picpos = 14,20,root.block,root.block
				endwidth = 32
			}
			
		}
		
		sound_volume
		{
			componenttype = label
			render = 9000
			x = options_title.x 
			y = master_volume.y + master_volume.height
			width = 336
			height = 80
			font = fnt_checkbox_shadow
			aligntext = center
			state = visible
			caption = str_SOUND_FX_VOLUME	
			
			sound_volume_lbl
			{
				componenttype = label
				render = 9001
				x = sound_volume.x - 2
				y = sound_volume.y - 2
				width = 336
				height = 40
				font = fnt_checkbox
				aligntext = center
				state = visible
				caption = str_SOUND_FX_VOLUME
			}
			
			slider_sound_volume
			{	
				render = 9002
				componenttype = slider
				x = sound_volume.x 
				y = sound_volume.y + 30
				width = 336
				height = 25	
				minvalue = 0
				maxvalue = 100
				
				left_col = 9
				left_row = 19
				
				mid_col = 10
				mid_row = 19
				
				right_col = 15
				right_row = 19
				
				marker_col = 14
				marker_row = 20
				
				markerwidth = 24
				markerheight= 24
				
				step = 1
				picfile = Data\GUI\menu_elements.dds
				picpos = 14,20,root.block,root.block
				endwidth = 32
			}
		}
			
		music_volume
		{
			componenttype = label
			render = 9000
			x = options_title.x 
			y = sound_volume.y + sound_volume.height
			width = 336
			height = 80
			font = fnt_checkbox_shadow
			aligntext = center
			state = visible
			caption = str_MUSIC_VOLUME	
			
			music_volume_lbl
			{
				componenttype = label
				render = 9001
				x = music_volume.x - 2
				y = music_volume.y - 2
				width = 336
				height = 40
				font = fnt_checkbox
				aligntext = center
				state = visible
				caption = str_MUSIC_VOLUME
			}
			
			slider_music_volume
			{	
				render = 9002
				componenttype = slider
				x = music_volume.x 
				y = music_volume.y + 30
				width = 336
				height = 25	
				minvalue = 0
				maxvalue = 100
				
				left_col = 9
				left_row = 19
				
				mid_col = 10
				mid_row = 19
				
				right_col = 15
				right_row = 19
				
				marker_col = 14
				marker_row = 20
				
				markerwidth = 24
				markerheight= 24
				
				step = 1
				picfile = Data\GUI\menu_elements.dds
				picpos = 14,20,root.block,root.block
				endwidth = 32
			}
		}
		btn_btn_4
		{
			idx = 1
			render = 9999
			componenttype = frame
			framefile = Data\Locales\en\MenuItem.txt
			width = 336
			height = 48
			x = music_volume.x
			y = music_volume.y + music_volume.height + 10
			caption = str_MENU_BACK		
		}
	
	}
		
}
