pause {
	width 484
	height 272
	left 0
	top 0
	font {
		name regular
		size 18
	}
	children {
		1a {
			type button
			top 42
			left 14
			width 110
			height 15
			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 44
			left 16
			width 110
			height 15
			text quick_save
			text_color {
				r 128
				g 128
				b 128
				a 255
			}
			show_if $comp_mode
		}
		2a {
			type button
			top 68
			left 14
			width 113
			height 15
			text load_last
			action ui.load_last
			show_if_not $comp_mode
		}
		2b {
			type label
			top 70
			left 16
			width 113
			height 15
			text load_last
			text_color {
				r 128
				g 128
				b 128
				a 255
			}
			show_if $comp_mode
		}
		3a {
			type button
			top 94
			left 14
			width 110
			height 15
			text save
			submenu save
			show_if_not $comp_mode
		}
		3b {
			type label
			top 96
			left 16
			width 110
			height 15
			text save
			text_color {
				r 128
				g 128
				b 128
				a 255
			}
			show_if $comp_mode
		}
		4a {
			type button
			top 120
			left 14
			width 110
			height 15
			text load
			submenu load
			show_if_not $comp_mode
		}
		4b {
			type label
			top 122
			left 16
			width 110
			height 15
			text load
			text_color {
				r 128
				g 128
				b 128
				a 255
			}
			show_if $comp_mode
		}
		5a {
			type button
			top 146
			left 14
			width 110
			height 15
			text controls
			submenu controls
			show_if_not $comp_mode
		}
		5b {
			type button
			top 146
			left 14
			width 110
			height 15
			text controls
			submenu controls
			on_up 8b
			show_if $comp_mode
		}
		6 {
			type button
			top 172
			left 14
			width 110
			height 15
			text display_settings
			submenu display
		}
		7a {
			type button
			top 198
			left 14
			width 110
			height 15
			text restart
			action ui.reload
			show_if $show_restart
		}
		7b {
			type label
			top 200
			left 16
			width 110
			height 15
			text restart
			text_color {
				r 128
				g 128
				b 128
				a 255
			}
			show_if_not $show_restart
		}
		8a {
			type button
			top 224
			left 14
			width 110
			height 15
			text quit
			action ui.quit
			on_down 1a
			show_if_not $comp_mode
		}
		8b {
			type button
			top 224
			left 14
			width 110
			height 15
			text quit
			action ui.quit
			on_down 5b
			show_if $comp_mode
		}
		E {
			type image
			top 0
			left 0
			src $battery_image
		}
	}
	bgcolor {
		r 0
		g 0
		b 0
		a 200
	}
	cursor {
		src leftnav_cursor_272.png
		left -5
		top -3
	}
}
save {
	width 338
	height 272
	left 146
	top 0
	font {
		name regular
		size 16
	}
	children {
		0 {
			type image
			top 62
			left 0
			height 156
			width 315
			src loadsave_272.png
		}
		S {
			type image
			top 56
			left 3
			height 1
			width 308
			src hr_272.png
		}
		1 {
			type button
			image $slot1_image
			top 65
			left 3
			width 93
			height 56
			#action ui.save_state
			set_variables {
				save_action ui.save_state
			}
			topmenu saving
			on_right 3
			on_x {
				set_variables {
					delete_left 152
					delete_top 68
					delete_slot 1
				}
				submenu delete_save
			}
			on_left {
				submenu pop
			}
		}
		2 {
			type button
			image $slot4_image
			top 158
			left 3
			width 93
			height 56
			#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 152
					delete_top 160
					delete_slot 4
				}
				submenu delete_save
			}
			on_left {
				submenu pop
			}
		}
		3 {
			type button
			image $slot2_image
			top 65
			left 112
			width 92
			height 56
			#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 260
					delete_top 68
					delete_slot 2
				}
				submenu delete_save
			}
		}
		4 {
			type button
			image $slot5_image
			top 158
			left 112
			width 92
			height 56
			#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 260
					delete_top 160
					delete_slot 5
				}
				submenu delete_save
			}
		}
		5 {
			type button
			image $slot3_image
			top 65
			left 219
			width 93
			height 56
			#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 367
					delete_top 68
					delete_slot 3
				}
				submenu delete_save
			}
		}
		6 {
			type button
			image $slot6_image
			top 158
			left 219
			width 93
			height 56
			#action ui.save_state.6
			set_variables {
				save_action ui.save_state.6
			}
			topmenu saving
			on_left 4
			on_x {
				set_variables {
					delete_left 367
					delete_top 160
					delete_slot 6
				}
				submenu delete_save
			}
		}
		7 {
			type label
			top 138
			left 8
			width 81
			align centered
			text $slot1_time
		}
		8 {
			type label
			top 138
			left 116
			width 81
			align centered
			text $slot2_time
		}
		9 {
			type label
			top 138
			left 223
			width 81
			align centered
			text $slot3_time
		}
		A {
			type label
			top 231
			left 8
			width 81
			align centered
			text $slot4_time
		}
		B {
			type label
			top 231
			left 116
			width 81
			align centered
			text $slot5_time
		}
		C {
			type label
			top 231
			left 223
			width 81
			align centered
			text $slot6_time
		}
		D {
			type image
			top 237
			left 295
			src button_x_272.png
		}
		E {
			type label
			top 246
			left 235
			width 60
			align right
			text delete
			font {
				name regular
				size 16
			}
		}
		F {
			type label
			top 32
			left 4
			width 200
			text save_head
			font {
				name bold
				size 20
			}
		}
		G {
			type label
			text quick_save
			top 122
			left 8
			width 81
			align centered
			font {
				name regular
				size 16
			}
		}
		H {
			type label
			top 122
			left 116
			width 81
			align centered
			text slot2
			font {
				name regular
				size 16
			}
		}
		I {
			type label
			top 122
			left 223
			width 81
			align centered
			text slot3
			font {
				name regular
				size 16
			}
		}
		J {
			type label
			top 216
			left 8
			width 81
			align centered
			text slot4
			font {
				name regular
				size 16
			}
		}
		K {
			type label
			top 216
			left 116
			width 81
			align centered
			text slot5
			font {
				name regular
				size 16
			}
		}
		L {
			type label
			top 216
			left 223
			width 81
			align centered
			text slot6
			font {
				name regular
				size 16
			}
		}
	}
	cursor {
		src saveload_cursor_272.png
		left -3
		top -3
	}
}
load {
	width 338
	height 272
	left 146
	top 0
	font {
		name regular
		size 16
	}
	children {
		0 {
			type image
			top 62
			left 0
			height 156
			width 315
			src loadsave_272.png
		}
		S {
			type image
			top 56
			left 3
			height 1
			width 308
			src hr_272.png
		}
		1 {
			type button
			image $slot1_image
			top 65
			left 3
			width 93
			height 56
			action ui.load_state
			on_right 3
			on_x {
				set_variables {
					delete_left 152
					delete_top 68
					delete_slot 1
				}
				submenu delete_save
			}
			on_left {
				submenu pop
			}
		}
		2 {
			type button
			image $slot4_image
			top 158
			left 3
			width 93
			height 56
			action ui.load_state.4
			on_right 4
			on_down 2
			on_x {
				set_variables {
					delete_left 152
					delete_top 160
					delete_slot 4
				}
				submenu delete_save
			}
			on_left {
				submenu pop
			}
		}
		3 {
			type button
			image $slot2_image
			top 65
			left 112
			width 92
			height 56
			action ui.load_state.2
			on_left 1
			on_right 5
			on_up 3
			on_x {
				set_variables {
					delete_left 260
					delete_top 68
					delete_slot 2
				}
				submenu delete_save
			}
		}
		4 {
			type button
			image $slot5_image
			top 158
			left 112
			width 92
			height 56
			action ui.load_state.5
			on_left 2
			on_right 6
			on_down 4
			on_x {
				set_variables {
					delete_left 260
					delete_top 160
					delete_slot 5
				}
				submenu delete_save
			}
		}
		5 {
			type button
			image $slot3_image
			top 65
			left 219
			width 93
			height 56
			action ui.load_state.3
			on_left 3
			on_up 5
			on_x {
				set_variables {
					delete_left 367
					delete_top 68
					delete_slot 3
				}
				submenu delete_save
			}
		}
		6 {
			type button
			image $slot6_image
			top 158
			left 219
			width 93
			height 56
			action ui.load_state.6
			on_left 4
			on_x {
				set_variables {
					delete_left 367
					delete_top 160
					delete_slot 6
				}
				submenu delete_save
			}
		}
		7 {
			type label
			top 138
			left 8
			width 81
			align centered
			text $slot1_time
		}
		8 {
			type label
			top 138
			left 116
			width 81
			align centered
			text $slot2_time
		}
		9 {
			type label
			top 138
			left 223
			width 81
			align centered
			text $slot3_time
		}
		A {
			type label
			top 231
			left 8
			width 81
			align centered
			text $slot4_time
		}
		B {
			type label
			top 231
			left 116
			width 81
			align centered
			text $slot5_time
		}
		C {
			type label
			top 231
			left 223
			width 81
			align centered
			text $slot6_time
		}
		D {
			type image
			top 237
			left 295
			src button_x_272.png
		}
		E {
			type label
			top 246
			left 235
			width 60
			align right
			text delete
			font {
				name regular
				size 16
			}
		}
		F {
			type label
			top 32
			left 4
			width 200
			text load_head
			font {
				name bold
				size 20
			}
		}
		G {
			type label
			text quick_save
			top 122
			left 8
			width 81
			align centered
			font {
				name regular
				size 16
			}
		}
		H {
			type label
			top 122
			left 116
			width 81
			align centered
			text slot2
			font {
				name regular
				size 16
			}
		}
		I {
			type label
			top 122
			left 223
			width 81
			align centered
			text slot3
			font {
				name regular
				size 16
			}
		}
		J {
			type label
			top 216
			left 8
			width 81
			align centered
			text slot4
			font {
				name regular
				size 16
			}
		}
		K {
			type label
			top 216
			left 116
			width 81
			align centered
			text slot5
			font {
				name regular
				size 16
			}
		}
		L {
			type label
			top 216
			left 223
			width 81
			align centered
			text slot6
			font {
				name regular
				size 16
			}
		}
	}
	cursor {
		src saveload_cursor_272.png
		left -3
		top -3
	}
}
controls {
	width 338
	height 272
	left 146
	top 0
	font {
		name regular
		size 14
	}
	on_left {
		submenu pop
	}
	children {
		00 {
			top 52
			left 4
			type anchor
		}
		1 {
			type label
			top +18
			left 4
			width 60
			height 17
			text Dpad
			show_if $action_dpad
			position_update deferred
		}
		2 {
			type label
			top +0
			left +40
			width 260
			height 17
			text $action_dpad
			show_if $action_dpad
			position_update deferred
		}
		3 {
			type label
			top +18
			left 4
			width 60
			height 17
			text A
			show_if $action_a
			position_update deferred
		}
		4 {
			type label
			top +0
			left +40
			width 260
			height 17
			text $action_a
			show_if $action_a
			position_update deferred
		}
		5 {
			type label
			top +18
			left 4
			width 60
			height 17
			text B
			show_if $action_b
			position_update deferred
		}
		6 {
			type label
			top +0
			left +40
			width 260
			height 17
			text $action_b
			show_if $action_b
			position_update deferred
		}
		7 {
			type label
			top +18
			left 4
			width 60
			height 17
			text X
			show_if $action_x
			position_update deferred
		}
		8 {
			type label
			top +0
			left +40
			width 260
			height 17
			text $action_x
			show_if $action_x
			position_update deferred
		}
		9 {
			type label
			top +18
			left 4
			width 60
			height 17
			text Y
			show_if $action_y
			position_update deferred
		}
		A {
			type label
			top +0
			left +40
			width 260
			height 17
			text $action_y
			show_if $action_y
			position_update deferred
		}
		B {
			type label
			top +18
			left 4
			width 60
			height 17
			text L
			show_if $action_l1
			position_update deferred
		}
		C {
			type label
			top +0
			left +40
			width 260
			height 17
			text $action_l1
			show_if $action_l1
			position_update deferred
		}
		D {
			type label
			top +18
			left 4
			width 60
			height 17
			text R
			show_if $action_r1
			position_update deferred
		}
		E {
			type label
			top +0
			left +40
			width 260
			height 17
			text $action_r1
			show_if $action_r1
			position_update deferred
		}
		F {
			type label
			top +18
			left 4
			width 60
			height 17
			text Select
			show_if $action_select
			position_update deferred
		}
		G {
			type label
			top +0
			left +40
			width 260
			height 17
			text $action_select
			show_if $action_select
			position_update deferred
		}
		H {
			type label
			top +18
			left 4
			width 60
			height 17
			text Start
			show_if $action_start
		}
		I {
			type label
			top +0
			left +40
			width 260
			height 17
			text $action_start
			show_if $action_start
		}
		O {
			type multi
			top 216
			left 105
			width 60
			height 17
			choices {
				0 layout1
				1 layout2
				2 layout3
			}
			setting mapping
			font {
				name regular
				size 14
			}
			show_if $show_button_mapping_ui
		}
		P {
			type label
			top 32
			left 4
			width 101
			text controls_head
			font {
				name bold
				size 20
			}
		}
		Q {
			type image
			top 216
			left 80
			src controls_select_272.png
			show_if $show_button_mapping_ui
		}
		S {
			type image
			top 56
			left 3
			height 1
			width 303
			src hr_272.png
		}
	}
	cursor {
		src controls_cursor_272.png
		left -10
		top 2
	}
}
display_preview {
	base_width 97
	base_height 61
	base_left 213
	base_top 34
	bezel_top 309
}
display {
	width 338
	height 222
	left 142
	top 32
	font {
		name regular
		size 18
	}
	on_left {
		submenu pop
	}
	scrollable yes
	children {
		1 {
			#Aspect section header
			type image
			top 6
			left 0
			width 316
			height 96
			src displaysettings_section_272.png
		}
		2 {
			#Shader section header
			type image
			top 141
			left 0
			width 316
			height 96
			src displaysettings_section_272.png
			show_if_not $rend_eco_mode
		}
		3 {
			#Original aspect button
			type button
			top 33
			left 4
			width 140
			height 17
			text orig_size
			setting video.aspect
			value original
			setting2 video.integer_scaling
			value2 off
		}
		4 {
			#Integer scaling button
			type button
			top 61
			left 4
			width 140
			height 17
			text integer_scale
			setting video.integer_scaling
			value on
			setting2 video.aspect
			value2 original
		}
		5 {
			#Stretch button
			type button
			top 88
			left 4
			width 140
			height 17
			text full_screen
			setting video.aspect
			value stretch
			setting2 video.integer_scaling
			value2 off
		}
		6 {
			#Preview for stretch
			type image
			top 34
			left 213
			src framebuffer
			width 97
			height 61
			config_eq video.aspect
			compare stretch
		}
		7 {
			#Preview for original aspect
			type image
			top 34
			left $orig_left
			src framebuffer
			width $orig_width
			height 61
			config_eq video.aspect
			compare original
			config_eq2 video.integer_scaling
			compare2 off
		}
		8 {
			#Default shader button
			type button
			top 168
			left 4
			width 140
			height 17
			text none
			setting video.fragment_shader
			value default.f.glsl
			show_if_not $rend_eco_mode
		}
		88 {
			#Shader preview
			#shader application to image is hard-coded
			type image
			top +2
			left 213
			width 97
			height 61
			crop center
			src framebuffer
			show_if_not $rend_eco_mode
		}
		9 {
			#Subtle scanlines button
			type button
			top 196
			left 4
			width 140
			height 17
			text subtle
			setting video.fragment_shader
			value scanlines.f.glsl
			show_if_not $rend_eco_mode
		}
		A {
			#intense scanlines button
			type button
			top +28
			left 4
			width 140
			height 17
			text strong
			setting video.fragment_shader
			value scanlines_intense.f.glsl
			show_if_not $rend_eco_mode
		}
		B {
			#Integer aspect preview
			type image
			top $integer_top
			left $integer_left
			src framebuffer
			width $integer_width
			height $integer_height
			config_eq video.integer_scaling
			compare on
		}
		C {
			#Bezel section header
			type image
			top 281
			left 0
			width 316
			height 96
			src displaysettings_section_272.png
			show_if_not $rend_eco_mode
		}
		D {
			#Rendering of selected bezel
			type image
			top +28
			left 213
			src @video.backdrop
			width 97
			height 61
			show_if_not $rend_eco_mode
		}
		D2 {
			#preview of game over bezel when using "original aspect"
			type image
			top 309
			left $orig_left
			src framebuffer
			width $orig_width
			height 61
			config_eq video.aspect
			compare original
			config_eq2 video.integer_scaling
			compare2 off
			show_if_not $rend_eco_mode
		}
		D3 {
			#preview of game over bezel when using "integer scaling"
			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 {
			#preview of game over bezel when using stretch
			type image
			top 309
			left 213
			src framebuffer
			width 97
			height 61
			config_eq video.aspect
			compare stretch
			show_if_not $rend_eco_mode
		}
		E {
			type button
			top 308
			left 4
			width 140
			height 17
			text none
			setting video.backdrop
			value off
			show_if_not $rend_eco_mode
		}
		F {
			type button
			top +28
			left +0
			width 140
			height 17
			text bezel_vs
			setting video.backdrop
			value cobalt272_bezel_VS.png
			show_if_not $rend_eco_mode
		}
		G {
			type button
			top +28
			left +0
			width 140
			height 17
			text bezel_origin
			setting video.backdrop
			value cobalt272_bezel_EvercadeOrigin.png
			show_if_not $rend_eco_mode
		}
		H {
			type button
			top +28
			left +0
			width 140
			height 17
			text bezel_wire
			setting video.backdrop
			value cobalt272_bezel_Wireframe.png
			show_if_not $rend_eco_mode
		}
		I {
			type button
			top +28
			left +0
			width 140
			height 17
			text bezel_lotf
			setting video.backdrop
			value cobalt272_bezel_RachidLotf.png
			show_if_not $rend_eco_mode
		}
		J {
			type button
			top +28
			left +0
			width 140
			height 17
			text bezel_logo
			setting video.backdrop
			value cobalt272_bezel_LogoLegeneds.png
			show_if_not $rend_eco_mode
		}
		K {
			type button
			top +28
			left +0
			width 140
			height 30
			text bezel_box
			setting video.backdrop
			value cobalt272_bezel_BoxArt.png
			show_if_not $rend_eco_mode
		}
		L {
			type label
			top 1
			left 6
			text aspect
			width 200
			font {
				name bold
				size 20
			}
		}
		M {
			type label
			top 136
			left 5
			text shaders
			width 200
			font {
				name bold
				size 20
			}
			show_if_not $rend_eco_mode
		}
		N {
			type label
			top 276
			left 5
			text bezels
			width 200
			font {
				name bold
				size 20
			}
			show_if_not $rend_eco_mode
		}
	}
	cursor {
		src displaysettings_cursor_272.png
		left -4
		top -3
	}
}
delete_save {
	width 96
	height 56
	left $delete_left
	top $delete_top
	submenu_pop_on_reload on
	children {
		0 {
			type image
			top 0
			left 0
			src delete_save_272.png
			width 96
			height 56
		}
		1 {
			type button
			left 28
			top 25
			text no
			align left
			width 13
			height 5
			on_right 2
			on_down 1
			submenu pop
		}
		2 {
			type button
			left 48
			top 25
			text yes
			align left
			width 13
			height 5
			on_up 2
			on_left 1
			submenu pop
			action ui.delete_state.$delete_slot
		}
		3 {
			type label
			left 7
			top 10
			width 76
			text delete_save
			align centered
			font {
				name regular
				size 12
			}

		}
	}
	cursor {
		src delete_save_cursor_272.png
		left -2
		top 1
	}
	#font not actually used ATM, but needed to make things work
	font {
		name bold
		size 9
	}
}
saving {
	width 47
	height 54
	top 214
	left 434
	children {
		0 {
			type image
			top 3
			left 3
			src save_indicator_272.png
		}
		1 {
			type instant
			action $save_action
		}
	}
}
fonts {
	regular {
		file Aero Matics Regular.ttf
		sizes 7 8 9 10 11 12 13 14 15 16 17 18 19 20
	}
	bold {
		file Aero Matics Bold.ttf
		sizes 8 9 10 11 12 13 14 15 16 17 18 19 20
	}
}
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
	}
}
battery {
	fully_charged /opt/menu/menu2.0/images/neon/neonHandheld_main_Battery_Charge.png
	0 /opt/menu/menu2.0/images/neon/neonHandheld_main_Battery_0bar.png
	10 /opt/menu/menu2.0/images/neon/neonHandheld_main_Battery_1bar.png
	35 /opt/menu/menu2.0/images/neon/neonHandheld_main_Battery_2bar.png
	60 /opt/menu/menu2.0/images/neon/neonHandheld_main_Battery_3bar.png
	85 /opt/menu/menu2.0/images/neon/neonHandheld_main_Battery_4bar.png
}
