pause {
	width 1920
	height 1080
	left 0
	top 0
	font {
		name regular
		size 36
	}
	children {
		0 {
			type image
			top 97
			left 135
			src leftnav_1080.png
		}
		1a {
			type button
			top 286
			left 218
			width 287
			height 61
			text quick_save
			#action ui.save_state
			set_variables {
				save_action ui.save_state
			}
			topmenu saving
			on_up 8a
			show_if_not $comp_mode
		}
		1b {
			type label
			top 288
			left 220
			width 287
			height 61
			text quick_save
			text_color {
				r 128
				g 128
				b 128
				a 255
			}
			show_if $comp_mode
		}
		2a {
			type button
			top 358
			left 218
			width 287
			height 61
			text load_last
			action ui.load_last
			show_if_not $comp_mode
		}
		2b {
			type label
			top 360
			left 220
			width 287
			height 61
			text load_last
			text_color {
				r 128
				g 128
				b 128
				a 255
			}
			show_if $comp_mode
		}
		3a {
			type button
			top 430
			left 218
			width 287
			height 61
			text save
			submenu save
			show_if_not $comp_mode
		}
		3b {
			type label
			top 432
			left 220
			width 287
			height 61
			text save
			text_color {
				r 128
				g 128
				b 128
				a 255
			}
			show_if $comp_mode
		}
		4a {
			type button
			top 502
			left 218
			width 287
			height 61
			text load
			submenu load
			show_if_not $comp_mode
		}
		4b {
			type label
			top 504
			left 220
			width 287
			height 61
			text load
			text_color {
				r 128
				g 128
				b 128
				a 255
			}
			show_if $comp_mode
		}
		5a {
			type button
			top 574
			left 218
			width 287
			height 61
			text controls
			submenu controls
			show_if_not $comp_mode
		}
		5b {
			type button
			top 574
			left 218
			width 287
			height 61
			text controls
			submenu controls
			on_up 8b
			show_if $comp_mode
		}
		6 {
			type button
			top 646
			left 218
			width 287
			height 61
			text display_settings
			submenu display
		}
		7a {
			type button
			top 718
			left 218
			width 287
			height 61
			text restart
			action ui.reload
			show_if $show_restart
		}
		7b {
			type label
			top 720
			left 220
			width 287
			height 61
			text restart
			text_color {
				r 128
				g 128
				b 128
				a 255
			}
			show_if_not $show_restart
		}
		8a {
			type button
			top 790
			left 218
			width 287
			height 61
			text quit
			action ui.quit
			on_down 1a
			show_if_not $comp_mode
		}
		8b {
			type button
			top 790
			left 218
			width 287
			height 61
			text quit
			action ui.quit
			on_down 5b
			show_if $comp_mode
		}
		9 {
			type image
			top 984
			left 775
			src button_a_1080.png
			show_if_neq $active_submenu
			compare save
			compare2 load
			compare3 delete_save
		}
		A {
			type label
			top 1007
			left +68
			align left
			width 130
			text select
			show_if_neq $active_submenu
			compare save
			compare2 load
			compare3 delete_save
			font {
				name bold
				size 30
			}
		}
		B {
			type image
			top 984
			left +135
			src button_b_1080.png
			show_if_neq $active_submenu
			compare save
			compare2 load
			compare3 delete_save
		}
		C {
			type label
			top 1007
			left +69
			align left
			text back
			show_if_neq $active_submenu
			compare save
			compare2 load
			compare3 delete_save
			font {
				name bold
				size 30
			}
		}
		D {
			type image
			top 97
			left 578
			src displaysettings_1080.png
			show_if_eq $active_submenu
			compare display
		}
		E {
			type label
			top 162
			left 215
			width 280
			align left
			text menu
			font {
				name bold
				size 42
			}
		}
	}
	bgcolor {
		r 0
		g 0
		b 0
		a 176
	}
	cursor {
		src leftnav_cursor_1080.png
		left -22
		top -18
	}
}
save {
	width 1342
	height 1080
	left 578
	top 0
	font {
		name regular
		size 26
	}
	children {
		0 {
			type image
			top 97
			left 0
			src loadsave_1080.png
		}
		1 {
			type button
			image $slot1_image
			top 288
			left 86
			width 320
			height 180
			#action ui.save_state
			set_variables {
				save_action ui.save_state
			}
			topmenu saving
			on_right 3
			on_x {
				set_variables {
					delete_left 666
					delete_top 288
					delete_slot 1
				}
				submenu delete_save
			}
			on_left {
				submenu pop
			}
		}
		2 {
			type button
			image $slot4_image
			top 601
			left 86
			width 320
			height 180
			#action ui.save_state.4
			set_variables {
				save_action ui.save_state.4
			}
			topmenu saving
			on_right 4
			on_down 2
			on_x {
				set_variables {
					delete_left 666
					delete_top 601
					delete_slot 4
				}
				submenu delete_save
			}
			on_left {
				submenu pop
			}
		}
		3 {
			type button
			image $slot2_image
			top 288
			left 442
			width 320
			height 180
			#action ui.save_state.2
			set_variables {
				save_action ui.save_state.2
			}
			topmenu saving
			on_left 1
			on_right 5
			on_up 3
			on_x {
				set_variables {
					delete_left 1022
					delete_top 288
					delete_slot 2
				}
				submenu delete_save
			}
		}
		4 {
			type button
			image $slot5_image
			top 601
			left 442
			width 320
			height 180
			#action ui.save_state.5
			set_variables {
				save_action ui.save_state.5
			}
			topmenu saving
			on_left 2
			on_right 6
			on_down 4
			on_x {
				set_variables {
					delete_left 1022
					delete_top 601
					delete_slot 5
				}
				submenu delete_save
			}
		}
		5 {
			type button
			image $slot3_image
			top 288
			left 798
			width 320
			height 180
			#action ui.save_state.3
			set_variables {
				save_action ui.save_state.3
			}
			topmenu saving
			on_left 3
			on_up 5
			on_x {
				set_variables {
					delete_left 1378
					delete_top 288
					delete_slot 3
				}
				submenu delete_save
			}
		}
		6 {
			type button
			image $slot6_image
			top 601
			left 798
			width 320
			height 180
			#action ui.save_state.6
			set_variables {
				save_action ui.save_state.6
			}
			topmenu saving
			on_left 4
			on_x {
				set_variables {
					delete_left 1378
					delete_top 601
					delete_slot 6
				}
				submenu delete_save
			}
		}
		7 {
			type label
			top 525
			left 88
			width 320
			align centered
			text $slot1_time
		}
		8 {
			type label
			top 525
			left 444
			width 320
			align centered
			text $slot2_time
		}
		9 {
			type label
			top 525
			left 800
			width 320
			align centered
			text $slot3_time
		}
		A {
			type label
			top 838
			left 88
			width 320
			align centered
			text $slot4_time
		}
		B {
			type label
			top 838
			left 444
			width 320
			align centered
			text $slot5_time
		}
		C {
			type label
			top 838
			left 800
			width 320
			align centered
			text $slot6_time
		}
		C2 {
			type image
			top 984
			left 85
			src button_a_1080.png
		}
		C3 {
			type label
			top 1007
			left +68
			align left
			width 130
			text select
			font {
				name bold
				size 30
			}
		}
		C4 {
			type image
			top 984
			left +133
			src button_b_1080.png
		}
		C5 {
			type label
			top 1007
			left +69
			width 130
			align left
			text back
			font {
				name bold
				size 30
			}
		}
		D {
			type image
			top 984
			left +133
			src button_x_1080.png
		}
		E {
			type label
			top 1007
			left +69
			width 130
			align left
			text delete
			font {
				name bold
				size 30
			}
		}
		F {
			type label
			top 161
			left 80
			width 400
			text save_head
			font {
				name bold
				size 42
			}
		}
		G {
			type label
			text quick_save
			top 489
			left 88
			width 320
			align centered
			font {
				name bold
				size 31
			}
		}
		H {
			type label
			top 489
			left 444
			width 320
			align centered
			text slot2
			font {
				name bold
				size 31
			}
		}
		I {
			type label
			top 489
			left 800
			width 320
			align centered
			text slot3
			font {
				name bold
				size 31
			}
		}
		J {
			type label
			top 802
			left 88
			width 320
			align centered
			text slot4
			font {
				name bold
				size 31
			}
		}
		K {
			type label
			top 802
			left 444
			width 320
			align centered
			text slot5
			font {
				name bold
				size 31
			}
		}
		L {
			type label
			top 802
			left 800
			width 320
			align centered
			text slot6
			font {
				name bold
				size 31
			}
		}
	}
	cursor {
		src saveload_cursor_1080.png
		left -18
		top -17
	}
}
load {
	width 1342
	height 1080
	left 578
	top 0
	font {
		name regular
		size 26
	}
	children {
		0 {
			type image
			top 97
			left 0
			src loadsave_1080.png
		}
		1 {
			type button
			image $slot1_image
			top 288
			left 86
			width 320
			height 180
			action ui.load_state
			on_right 3
			on_x {
				set_variables {
					delete_left 666
					delete_top 288
					delete_slot 1
				}
				submenu delete_save
			}
			on_left {
				submenu pop
			}
		}
		2 {
			type button
			image $slot4_image
			top 601
			left 86
			width 320
			height 180
			action ui.load_state.4
			on_right 4
			on_down 2
			on_x {
				set_variables {
					delete_left 666
					delete_top 601
					delete_slot 4
				}
				submenu delete_save
			}
			on_left {
				submenu pop
			}
		}
		3 {
			type button
			image $slot2_image
			top 288
			left 442
			width 320
			height 180
			action ui.load_state.2
			on_left 1
			on_right 5
			on_up 3
			on_x {
				set_variables {
					delete_left 1022
					delete_top 288
					delete_slot 2
				}
				submenu delete_save
			}
		}
		4 {
			type button
			image $slot5_image
			top 601
			left 442
			width 320
			height 180
			action ui.load_state.5
			on_left 2
			on_right 6
			on_down 4
			on_x {
				set_variables {
					delete_left 1022
					delete_top 601
					delete_slot 5
				}
				submenu delete_save
			}
		}
		5 {
			type button
			image $slot3_image
			top 288
			left 798
			width 320
			height 180
			action ui.load_state.3
			on_left 3
			on_up 5
			on_x {
				set_variables {
					delete_left 1378
					delete_top 288
					delete_slot 3
				}
				submenu delete_save
			}
		}
		6 {
			type button
			image $slot6_image
			top 601
			left 798
			width 320
			height 180
			action ui.load_state.6
			on_left 4
			on_x {
				set_variables {
					delete_left 1378
					delete_top 601
					delete_slot 6
				}
				submenu delete_save
			}
		}
		7 {
			type label
			top 525
			left 88
			width 320
			align centered
			text $slot1_time
		}
		8 {
			type label
			top 525
			left 444
			width 320
			align centered
			text $slot2_time
		}
		9 {
			type label
			top 525
			left 800
			width 320
			align centered
			text $slot3_time
		}
		10 {
			type label
			top 838
			left 88
			width 320
			align centered
			text $slot4_time
		}
		11 {
			type label
			top 838
			left 444
			width 320
			align centered
			text $slot5_time
		}
		12 {
			type label
			top 838
			left 800
			width 320
			align centered
			text $slot6_time
		}
		C2 {
			type image
			top 984
			left 85
			src button_a_1080.png
		}
		C3 {
			type label
			top 1007
			left +68
			align left
			width 130
			text select
			font {
				name bold
				size 30
			}
		}
		C4 {
			type image
			top 984
			left +133
			src button_b_1080.png
		}
		C5 {
			type label
			top 1007
			left +69
			width 130
			align left
			text back
			font {
				name bold
				size 30
			}
		}
		D {
			type image
			top 984
			left +133
			src button_x_1080.png
		}
		E {
			type label
			top 1007
			left +69
			width 130
			align left
			text delete
			font {
				name bold
				size 30
			}
		}
		F {
			type label
			top 161
			left 80
			width 400
			text load_head
			font {
				name bold
				size 42
			}
		}
		G {
			type label
			text quick_save
			top 489
			left 88
			width 320
			align centered
			font {
				name bold
				size 31
			}
		}
		H {
			type label
			top 489
			left 444
			width 320
			align centered
			text slot2
			font {
				name bold
				size 31
			}
		}
		I {
			type label
			top 489
			left 800
			width 320
			align centered
			text slot3
			font {
				name bold
				size 31
			}
		}
		J {
			type label
			top 802
			left 88
			width 320
			align centered
			text slot4
			font {
				name bold
				size 31
			}
		}
		K {
			type label
			top 802
			left 444
			width 320
			align centered
			text slot5
			font {
				name bold
				size 31
			}
		}
		L {
			type label
			top 802
			left 800
			width 320
			align centered
			text slot6
			font {
				name bold
				size 31
			}
		}
	}
	cursor {
		src saveload_cursor_1080.png
		left -18
		top -17
	}
}
controls {
	width 1342
	height 1080
	left 578
	top 0
	font {
		name regular
		size 26
	}
	on_left {
		submenu pop
	}
	children {
		0 {
			type image
			top 97
			left 0
			src displaysettings_1080.png
		}
		1 {
			type image
			top 375
			left 380
			src controller_1080.png
		}
		2 {
			type image
			top 364
			left 352
			src redline_l2_1080.png
			show_if $action_l2
		}
		3 {
			type image
			top 431
			left 352
			src redline_dpad_1080.png
			show_if $action_dpad
		}
		4 {
			type image
			top 524
			left 352
			src redline_select_1080.png
			show_if $action_select
		}
		5 {
			type image
			top 302
			left 451
			src redline_l1_1080.png
			show_if $action_l1
		}
		6 {
			type image
			top 302
			left 539
			src redline_start_1080.png
			show_if $action_start
		}
		7 {
			type image
			top 499
			left 714
			src redline_x_1080.png
			show_if $action_x
		}
		8 {
			type image
			top 302
			left 737
			src redline_r1_1080.png
			show_if $action_r1
		}
		9 {
			type image
			top 529
			left 747
			src redline_a_1080.png
			show_if $action_a
		}
		A {
			type image
			top 364
			left 762
			src redline_r2_1080.png
			show_if $action_r2
		}
		B {
			type image
			top 447
			left 768
			src redline_y_1080.png
			show_if $action_y
		}
		C {
			type image
			top 495
			left 790
			src redline_b_1080.png
			show_if $action_b
		}
		D {
			type label
			top 355
			left 65
			width 280
			align right
			text $action_l2
			show_if $action_l2
		}
		E {
			type label
			top 464
			left 65
			width 280
			align right
			text $action_dpad
		}
		F {
			type label
			top 553
			left 65
			width 280
			align right
			text $action_select
		}
		G {
			type label
			top 291
			left 164
			width 280
			align right
			text $action_l1
		}
		H {
			type label
			top 291
			left 555
			width 280
			align left
			text $action_start
		}
		I {
			type label
			top 623
			left 401
			width 280
			align right
			text $action_x
		}
		J {
			type label
			top 291
			left 753
			width 280
			align left
			text $action_r1
		}
		K {
			type label
			top 623
			left 820
			width 280
			align left
			text $action_a
		}
		L {
			type label
			top 355
			left 850
			width 280
			align left
			text $action_r2
		}
		M {
			type label
			top 439
			left 850
			width 280
			align left
			text $action_y
		}
		N {
			type label
			top 530
			left 850
			width 280
			align left
			text $action_b
		}
		O {
			type multi
			top 730
			left 545
			width 240
			height 66
			choices {
				0 layout1
				1 layout2
				2 layout3
			}
			setting mapping
			font {
				name regular
				size 36
			}
			show_if $show_button_mapping_ui
		}
		P {
			type label
			top 161
			left 80
			width 400
			text controls_head
			font {
				name bold
				size 42
			}
		}
		Q {
			type image
			top 710
			left 416
			src controls_select_1080.png
			show_if $show_button_mapping_ui
		}
		S {
			type image
			top 210
			left 82
			src hr_1080.png
		}
	}
	cursor {
		src controls_cursor_1080.png
		left -68
		top -11
	}
}
display_preview {
	base_width 400
	base_height 225
	base_left 720
	base_top 121
	bezel_top 827
}
display {
	width 1342
	height 817
	left 578
	top 127
	font {
		name regular
		size 31
	}
	on_left {
		submenu pop
	}
	scrollable yes
	children {
		1 {
			type image
			top 22
			left 64
			src displaysettings_section_1080.png
		}
		2 {
			type image
			top 375
			left 64
			src displaysettings_section_1080.png
			show_if_not $rend_eco_mode
		}
		3 {
			type button
			top 133
			left 88
			width 353
			height 66
			text orig_size
			setting video.aspect
			value original
			setting2 video.integer_scaling
			value2 off
		}
		4 {
			type button
			top 202
			left 88
			width 353
			height 66
			text integer_scale
			setting video.integer_scaling
			value on
			setting2 video.aspect
			value2 original
		}
		5 {
			type button
			top 271
			left 88
			width 353
			height 66
			text full_screen
			setting video.aspect
			value stretch
			setting2 video.integer_scaling
			value2 off
		}
		6 {
			type image
			top 121
			left 720
			src framebuffer
			width 400
			height 225
			config_eq video.aspect
			compare stretch
		}
		7 {
			type image
			top 121
			left $orig_left
			src framebuffer
			width $orig_width
			height 225
			config_eq video.aspect
			compare original
			config_eq2 video.integer_scaling
			compare2 off
		}
		8 {
			type button
			top 486
			left 88
			width 353
			height 66
			text none
			setting video.fragment_shader
			value default.f.glsl
			show_if_not $rend_eco_mode
		}
		88 {
			type image
			top -12
			left 720
			width 400
			height 225
			crop center
			src framebuffer
			show_if_not $rend_eco_mode
		}
		9 {
			type button
			top +81
			left 88
			width 353
			height 66
			text subtle
			setting video.fragment_shader
			value scanlines.f.glsl
			show_if_not $rend_eco_mode
		}
		A {
			type button
			top +69
			left 88
			width 353
			height 66
			text strong
			setting video.fragment_shader
			value scanlines_intense.f.glsl
			show_if_not $rend_eco_mode
		}
		B {
			type image
			top $integer_top
			left $integer_left
			src framebuffer
			width $integer_width
			height $integer_height
			config_eq video.integer_scaling
			compare on
		}
		C {
			type image
			top 727
			left 64
			src displaysettings_section_1080.png
			show_if_not $rend_eco_mode
		}
		D {
			type image
			top 826
			left 720
			src @video.backdrop
			width 400
			height 225
			show_if_not $rend_eco_mode
		}
		D2 {
			type image
			top 826
			left $orig_left
			src framebuffer
			width $orig_width
			height 225
			config_eq video.aspect
			compare original
			config_eq2 video.integer_scaling
			compare2 off
			show_if_not $rend_eco_mode
		}
		D3 {
			type image
			top $integer_top_bezel
			left $integer_left
			src framebuffer
			width $integer_width
			height $integer_height
			config_eq video.integer_scaling
			compare on
			show_if_not $rend_eco_mode
		}
		D4 {
			type image
			top 826
			left 720
			src framebuffer
			width 400
			height 225
			config_eq video.aspect
			compare stretch
			show_if_not $rend_eco_mode
		}
		E {
			type button
			top +11
			left -633
			width 353
			height 66
			text none
			setting video.backdrop
			value off
			show_if_not $rend_eco_mode
		}
		F {
			type button
			top +69
			left +0
			width 353
			height 66
			text bezel_vs
			setting video.backdrop
			value cobalt1080_bezel_VS.png
			show_if_not $rend_eco_mode
		}
		G {
			type button
			top +69
			left +0
			width 353
			height 66
			text bezel_origin
			setting video.backdrop
			value cobalt1080_bezel_EvercadeOrigin.png
			show_if_not $rend_eco_mode
		}
		H {
			type button
			top +69
			left +0
			width 353
			height 66
			text bezel_wire
			setting video.backdrop
			value cobalt1080_bezel_Wireframe.png
			show_if_not $rend_eco_mode
		}
		I {
			type button
			top +69
			left +0
			width 353
			height 66
			text bezel_lotf
			setting video.backdrop
			value cobalt1080_bezel_RachidLotf.png
			show_if_not $rend_eco_mode
		}
		J {
			type button
			top +69
			left +0
			width 353
			height 66
			text bezel_logo
			setting video.backdrop
			value cobalt1080_bezel_LogoLegeneds.png
			show_if_not $rend_eco_mode
		}
		K {
			type button
			top +69
			left +0
			width 353
			height 66
			text bezel_box
			setting video.backdrop
			value cobalt1080_bezel_BoxArt.png
			show_if_not $rend_eco_mode
		}
		L {
			type label
			top 37
			left 84
			text aspect
			width 400
			font {
				name bold
				size 42
			}
		}
		M {
			type label
			top 390
			left 84
			text shaders
			width 400
			font {
				name bold
				size 42
			}
			show_if_not $rend_eco_mode
		}
		N {
			type label
			top 742
			left 84
			text bezels
			width 400
			font {
				name bold
				size 42
			}
			show_if_not $rend_eco_mode
		}
	}
	cursor {
		src displaysettings_cursor_1080.png
		left -19
		top -14
	}
}
delete_save {
	width 324
	height 184
	left $delete_left
	top $delete_top
	submenu_pop_on_reload on
	children {
		0 {
			type image
			top 0
			left 0
			src delete_save_pixel.png
			width 320
			height 180
		}
		1 {
			type button
			left 96
			top 100
			text no
			align centered
			width 50
			height 20
			on_right 2
			on_down 1
			submenu pop
		}
		2 {
			type button
			left 175
			top 100
			text yes
			align centered
			width 50
			height 20
			on_up 2
			on_left 1
			submenu pop
			action ui.delete_state.$delete_slot
		}
		3 {
			type label
			left 11
			top 42
			width 300
			text delete_save
			align centered
			font {
				name regular
				size 44
			}

		}
	}
	cursor {
		src delete_save_cursor_1080.png
		left -10
		top -5
	}
	#font not actually used ATM, but needed to make things work
	font {
		name bold
		size 31
	}
}
saving {
	width 1920
	height 1080
	top 0
	left 0
	children {
		0 {
			type image
			top 887
			left 1752
			src save_indicator_1080.png
		}
		1 {
			type instant
			action $save_action
		}
	}
}
fonts {
	regular {
		file Aero Matics Regular.ttf
		sizes 26 31 36 44
	}
	bold {
		file Aero Matics Bold.ttf
		sizes 30 31 32 33 34 35 36 42
	}
	line_spacing 0.9
}
style {
	button_color {
		r 0
		g 0
		b 0
		a 0
	}
	button_hover_color {
		r 0
		g 0
		b 0
		a 0
	}
	button_text_selected_color {
		r 135
		g 220
		b 255
		a 255
	}
	button_text_hover_color {
		r 255
		g 255
		b 255
		a 255
	}
	button_text_inactive {
		r 240
		g 240
		b 240
		a 255
	}
	window_color {
		r 0
		g 0
		b 0
		a 0
	}
}
