root
{	
	componenttype=panel
	state = visible		
	ico_h = 47 
	ico_w = 47
	ship_h = 68
	ship_w = 106
	ship_top = 4
	ship_margin = 5
	block = 48
	load_w = 7
	ship_stat_w = 32
	ship_cont_w = 150
	ship_stat_bar_marg = 3
	ship_stat_bar_h = 33
	flag_width = root.block
	flag_height = root.block/2
	marg = 10
	timer_width = 96
	x = 0
	y = 0
	height = screen.height
	width = screen.width
	
	pnl_playerscores
	{
		componenttype = panel
		picpos = 0,0,0,0
		x = root.x + root.width*0.5 - pnl_playerscores.width
		y = pnl_scoreboard.y 
		width = 400
		height = root.block * 7
		render = 9000
		
		lbl_score_title
		{
			componenttype = label
			render = 9010
			x = pnl_playerscores.x 
			y = pnl_playerscores.y + 20
			width = pnl_playerscores.width
			height = 20
			font = fnt_score
			aligntext = center
			state = visible
			caption = "test"
		}
		lbl_score_title_shadow
		{
			componenttype = label
			render = 9009
			x = lbl_score_title.x + 2
			y = lbl_score_title.y + 2
			width = lbl_score_title.width
			height = 20
			font = fnt_score_shadow
			aligntext = center
			state = visible
			caption = "test"
		}
		
		
		top
		{
			componenttype = panel
			picfile = Data\GUI\menu_elements.dds
			picpos = 13,6,this.width,this.height
			height = root.block*3
		}
		middle
		{
			y = top.y + top.height
			tiledpic = true
			componenttype = panel
			picfile = Data\GUI\menu_elements.dds
			picpos = 13,10,this.width,root.block
			height = root.block*2
		}
		bottom
		{
			y = middle.y + middle.height
			componenttype = panel
			picfile = Data\GUI\menu_elements.dds
			picpos = 13,10,this.width,this.height
			height = 113
		}
		
		lbl_score
		{
			componenttype = label
			render = 9030
			x = middle.x + 50
			y = middle.y - 20
			width = 180
			height = 30
			font = fnt_highscore_name
			aligntext = left
			state = visible
			cliptext = true
			caption = str_LEVEL_SCORE_SCORE
		}
		lbl_score_amount
		{
			componenttype = label
			render = 9030
			x = lbl_score.x + lbl_score.width + 20
			y = lbl_score.y 
			width = 100
			height = 30
			font = fnt_highscore_name
			aligntext = left
			state = visible
			cliptext = true
			caption = "1"
		}
		lbl_score_best
		{
			componenttype = label
			render = 9030
			x = lbl_score.x 
			y = lbl_score.y + 40
			width = 180
			height = 30
			font = fnt_highscore_name
			aligntext = left
			state = visible
			cliptext = true
			caption = str_LEVEL_SCORE_PERSONAL
		}
		lbl_score_best_amount
		{
			componenttype = label
			render = 9030
			x = lbl_score_best.x + lbl_score_best.width + 20
			y = lbl_score_best.y 
			width = 100
			height = 30
			font = fnt_highscore_name
			aligntext = left
			state = visible
			cliptext = true
			caption = "2"
		}						
	}
	
	pnl_new_highscore
	{
		componenttype = frame
		framefile = Data\Locales\en\BasePopup.txt
		picpos = 0,0,0,0
		x = root.x + root.width*0.5 - pnl_new_highscore.width*0.5
		y = root.y + root.height*0.5 - pnl_new_highscore.height*0.5
		width = 600
		height = root.block * 7
		render = 9900
		
		bg_click_killer
		{
			componenttype = panel
			x = 0
			y = 0
			width = screen.width 
			height = screen.height
			render = 1
			picfile = Data\GUI\menu_image.dds
			picpos = 13,1,48,48			
			tiledpic = true
		}
		
		lbl_highscore_title
		{
			componenttype = label
			render = 9910
			x = pnl_new_highscore.x 
			y = pnl_new_highscore.y + 33
			width = pnl_new_highscore.width
			height = 20
			font = fnt_score
			aligntext = center
			state = visible
			caption = str_CONGRATS
		}
		lbl_highscore_title_shadow
		{
			componenttype = label
			render = 9909
			x = lbl_highscore_title.x + 2
			y = lbl_highscore_title.y + 2
			width = lbl_highscore_title.width
			height = 20
			font = fnt_score_shadow
			aligntext = center
			state = visible
			caption = str_CONGRATS
		}
		lbl_highscore_desc
		{
			componenttype = label
			render = 9909
			x = pnl_new_highscore.x + 20
			y = pnl_new_highscore.y + 100
			width = pnl_new_highscore.width - 40
			height = 110
			font = fnt_highscore_name
			aligntext = left
			state = visible
			cliptext = true
			wordbreak = true
			caption = str_NEW_HIGHSCORE
		}

		edit_player_name
		{
			picfile = Data\GUI\menu_image.dds
			picpos = 11,11,300,55
			render = 9990
			componenttype = editbox
			font = fnt_highscore_name
			x = pnl_new_highscore.x + 140
			y = lbl_highscore_desc.y + lbl_highscore_desc.height
			height = 55
			width =  300
			cliptext = true
			aligntext = center
		}		
				
		btn_send
		{
			render = 9999
			componenttype = frame
			framefile = Data\Locales\en\MenuItem.txt
			width = 336
			height = 48
			x = pnl_new_highscore.x + pnl_new_highscore.width*0.5 - btn_send.width*0.5	
			y = pnl_new_highscore.y + pnl_new_highscore.height - 60
			caption = str_CONTINUE
		}				
	}
	
	
	btn_continue
	{
		render = 9200
		componenttype = frame
		framefile = Data\Locales\en\MenuItem.txt
		width = 336
		height = 48
		x = pnl_playerscores.x + pnl_playerscores.width*0.5 - btn_continue.width*0.5	
		y = pnl_playerscores.y + pnl_playerscores.height - 90
		caption = str_CONTINUE
	}
	
	
	pnl_scoreboard
	{
		componenttype = panel
		picpos = 0,0,0,0
		x = root.x + root.width*0.5
		y = root.y + root.height*0.5 - pnl_scoreboard.height*0.5
		width = 400
		height = 735
		render = 9000
		
		lbl_online
		{
			componenttype = label
			render = 9010
			x = pnl_scoreboard.x 
			y = pnl_scoreboard.y + 20
			width = pnl_scoreboard.width
			height = 20
			font = fnt_score
			aligntext = center
			state = visible
			caption = str_MENU_SCOREBOARD
		}
		lbl_online_shadow
		{
			componenttype = label
			render = 9009
			x = lbl_online.x + 2
			y = lbl_online.y + 2
			width = lbl_online.width
			height = 20
			font = fnt_score_shadow
			aligntext = center
			state = visible
			caption = str_MENU_SCOREBOARD
		}
		
		lbl_score_type
		{
			componenttype = label
			render = 9010
			x = pnl_scoreboard.x 
			y = pnl_scoreboard.y + 60
			width = pnl_scoreboard.width
			height = 20
			font = fnt_score_multiplier
			aligntext = center
			state = visible
			caption = "type"
		}
		lbl_score_type_shadow
		{
			componenttype = label
			render = 9009
			x = lbl_score_type.x + 2
			y = lbl_score_type.y + 2
			width = lbl_score_type.width
			height = 20
			font = fnt_score_multiplier_shadow
			aligntext = center
			state = visible
			caption = "type"
		}
		
		
		top
		{
			componenttype = panel
			picfile = Data\GUI\menu_elements.dds
			picpos = 13,6,this.width,this.height
			height = root.block*3
		}
		middle
		{
			y = top.y + top.height
			tiledpic = true
			componenttype = panel
			picfile = Data\GUI\menu_elements.dds
			picpos = 13,10,this.width,root.block
			height = root.block*9
		}
		bottom
		{
			y = middle.y + middle.height
			componenttype = panel
			picfile = Data\GUI\menu_elements.dds
			picpos = 13,9,this.width,this.height
			height = 161
		}
	}
		
	
	frame_scores
	{	
		render = 9030
		componenttype = panel
		picpos = 0,0,0,0
		x = pnl_scoreboard.x + 40
		y = pnl_scoreboard.y + 130
		width = 320
		height = 560
		score_1
		{
			render = 9040
			componenttype = frame
			framefile = Data\Locales\en\ScoreItem.txt
			x = frame_scores.x 
			y = frame_scores.y
			height = 48
			width = 320
		}
		score_2
		{
			render = 9040
			componenttype = frame
			framefile = Data\Locales\en\ScoreItem.txt
			x = frame_scores.x 
			y = score_1.y + score_1.height
			height = 48
			width = 320
		}
		score_3
		{
			render = 9040
			componenttype = frame
			framefile = Data\Locales\en\ScoreItem.txt
			x = frame_scores.x 
			y = score_2.y + score_2.height
			height = 48
			width = 320
		}
		score_4
		{
			render = 9040
			componenttype = frame
			framefile = Data\Locales\en\ScoreItem.txt
			x = frame_scores.x 
			y = score_3.y + score_3.height
			height = 48
			width = 320
		}
		score_5
		{
			render = 9040
			componenttype = frame
			framefile = Data\Locales\en\ScoreItem.txt
			x = frame_scores.x 
			y = score_4.y + score_4.height
			height = 48
			width = 320
		}
		score_6
		{
			render = 9040
			componenttype = frame
			framefile = Data\Locales\en\ScoreItem.txt
			x = frame_scores.x 
			y = score_5.y + score_5.height
			height = 48
			width = 320
		}
		score_7
		{
			render = 9040
			componenttype = frame
			framefile = Data\Locales\en\ScoreItem.txt
			x = frame_scores.x 
			y = score_6.y + score_6.height
			height = 48
			width = 320
		}
		score_8
		{
			render = 9040
			componenttype = frame
			framefile = Data\Locales\en\ScoreItem.txt
			x = frame_scores.x 
			y = score_7.y + score_7.height
			height = 48
			width = 320
		}
		score_9
		{
			render = 9040
			componenttype = frame
			framefile = Data\Locales\en\ScoreItem.txt
			x = frame_scores.x 
			y = score_8.y + score_8.height
			height = 48
			width = 320
		}
		score_10
		{
			render = 9040
			componenttype = frame
			framefile = Data\Locales\en\ScoreItem.txt
			x = frame_scores.x 
			y = score_9.y + score_9.height
			height = 48
			width = 320
		}
		
		score_you
		{
			render = 9040
			componenttype = frame
			framefile = Data\Locales\en\ScoreItem.txt
			x = frame_scores.x 
			y = score_10.y + score_10.height + 20
			height = 48
			width = 320
		}
	}
	
	
		
	
		
}
