guiTypes = {
	@spinnerOverlayPosX = -6
	@spinnerOverlayPosY = -8
	@spinnerOverlaySizeX = 372
	@spinnerOverlaySizeY = 42

	containerWindowType = {
		name = "message_settings_entry"
		size = { width = 875 height = 36 }

		background = {
			name = "entry_bg"
			quadTextureSprite = "GFX_tiles_dark_area_cut_8_hover"
			#position = { x = 0 y = 2 }
			#size = { x = 100% y = 98% }
			oversound = no_sound
		}

		instantTextBoxType = {
			name = "message_title"
			font = "cg_16b"
			maxWidth = 305
			maxHeight = 20
			position = { x = 22 y = 8 }
			format = left
			vertical_alignment = center
			alwaysTransparent = yes
			fixedSize = yes
			text = ""
		}

		checkboxType = {
			name = "notification_checkbox"
			spriteType = "GFX_checkbox_20_20_01"
			position = { x = 445 y = 3 }
			pdx_tooltip = "MESSAGE_CLICK_TO_TOGGLE"
		}

		checkboxType = {
			name = "toast_checkbox"
			spriteType = "GFX_checkbox_20_20_01"
			position = { x = 540 y = 3 }
			pdx_tooltip = "MESSAGE_CLICK_TO_TOGGLE"
		}

		checkboxType = {
			name = "popup_checkbox"
			spriteType = "GFX_checkbox_20_20_01"
			position = { x = 635 y = 3 }
			pdx_tooltip = "MESSAGE_CLICK_TO_TOGGLE"
		}

		checkboxType = {
			name = "pause_checkbox"
			spriteType = "GFX_checkbox_20_20_01"
			position = { x = 730 y = 3 }
			pdx_tooltip = "AUTOPAUSE_CLICK_TO_TOGGLE"
		}

		iconType = {
			name = "edited_icon"
			spriteType = "GFX_settings_edit_indicator"
			position = { x = 4 y = 12 }
			#alwaysTransparent = yes
			pdx_tooltip = "IS_EDITED_TOOLTIP"
		}
	}

	containerWindowType = {
		name = "alert_settings_entry"
		size = { width = 875 height = 36 }

		background = {
			name = "entry_bg"
			quadTextureSprite = "GFX_tiles_dark_area_cut_8_hover"
			oversound = no_sound
		}

		instantTextBoxType = {
			name = "alert_title"
			font = "cg_16b"
			maxWidth = 305
			maxHeight = 20
			position = { x = 22 y = 8 }
			format = left
			vertical_alignment = center
			alwaysTransparent = yes
			fixedSize = yes
		}

		checkboxType = {
			name = "enabled_checkbox"
			spriteType = "GFX_checkbox_20_20_01"
			position = { x = 445 y = 3 }
			pdx_tooltip = "ALERT_CLICK_TO_TOGGLE"
		}

		checkboxType = {
			name = "pause_checkbox"
			spriteType = "GFX_checkbox_20_20_01"
			position = { x = 540 y = 3 }
			pdx_tooltip = "AUTOPAUSE_CLICK_TO_TOGGLE"
		}

		iconType = {
			name = "edited_icon"
			spriteType = "GFX_settings_edit_indicator"
			position = { x = 4 y = 12 }
			pdx_tooltip = "ALERT_IS_EDITED_TOOLTIP"
		}
	}

	containerWindowType = {
		name = "settings_view"
	#	size = { width = 100% height = 100% }
		position = { x= -635 y = -355 }
		size = { width = 1270 height = 710 }
		orientation = center

		background = {
			name ="background"
			quadTextureSprite = "GFX_tile_large_bg_solid"
		}

		iconType = {
			name = "hex_bg"
			spriteType = "GFX_hex_bg"
			position = { x = -5 y = -5 }
			alwaysTransparent = yes
		}

		iconType = {
			name = "empire_header_line"
			quadTextureSprite = "GFX_line"
			position = { x = 10 y = 40 }
		}

		instantTextBoxType={
			name = "load_label"
			font = "large_title_font"
			position = { x= 26 y= 8 }
			maxWidth = 300
			maxHeight = 16
			text = "SETTINGS"
		}

		containerWindowType =  {
			name = "window"
			position = { x= -200 y = -270 }
			orientation = center

			##### Subwindow Audio settings ############################################
			containerWindowType = {
				name = "settings_AUDIO"
				position = { x = 230 y = 95 }
				size = { width = 240 height = 500 }

				containerWindowType = {
					name = "settings_slider_master_volume_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = -20 }

					background = {
						name = "setting_bg_frame"
						spriteType = "GFX_tiles_dark_area_cut_8"
					}
				}

				containerWindowType = {
					name = "settings_slider_effect_volume_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 28 }

					background = {
						name = "setting_bg_frame"
						spriteType = "GFX_tiles_dark_area_cut_8"
					}
				}

				containerWindowType = {
					name = "settings_slider_music_volume_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 76 }

					background = {
						name = "setting_bg_frame"
						spriteType = "GFX_tiles_dark_area_cut_8"
					}
				}

				containerWindowType = {
					name = "settings_slider_ambient_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 124 }

					background = {
						name = "setting_bg_frame"
						spriteType = "GFX_tiles_dark_area_cut_8"
					}
				}

				containerWindowType = {
					name = "settings_slider_voicevolume_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 172 }

					background = {
						name = "setting_bg_frame"
						spriteType = "GFX_tiles_dark_area_cut_8"
					}
				}

				containerWindowType = {
					name = "settings_slider_ttsvolume_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 220 }

					background = {
						name = "setting_bg_frame"
						spriteType = "GFX_tiles_dark_area_cut_8"
					}
				}


				# Master volume widgets
				instantTextBoxType={
					position = { x = -410 y = -10 }
					name = "mastervolume_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_MASTER_VOLUME"
				}

				scrollbarType = {
					id = "mastervolume_slider"
					name = "mastervolume_slider"
					slider = "scrollbar_SliderButton"
					track = "scrollbar_TrackButton"
					leftbutton = "scrollbar_upButton"
					rightbutton = "scrollbar_downButton"
					size = {x = 360 y = 30 }
					position = { x = 0 y = -10 }
					priority = 100
					maxValue = 100
					minValue = 0
					stepSize =1
					startValue = 20
					horizontal = 1

					guiButtonType = {
						name = "scrollbar_SliderButton"
						quadTextureSprite = "GFX_settings_scroll_drager"
						tooltip = ""
						tooltipText =""
						delayedTooltipText = ""
						position = { x=30 y =0}
					}

					guiButtonType = {
						name = "scrollbar_TrackButton"
						quadTextureSprite = "scrollbar_background"
						position = { x=30 y =50}
						tooltip = ""
						tooltipText =""
						delayedTooltipText = ""
					}
					#remove#
					guiButtonType = {
						name = "scrollbar_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x= 30 y = 0}
					}
					#remove#
					guiButtonType = {
						name = "scrollbar_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x= 30 y = 120}
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}


				# Effect volume widgets
				instantTextBoxType={
					position = { x = -410 y = 38 }
					name = "effectvolume_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_EFFECT_VOLUME"
				}

				scrollbarType = {
					id = "effectvolume_slider"
					name = "effectvolume_slider"
					slider = "scrollbar_SliderButton"
					track= "scrollbar_TrackButton"
					leftbutton = "scrollbar_upButton"
					rightbutton = "scrollbar_downButton"
					size = {x = 360 y = 30 }
					position = { x = 0 y = 38 }
					priority = 100
					borderSize = {x =16 y = 16}
					maxValue = 100
					minValue = 0
					stepSize =1
					startValue = 20
					horizontal = 1

					guiButtonType = {
						name = "scrollbar_SliderButton"
						quadTextureSprite = "GFX_settings_scroll_drager"
						tooltip = ""
						tooltipText =""
						delayedTooltipText = ""
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "scrollbar_TrackButton"
						quadTextureSprite = "scrollbar_background"
						position = { x=30 y =20}
						tooltip = ""
						tooltipText =""
						delayedTooltipText = ""
					}
					guiButtonType = {
						name = "scrollbar_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "scrollbar_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120}
					}
					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}


				# Music volume widgets
				instantTextBoxType={
					position = { x = -410 y = 86 }
					name = "musicvolume_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_MUSIC_VOLUME"
				}

				scrollbarType = {
					id = "musicvolume_slider"
					name = "musicvolume_slider"
					slider = "scrollbar_SliderButton"
					track= "scrollbar_TrackButton"
					leftbutton = "scrollbar_upButton"
					rightbutton = "scrollbar_downButton"
					size = {x = 360 y = 30 }
					position = { x = 0 y = 86 }
					priority = 100
					borderSize = {x =16 y = 16}
					maxValue = 100
					minValue = 0
					stepSize =1
					startValue = 20
					horizontal = 1

					guiButtonType = {
						name = "scrollbar_SliderButton"
						quadTextureSprite = "GFX_settings_scroll_drager"
						tooltip = ""
						tooltipText =""
						delayedTooltipText = ""
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "scrollbar_TrackButton"
						quadTextureSprite = "scrollbar_background"
						position = { x=30 y =20}
						tooltip = ""
						tooltipText =""
						delayedTooltipText = ""
					}
					guiButtonType = {
						name = "scrollbar_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "scrollbar_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120}
					}
					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}


				# Ambient volume widgets
				instantTextBoxType={
					position = { x = -410 y = 134 }
					name = "ambient_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "AMBIENT"
				}

				scrollbarType = {
					id = "ambient_slider"
					name = "ambient_slider"
					slider = "scrollbar_SliderButton"
					track= "scrollbar_TrackButton"
					leftbutton = "scrollbar_upButton"
					rightbutton = "scrollbar_downButton"
					size = {x = 360 y = 30 }
					position = { x = 0 y = 134 }
					priority = 100
					borderSize = {x =16 y = 16}
					maxValue = 100
					minValue = 0
					stepSize =1
					startValue = 20
					horizontal = 1

					guiButtonType = {
						name = "scrollbar_SliderButton"
						quadTextureSprite = "GFX_settings_scroll_drager"
						tooltip = ""
						tooltipText =""
						delayedTooltipText = ""
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "scrollbar_TrackButton"
						quadTextureSprite = "scrollbar_background"
						position = { x=30 y =20}
						tooltip = ""
						tooltipText =""
						delayedTooltipText = ""
					}
					guiButtonType = {
						name = "scrollbar_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "scrollbar_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120}
					}
					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}


				# Voice volume widgets
				instantTextBoxType={
					position = { x = -410 y = 182 }
					name = "voicevolume_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "VOICEVOLUME"
				}

				scrollbarType = {
					id = "voicevolume_slider"
					name = "voicevolume_slider"
					slider = "scrollbar_SliderButton"
					track= "scrollbar_TrackButton"
					leftbutton = "scrollbar_upButton"
					rightbutton = "scrollbar_downButton"
					size = {x = 360 y = 30 }
					position = { x = 0 y = 182 }
					priority = 100
					borderSize = {x =16 y = 16}
					maxValue = 100
					minValue = 0
					stepSize =1
					startValue = 20
					horizontal = 1

					guiButtonType = {
						name = "scrollbar_SliderButton"
						quadTextureSprite = "GFX_settings_scroll_drager"
						tooltip = ""
						tooltipText =""
						delayedTooltipText = ""
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "scrollbar_TrackButton"
						quadTextureSprite = "scrollbar_background"
						position = { x=30 y =20}
						tooltip = ""
						tooltipText =""
						delayedTooltipText = ""
					}
					guiButtonType = {
						name = "scrollbar_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "scrollbar_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120}
					}
					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}

					navUp = "ambient_slider"
				}

				# TTS volume widgets
				instantTextBoxType={
					position = { x = -410 y = 230 }
					name = "ttsvolume_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "TTSVOLUME"
				}

				scrollbarType = {
					id = "ttsvolume_slider"
					name = "ttsvolume_slider"
					slider = "scrollbar_SliderButton"
					track= "scrollbar_TrackButton"
					leftbutton = "scrollbar_upButton"
					rightbutton = "scrollbar_downButton"
					size = {x = 360 y = 30 }
					position = { x = 0 y = 232 }
					priority = 100
					borderSize = {x =16 y = 16}
					maxValue = 100
					minValue = 0
					stepSize =1
					startValue = 20
					horizontal = 1

					guiButtonType = {
						name = "scrollbar_SliderButton"
						quadTextureSprite = "GFX_settings_scroll_drager"
						tooltip = ""
						tooltipText =""
						delayedTooltipText = ""
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "scrollbar_TrackButton"
						quadTextureSprite = "scrollbar_background"
						position = { x=30 y =20}
						tooltip = ""
						tooltipText =""
						delayedTooltipText = ""
					}
					guiButtonType = {
						name = "scrollbar_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "scrollbar_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120}
					}
					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}

					navUp = "voicevolume_slider"
				}
			}

			##### Subwindow Video settings ############################################
			containerWindowType = {
				name = "settings_VIDEO"
				position = { x = 230 y = 145 }
				size = { width = 240 height = 500 }

				listboxType = {
					name ="settings_listbox"
					position = { x = 280 y = 18 }
					backGround = ""
					size = { x = 251 y = 217 }
					Orientation = "UPPER_LEFT"
					spacing = 2
					scrollbartype = "standardlistbox_slider"
					borderSize = {x = 0 y = 0}
				}

				containerWindowType = {
					name = "settings_graphics_display_mode_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = -70 }

						background = {
							name = "setting_bg_frame"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
				}

				containerWindowType = {
					name = "settings_graphics_resolution_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = -20 }

						background = {
							name = "setting_bg_frame"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
				}

				containerWindowType = {
					name = "settings_graphics_refresh_rate_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 28 }

						background = {
							name = "setting_bg_frame"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
				}

				containerWindowType = {
					name = "settings_graphics_multisample_level_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 76 }

						background = {
							name = "setting_bg_frame"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
				}

				containerWindowType = {
					name = "settings_graphics_quality_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 124 }

						background = {
							name = "setting_bg_frame"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
				}

				containerWindowType = {
					name = "settings_graphics_bloom_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 172 }

						background = {
							name = "setting_bg_frame"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
				}

				containerWindowType = {
					name = "settings_graphics_lens_flare_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 220 }

						background = {
							name = "setting_bg_frame"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
				}

				containerWindowType = {
					name = "settings_graphics_guiscale_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 268 }

						background = {
							name = "setting_bg_frame"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
				}

				containerWindowType = {
					name = "settings_graphics_hyperlane_opacity_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 316 }

					background = {
						name = "setting_bg_frame"
						spriteType = "GFX_tiles_dark_area_cut_8"
					}
				}

				instantTextBoxType={
					position = {x = -410 y = -60 }
					name = "display_mode_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_DISPLAY_MODE"
					tooltip = "SETTINGS_DISPLAY_MODE_INFO"
				}

				instantTextBoxType = {
					position = { x = 30 y = -60 }
					name = "display_mode_value"
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					maxWidth = 300
					maxHeight = 18
					text = "DISPLAY_MODE_WINDOWED_BORDERLESS"
					orientation = "UPPER_LEFT"
					format = center
					tooltip = "SETTINGS_DISPLAY_MODE_INFO"
				}

				spinnerType = {
					id = "display_mode_spinner"
					name = "display_mode_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = {x = 360 y = 30 }
					position = {x= 0 y = -60}
					priority = 100
					borderSize = {x =16 y = 16}
					horizontal = 1
					maxValue = 100
					startValue = 0
					defaultSelection = yes

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
					}
					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				instantTextBoxType = {
					position = { x = -410 y = -10 }
					name = "resolution_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_RESOLUTION"
					tooltip = "SETTINGS_RESOLUTION_INFO"
					tooltip_mode_enabled = yes
				}

				instantTextBoxType = {
					position = { x = 80 y = -10 }
					name = "resolution_value"
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					maxWidth = 200
					maxHeight = 18
					orientation = "UPPER_LEFT"
					format = center
					tooltip = "SETTINGS_RESOLUTION_INFO"
				}

				spinnerType = {
					id = "resolution_spinner"
					name = "resolution_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = { x = 360 y = 24 }
					position = { x = 0 y = -8 }
					priority = 100
					borderSize = { x = 16 y = 16 }
					horizontal = 1
					maxValue = 100
					startValue = 0

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
					}

					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				instantTextBoxType = {
					position = {x = -410 y = 37 }
					name = "refreshrate_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_REFRESH_RATE"
					tooltip = "SETTINGS_REFRESH_RATE_INFO"
				}

				instantTextBoxType = {
					position = { x = 80 y = 37 }
					name = "refreshrate_value"
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					maxWidth = 200
					maxHeight = 18
					orientation = "UPPER_LEFT"
					format = center
					tooltip = "SETTINGS_REFRESH_RATE_INFO"
				}

				spinnerType = {
					id = "refreshrate_spinner"
					name = "refreshrate_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = { x = 360 y = 30 }
					position = { x= 0 y = 36 }
					priority = 100
					borderSize = { x =16 y = 16 }
					horizontal = 1
					maxValue = 100
					startValue = 0

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
					}

					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				instantTextBoxType = {
					position = { x = -410 y = 85 }
					name = "multisample_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_MULTISAMPLE"
					tooltip = "SETTINGS_MULTISAMPLE_INFO"
					tooltip_mode_enabled = yes
				}

				instantTextBoxType = {
					position = { x = 80 y = 85 }
					name = "multisample_value"
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					maxWidth = 200
					maxHeight = 18
					orientation = "UPPER_LEFT"
					format = center
					tooltip = "SETTINGS_MULTISAMPLE_INFO"
				}

				spinnerType = {
					id = "multisample_spinner"
					name = "multisample_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = { x = 360 y = 30 }
					position = { x = 0 y = 84}
					priority = 100
					borderSize = {x =16 y = 16}
					horizontal = 1
					maxValue = 100
					startValue = 0

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
					}

					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				## Graphics Quality

				instantTextBoxType = {
					position = { x = -410 y = 133 }
					name = "gfx_quality_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_GFX_QUALITY"
				}

				instantTextBoxType = {
					position = { x = 80 y = 133 }
					name = "gfx_quality_value"
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					maxWidth = 200
					maxHeight = 18
					orientation = "UPPER_LEFT"
					format = center
				}

				spinnerType = {
					id = "gfx_quality_spinner"
					name = "gfx_quality_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = {x = 360 y = 30 }
					position = { x= 0 y = 132}
					priority = 100
					borderSize = { x =16 y = 16 }
					horizontal = 1
					maxValue = 100
					startValue = 0

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
					}

					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				## Bloom settings

				instantTextBoxType = {
					position = { x = -410 y = 181 }
					name = "bloom_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_BLOOM"
					tooltip = "SETTINGS_BLOOM_INFO"
				}

				instantTextBoxType = {
					position = { x = 80 y = 181 }
					name = "bloom_value"
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					maxWidth = 200
					maxHeight = 18
					orientation = "UPPER_LEFT"
					format = center
					tooltip = "SETTINGS_BLOOM_INFO"
				}

				spinnerType = {
					id = "bloom_spinner"
					name = "bloom_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = { x = 360 y = 30 }
					position = { x = 0 y = 180}
					priority = 100
					borderSize = { x = 16 y = 16}
					horizontal = 1
					maxValue = 100
					startValue = 0

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
					}

					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				#lens flare
				instantTextBoxType = {
					position = { x = -410 y = 229 }
					name = "lens_flare_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_LENS_FLARE"
					tooltip = "SETTINGS_LENS_FLARE_INFO"
				}

				instantTextBoxType = {
					position = { x = 80 y = 229 }
					name = "lens_flare_value"
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					maxWidth = 200
					maxHeight = 18
					orientation = "UPPER_LEFT"
					format = center
					tooltip = "SETTINGS_LENS_FLARE_INFO"
				}

				spinnerType = {
					id = "lens_flare_spinner"
					name = "lens_flare_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = { x = 360 y = 30 }
					position = { x= 0 y = 228}
					priority = 100
					borderSize = { x =16 y = 16 }
					horizontal = 1
					maxValue = 100
					startValue = 0

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
					}

					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				## GUI Scaling

				instantTextBoxType = {
					position = { x = -410 y = 277 }
					name = "guiscale_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_GUISCALE"
					tooltip = "SETTINGS_GUISCALE_INFO"
				}

				instantTextBoxType = {
					position = { x = 80 y = 277 }
					name = "guiscale_value"
					font = "malgun_goth_24"
					borderSize = { x = 0 y = 0 }
					maxWidth = 200
					maxHeight = 18
					orientation = "UPPER_LEFT"
					format = center
				}

				spinnerType = {
					id = "gui_scale_spinner"
					name = "gui_scale_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = {x = 360 y = 24 }
					position = { x = 0 y = 276}
					priority = 100
					borderSize = {x = 16 y = 16}
					horizontal = 1
					maxValue = 100
					startValue = 0

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
					}

					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				# Hyperlane Opacity
				instantTextBoxType = {
					position = { x = -410 y = 324 }
					name = "hyperlane_opacity_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_HYPERLANE_OPACITY"
					tooltip = "SETTINGS_HYPERLANE_OPACITY_INFO"
				}

				scrollbarType = {
					id = "hyperlane_opacity_slider"
					name = "hyperlane_opacity_slider"
					slider = "scrollbar_SliderButton"
					track= "scrollbar_TrackButton"
					leftbutton = "scrollbar_upButton"
					rightbutton = "scrollbar_downButton"
					size = { x = 360 y = 30 }
					position = { x = 0 y = 324 }
					priority = 100
					borderSize = { x =16 y = 16 }
					maxValue = 100
					minValue = 0
					stepSize = 1
					startValue = 20
					horizontal = 1

					guiButtonType = {
						name = "scrollbar_SliderButton"
						quadTextureSprite = "GFX_settings_scroll_drager"
					}
					guiButtonType = {
						name = "scrollbar_TrackButton"
						quadTextureSprite = "scrollbar_background"
					}
					guiButtonType = {
						name = "scrollbar_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
					}
					guiButtonType = {
						name = "scrollbar_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
					}
					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}
			}

			##### Subwindow Gameplay settings ############################################
			containerWindowType = {
				name = "settings_GAMEPLAY"
				position = { x= 230 y = 95 }
				size = { width=240 height = 500 }

				# Enable Telemetry

				containerWindowType = {
					name = "settings_slider_telemetry_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = -20 }

						background = {
							name = "setting_bg_frame"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
				}

				instantTextBoxType={
					name = "telemetry_label"
					font = "malgun_goth_24"
					text = "TELEMETRY_LABEL"
					position = { x = -410 y = -10 }
					maxWidth = 400
					maxHeight = 35
					fixedSize = yes
					format = left
				}

				instantTextBoxType={
					name = "telemetry_value"
					font = "malgun_goth_24"
					text = "OFF"
					position = { x = 80 y = -10 }
					maxWidth = 200
					maxHeight = 35
					fixedSize = yes
					format = center
				}

				spinnerType = {
					id = "telemetry_spinner"
					name = "telemetry_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = { x = 360 y = 24 }
					position = { x = 0 y = -10 }
					priority = 100
					borderSize = { x = 16 y = 16 }
					horizontal = 1
					maxValue = 100
					startValue = 0

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120}
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				# Autosave

				containerWindowType = {
					name = "settings_slider_autosave_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 28 }

						background = {
							name = "setting_bg_frame"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
				}

				instantTextBoxType={
					name = "autosave_label"
					font = "malgun_goth_24"
					text = "AUTOSAVE_LABEL"
					position = { x = -410 y = 38 }
					maxWidth = 400
					maxHeight = 35
					fixedSize = yes
					format = left
				}

				instantTextBoxType={
					name = "autosave_value"
					font = "malgun_goth_24"
					text = "AUTOSAVE_NEVER"
					position = { x = 80 y = 38 }
					maxWidth = 200
					maxHeight = 35
					fixedSize = yes
					format = center
				}

				spinnerType = {
					id = "autosave_spinner"
					name = "autosave_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = {x = 360 y = 24 }
					position = {x= 0 y = 38 }
					priority = 100
					borderSize = {x =16 y = 16}
					horizontal = 1
					maxValue = 100
					startValue = 0

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120}
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				# Autosave Cloud

				containerWindowType = {
					name = "settings_slider_autosave_cloud_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 76 }

						background = {
							name = "setting_bg_frame"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
				}

				instantTextBoxType={
					name = "autosave_cloud_label"
					font = "malgun_goth_24"
					text = "AUTOSAVE_TO_CLOUD_LABEL"
					position = { x = -410 y = 86 }
					maxWidth = 400
					maxHeight = 35
					fixedSize = yes
					format = left
				}

				instantTextBoxType={
					name = "autosave_cloud_value"
					font = "malgun_goth_24"
					text = "OFF"
					position = { x = 80 y = 86 }
					maxWidth = 200
					maxHeight = 35
					fixedSize = yes
					format = center
				}

				spinnerType = {
					id = "autosave_cloud_spinner"
					name = "autosave_cloud_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = { x = 360 y = 24 }
					position = { x = 0 y = 86 }
					priority = 100
					borderSize = { x = 16 y = 16 }
					horizontal = 1
					maxValue = 100
					startValue = 0

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120}
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				# Autopick Leader Traits

				containerWindowType = {
					name = "settings_slider_autopick_leader_traits_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 124 }

						background = {
							name = "setting_bg_frame"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
				}

				instantTextBoxType={
					name = "autopick_leader_traits_label"
					font = "malgun_goth_24"
					text = "autoselect_traits_settings_label"
					position = { x = -410 y = 134 }
					maxWidth = 400
					maxHeight = 35
					fixedSize = yes
					format = left
				}

				instantTextBoxType={
					name = "autopick_leader_traits_value"
					font = "malgun_goth_24"
					text = "ON"
					position = { x = 80 y = 134 }
					maxWidth = 200
					maxHeight = 35
					fixedSize = yes
					format = center
				}

				spinnerType = {
					id = "autopick_leader_traits_spinner"
					name = "autopick_leader_traits_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = { x = 360 y = 24 }
					position = { x = 0 y = 134 }
					priority = 100
					borderSize = { x = 16 y = 16 }
					horizontal = 1
					maxValue = 100
					startValue = 0

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120}
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				# Tutorial

				containerWindowType = {
					name = "settings_slider_tutorial_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 172 }

						background = {
							name = "setting_bg_frame"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
				}

				instantTextBoxType={
					name = "tutorial_label"
					font = "malgun_goth_24"
					text = "SETTINGS_TUTORIAL_LABEL"
					position = { x = -410 y = 182 }
					maxWidth = 400
					maxHeight = 35
					fixedSize = yes
					format = left
				}

				instantTextBoxType={
					name = "tutorial_value"
					font = "malgun_goth_24"
					text = "SETTINGS_TUTORIAL_ON"
					position = { x = 80 y = 182 }
					maxWidth = 200
					maxHeight = 35
					fixedSize = yes
					format = center
				}

				spinnerType = {
					id = "tutorial_spinner"
					name = "tutorial_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = { x = 360 y = 24 }
					position = { x = 0 y = 182 }
					priority = 100
					borderSize = { x = 16 y = 16 }
					horizontal = 1
					maxValue = 100
					startValue = 0

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120}
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				### Rich Text ####

				containerWindowType = {
					name = "settings_slider_rtp_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 268 }

						background = {
							name = "setting_bg_frame"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
				}

				instantTextBoxType={
					name = "rtp_label"
					font = "malgun_goth_24"
					text = "SETTINGS_RICH_TEXT"
					position = { x = -410 y = 278 }
					maxWidth = 400
					maxHeight = 35
					fixedSize = yes
					format = left
				}

				instantTextBoxType={
					name = "rtp_value"
					font = "malgun_goth_24"
					text = "On"
					position = { x = 80 y = 278 }
					maxWidth = 200
					maxHeight = 35
					fixedSize = yes
					format = center
				}

				spinnerType = {
					id = "rtp_spinner"
					name = "rtp_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = { x = 360 y = 24 }
					position = { x = 0 y = 278 }
					priority = 100
					borderSize = { x = 16 y = 16 }
					horizontal = 1
					maxValue = 100
					startValue = 0

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0 }
					}
					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120 }
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}


				# Mouse panning

				containerWindowType = {
					name = "settings_slider_mouse_panning_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 220 }

						background = {
							name = "setting_bg_frame"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
				}

				instantTextBoxType = {
					name = "mouse_panning_label"
					font = "malgun_goth_24"
					text = "SETTINGS_MOUSE_PANNING_LABEL"
					position = { x = -410 y = 230 }
					maxWidth = 400
					maxHeight = 35
					fixedSize = yes
					format = left
				}

				instantTextBoxType = {
					name = "mouse_panning_value"
					font = "malgun_goth_24"
					text = "OFF"
					position = { x = 80 y = 230 }
					maxWidth = 200
					maxHeight = 35
					fixedSize = yes
					format = center
				}

				spinnerType = {
					id = "mouse_panning_spinner"
					name = "mouse_panning_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = { x = 360 y = 24 }
					position = { x = 0 y = 230 }
					priority = 100
					borderSize = { x = 16 y = 16 }
					horizontal = 1
					maxValue = 100
					startValue = 0

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0 }
					}
					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120 }
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				containerWindowType = {
					name = ScrollBaseSpeedContainerWindow
					position = { x = 0 y = 316 }
					# Mouse base speed

					containerWindowType = {
						name = "settings_slider_mouse_speed_acceleration_bg"
						size = { width = 795 height = 46 }
						position = { x = -427 y = 0 }
						background = {
							name = "setting_bg_frame"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
					}

					instantTextBoxType = {
						name = "mouse_wheel_speed_label"
						font = "malgun_goth_24"
						text = "SETTINGS_MOUSE_WHEEL_SPEED"
						position = { x = -410 y = 8 }
						maxWidth = 400
						maxHeight = 35
						fixedSize = yes
						format = left
					}

					scrollbarType = {
						name = "mouse_wheel_speed_slider"
						slider = "scrollbar_SliderButton"
						track= "scrollbar_TrackButton"
						leftbutton = "scrollbar_upButton"
						rightbutton = "scrollbar_downButton"
						size = {x = 360 y = 30 }
						position = { x = 0 y = 6 }
						priority = 100
						borderSize = { x = 16 y = 16 }
						maxValue = 4
						minValue = 1
						stepSize = 0.1
						startValue = 0
						horizontal = 1

						guiButtonType = {
							name = "scrollbar_SliderButton"
							quadTextureSprite = "GFX_settings_scroll_drager"
							tooltip = ""
							tooltipText = ""
							delayedTooltipText = ""
							position = { x = 30 y = 0 }
						}
						guiButtonType = {
							name = "scrollbar_TrackButton"
							quadTextureSprite = "scrollbar_background"
							position = { x = 30 y = 20 }
							tooltip = ""
							tooltipText = ""
							delayedTooltipText = ""
						}
						guiButtonType = {
							name = "scrollbar_upButton"
							quadTextureSprite = "scrollbar_leftbutton"
							position = { x = 30 y = 0 }
						}
						guiButtonType = {
							name = "scrollbar_downButton"
							quadTextureSprite = "scrollbar_rightbutton"
							position = { x = 30 y = 120 }
						}
						overlay = {
							name = "selected_overlay"
							spriteType = "GFX_glow_tile_orange_no_padding"
							overSprite = "GFX_glow_tile_line"
							position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
							size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
						}
						navUp = "tooltip_mode_spinner"
						navDown = "autosave_spinner"
					}
				}

				containerWindowType = {
					name = ScrollAccelerationContainerWindow
					position = { x = 0 y = 364 }
					# Mouse Wheel Acceleration

					containerWindowType = {
						name = "settings_slider_mouse_wheel_acceleration_bg"
						size = { width = 795 height = 46 }
						position = { x = -427 y = 0 }
						background = {
							name = "setting_bg_frame"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
					}

					instantTextBoxType = {
						name = "mouse_wheel_acceleration_label"
						font = "malgun_goth_24"
						text = "SETTINGS_MOUSE_WHEEL_ACCELERATION"
						position = { x = -410 y = 8 }
						maxWidth = 400
						maxHeight = 35
						fixedSize = yes
						format = left
					}

					scrollbarType = {
						id = "mouse_wheel_acceleration_slider"
						name = "mouse_wheel_acceleration_slider"
						slider = "scrollbar_SliderButton"
						track= "scrollbar_TrackButton"
						leftbutton = "scrollbar_upButton"
						rightbutton = "scrollbar_downButton"
						size = {x = 360 y = 30 }
						position = { x = 0 y = 6 }
						priority = 100
						borderSize = { x = 16 y = 16 }
						maxValue = 3
						minValue = 0
						stepSize = 0.1
						startValue = 0
						horizontal = 1

						guiButtonType = {
							name = "scrollbar_SliderButton"
							quadTextureSprite = "GFX_settings_scroll_drager"
							tooltip = ""
							tooltipText = ""
							delayedTooltipText = ""
							position = { x = 30 y = 0 }
						}
						guiButtonType = {
							name = "scrollbar_TrackButton"
							quadTextureSprite = "scrollbar_background"
							position = { x = 30 y = 20 }
							tooltip = ""
							tooltipText = ""
							delayedTooltipText = ""
						}
						guiButtonType = {
							name = "scrollbar_upButton"
							quadTextureSprite = "scrollbar_leftbutton"
							position = { x = 30 y = 0 }
						}
						guiButtonType = {
							name = "scrollbar_downButton"
							quadTextureSprite = "scrollbar_rightbutton"
							position = { x = 30 y = 120 }
						}
						overlay = {
							name = "selected_overlay"
							spriteType = "GFX_glow_tile_orange_no_padding"
							overSprite = "GFX_glow_tile_line"
							position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
							size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
						}
						navUp = "tooltip_mode_spinner"
						navDown = "autosave_spinner"
					}
				}

				# MP Transfer Speed

				containerWindowType = {
					name = "settings_slider_transfer"
					position = { x = -427 y = 412 }

					containerWindowType = {
						name = "transfer_bg"
						size = { width = 795 height = 46 }
						position = { x = 0 y = 0 }

							background = {
								name = "setting_bg_frame"
								spriteType = "GFX_tiles_dark_area_cut_8"
							}
					}

					instantTextBoxType={
						name = "transfer_label"
						font = "malgun_goth_24"
						text = "TRANSFER_SPEED"
						position = { x = 17 y = 10 }
						maxWidth = 400
						maxHeight = 35
						fixedSize = yes
						format = left
						tooltip = "TRANSFER_SPEED_TOOLTIP"
					}

					instantTextBoxType={
						name = "transfer_value"
						font = "malgun_goth_24"
						text = "TRANSFER_SPEED_NEW"
						position = { x = 507 y = 10 }
						maxWidth = 200
						maxHeight = 35
						fixedSize = yes
						format = center
					}

					spinnerType = {
						id = "transfer_spinner"
						name = "transfer_spinner"
						leftbutton = "spinner_upButton"
						rightbutton = "spinner_downButton"
						size = {x = 360 y = 24 }
						position = {x= 427 y = 10}
						priority = 100
						borderSize = {x =16 y = 16}
						horizontal = 1
						maxValue = 100
						startValue = 0

						guiButtonType = {
							name = "spinner_upButton"
							quadTextureSprite = "scrollbar_leftbutton"
							position = { x=30 y =0}
						}
						guiButtonType = {
							name = "spinner_downButton"
							quadTextureSprite = "scrollbar_rightbutton"
							position = { x=30 y =120}
						}

						overlay = {
							name = "selected_overlay"
							spriteType = "GFX_glow_tile_orange_no_padding"
							overSprite = "GFX_glow_tile_line"
							position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
							size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
						}
					}
				}
			}

			################################# Accessibility settings #################
			containerWindowType = {
				name = "settings_ACCESSIBILITY"
				position = { x= 230 y = 142 }
				size = { width=240 height = 500 }

				##### backgrounds
				containerWindowType = {
					name = "settings_accessibility_mouse_side_button_mode_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = -68 }

					background = {
						name = "setting_bg_frame"
						spriteType = "GFX_tiles_dark_area_cut_8"
					}
				}

				containerWindowType = {
					name = "settings_accessibility_chat_visual_alerts_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = -20 }

					background = {
						name = "setting_bg_frame"
						spriteType = "GFX_tiles_dark_area_cut_8"
					}
				}

				containerWindowType = {
					name = "settings_accessibility_chat_chat_large_fonts_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 28 }

					background = {
						name = "setting_bg_frame"
						spriteType = "GFX_tiles_dark_area_cut_8"
					}
				}

				containerWindowType = {
					name = "settings_accessibility_chat_tts_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 76 }

					background = {
						name = "setting_bg_frame"
						spriteType = "GFX_tiles_dark_area_cut_8"
					}
				}

				containerWindowType = {
					name = "settings_accessibility_chat_use_stt_shortcut_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 124 }

					background = {
						name = "setting_bg_frame"
						spriteType = "GFX_tiles_dark_area_cut_8"
					}
				}

				containerWindowType = {
					name = "settings_accessibility_chat_stt_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 172 }

					background = {
						name = "setting_bg_frame"
						spriteType = "GFX_tiles_dark_area_cut_8"
					}
				}

				containerWindowType = {
					name = "settings_accessibility_stt_shortcut_input_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 220 }

					background = {
						name = "setting_bg_frame"
						spriteType = "GFX_tiles_dark_area_cut_8"
					}
				}

				containerWindowType = {
					name = "settings_accessibility_general_tts_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 268 }

					background = {
						name = "setting_bg_frame"
						spriteType = "GFX_tiles_dark_area_cut_8"
					}
				}

				containerWindowType = {
					name = "settings_accessibility_tooltip_tts_bg"
					size = { width = 795 height = 46 }
					position = { x = -427 y = 316 }

					background = {
						name = "setting_bg_frame"
						spriteType = "GFX_tiles_dark_area_cut_8"
					}
				}

				# labels
				instantTextBoxType={
					position = {x = -410 y = -58 }
					name = "mouse_side_button_mode_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_ACCESSIBILITY_MOUSE_SIDE_BUTTON_MODE"
					tooltip = "SETTINGS_ACCESSIBILITY_MOUSE_SIDE_BUTTON_MODE_INFO"
					tooltip_mode_enabled = yes
				}

				instantTextBoxType={
					position = {x = -410 y = -10 }
					name = "visual_alerts_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_ACCESSIBILITY_VISUAL_ALERTS"
					tooltip = "SETTINGS_ACCESSIBILITY_CHAT_VISUAL_ALERTS_INFO"
					tooltip_mode_enabled = yes
				}

				instantTextBoxType={
					position = {x = -410 y = 38 }
					name = "chat_large_fonts_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_ACCESSIBILITY_CHAT_LARGE_FONTS"
					tooltip = "SETTINGS_ACCESSIBILITY_CHAT_LARGE_FONTS_INFO"
					tooltip_mode_enabled = yes
				}

				instantTextBoxType={
					position = {x = -410 y = 86 }
					name = "tts_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_ACCESSIBILITY_TTS"
					tooltip = "SETTINGS_ACCESSIBILITY_TTS_INFO"
					tooltip_mode_enabled = yes
				}

				instantTextBoxType={
					position = {x = -410 y = 134 }
					name = "stt_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_ACCESSIBILITY_STT"
					tooltip = "SETTINGS_ACCESSIBILITY_STT_INFO"
					tooltip_mode_enabled = yes
				}

				instantTextBoxType={
					position = {x = -410 y = 182 }
					name = "stt_shortcut_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_ACCESSIBILITY_USE_STT_SHORTCUT"
					tooltip = "SETTINGS_ACCESSIBILITY_USE_STT_SHORTCUT_INFO"
					tooltip_mode_enabled = yes
				}

				instantTextBoxType={
					position = {x = -410 y = 230 }
					name = "stt_shortcut_input_label"
					font = "malgun_goth_24"
					maxWidth = 500
					maxHeight = 18
					text = "SETTINGS_ACCESSIBILITY_STT_SHORTCUT_INPUT"
					tooltip = "SETTINGS_ACCESSIBILITY_STT_SHORTCUT_INPUT_INFO"
					tooltip_mode_enabled = yes
				}

				instantTextBoxType={
					position = {x = -410 y = 278 }
					name = "general_tts_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_ACCESSIBILITY_GENERAL_TTS"
					tooltip = "SETTINGS_ACCESSIBILITY_GENERAL_TTS_INFO"
					tooltip_mode_enabled = yes
				}

				instantTextBoxType={
					position = {x = -410 y = 326 }
					name = "tooltip_tts_label"
					font = "malgun_goth_24"
					maxWidth = 400
					maxHeight = 18
					text = "SETTINGS_ACCESSIBILITY_TOOLTIP_TTS"
					tooltip = "SETTINGS_ACCESSIBILITY_TOOLTIP_TTS_INFO"
					tooltip_mode_enabled = yes
				}


				# values
				instantTextBoxType={
					position = {x = 30 y = -58 }
					name = "mouse_side_button_mode_value"
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					maxWidth = 300
					maxHeight = 18
					orientation = "UPPER_LEFT"
					format = center
					tooltip = "SETTINGS_ACCESSIBILITY_MOUSE_SIDE_BUTTON_MODE_VALUE_INFO"
				}

				instantTextBoxType={
					position = {x = 30 y = -10 }
					name = "visual_alerts_value"
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					maxWidth = 300
					maxHeight = 18
					text = "On"
					orientation = "UPPER_LEFT"
					format = center
					tooltip = "SETTINGS_ACCESSIBILITY_VISUAL_ALERTS_VALUE_INFO"
				}

				instantTextBoxType={
					position = {x = 30 y = 38 }
					name = "chat_large_fonts_value"
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					maxWidth = 300
					maxHeight = 18
					text = "On"
					orientation = "UPPER_LEFT"
					format = center
					tooltip = "SETTINGS_ACCESSIBILITY_CHAT_LARGE_FONTS_VALUE_INFO"
				}

				instantTextBoxType={
					position = {x = 30 y = 86 }
					name = "tts_value"
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					maxWidth = 300
					maxHeight = 18
					text = "On"
					orientation = "UPPER_LEFT"
					format = center
					tooltip = "SETTINGS_ACCESSIBILITY_TTS_VALUE_INFO"
				}

				instantTextBoxType={
					position = {x = 30 y = 134 }
					name = "stt_value"
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					maxWidth = 300
					maxHeight = 18
					text = "On"
					orientation = "UPPER_LEFT"
					format = center
					tooltip = "SETTINGS_ACCESSIBILITY_STT_VALUE_INFO"
				}

				instantTextBoxType={
					position = {x = 30 y = 182 }
					name = "use_stt_shortcut_value"
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					maxWidth = 300
					maxHeight = 18
					text = "On"
					orientation = "UPPER_LEFT"
					format = center
					tooltip = "SETTINGS_ACCESSIBILITY_USE_STT_SHORTCUT_VALUE_INFO"
				}

				editBoxType = {
					position = { x = 130 y = 225  }
					name = "stt_shortcut_input_value"
					instantTextBoxType = no
					textureFile = "gfx/interface/tiles/small_tiles_dialog.dds"
					font = "malgun_goth_24"
					borderSize = {x = 8 y = 4}
					size = { x=110 y=42 }
					orientation = "UPPER_LEFT"
				}

				instantTextBoxType = {
					position = { x = 30 y = 278  }
					name = "general_tts_value"
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					maxWidth = 300
					maxHeight = 18
					text = "On"
					orientation = "UPPER_LEFT"
					format = center
					tooltip = "SETTINGS_ACCESSIBILITY_GENERAL_TTS_VALUE_INFO"
				}

				instantTextBoxType = {
					position = { x = 30 y = 326  }
					name = "tooltip_tts_value"
					font = "malgun_goth_24"
					borderSize = {x = 0 y = 0}
					maxWidth = 300
					maxHeight = 18
					text = "On"
					orientation = "UPPER_LEFT"
					format = center
					tooltip = "SETTINGS_ACCESSIBILITY_TOOLTIP_TTS_VALUE_INFO"
				}

				# spinners
				spinnerType = {
					id = "mouse_side_button_mode_spinner"
					name = "mouse_side_button_mode_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = {x = 360 y = 30 }
					position = {x= 0 y = -58}
					priority = 100
					borderSize = {x =16 y = 16}
					horizontal = 1
					maxValue = 100
					startValue = 0
					defaultSelection = yes

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120}
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				spinnerType = {
					id = "visual_alerts_spinner"
					name = "visual_alerts_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = {x = 360 y = 30 }
					position = {x= 0 y = -10}
					priority = 100
					borderSize = {x =16 y = 16}
					horizontal = 1
					maxValue = 100
					startValue = 0
					defaultSelection = yes

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120}
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				spinnerType = {
					id = "chat_large_fonts_spinner"
					name = "chat_large_fonts_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = {x = 360 y = 30 }
					position = {x= 0 y = 38}
					priority = 100
					borderSize = {x =16 y = 16}
					horizontal = 1
					maxValue = 100
					startValue = 0

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120}
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				spinnerType = {
					id = "tts_spinner"
					name = "tts_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = {x = 360 y = 30 }
					position = {x= 0 y = 86}
					priority = 100
					borderSize = {x =16 y = 16}
					horizontal = 1
					maxValue = 100
					startValue = 0
					defaultSelection = yes

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120}
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				spinnerType = {
					id = "stt_spinner"
					name = "stt_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = {x = 360 y = 30 }
					position = {x= 0 y = 134}
					priority = 100
					borderSize = {x =16 y = 16}
					horizontal = 1
					maxValue = 100
					startValue = 0
					defaultSelection = yes

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120}
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				spinnerType = {
					id = "use_stt_shortcut_spinner"
					name = "use_stt_shortcut_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = {x = 360 y = 30 }
					position = {x= 0 y = 182}
					priority = 100
					borderSize = {x =16 y = 16}
					horizontal = 1
					maxValue = 100
					startValue = 0
					defaultSelection = yes

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120}
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				spinnerType = {
					id = "general_tts_spinner"
					name = "general_tts_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = {x = 360 y = 30 }
					position = {x= 0 y = 278}
					priority = 100
					borderSize = {x =16 y = 16}
					horizontal = 1
					maxValue = 100
					startValue = 0
					defaultSelection = yes

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120}
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}

				spinnerType = {
					id = "tooltip_tts_spinner"
					name = "tooltip_tts_spinner"
					leftbutton = "spinner_upButton"
					rightbutton = "spinner_downButton"
					size = {x = 360 y = 30 }
					position = {x= 0 y = 326}
					priority = 100
					borderSize = {x =16 y = 16}
					horizontal = 1
					maxValue = 100
					startValue = 0
					defaultSelection = yes

					guiButtonType = {
						name = "spinner_upButton"
						quadTextureSprite = "scrollbar_leftbutton"
						position = { x=30 y =0}
					}
					guiButtonType = {
						name = "spinner_downButton"
						quadTextureSprite = "scrollbar_rightbutton"
						position = { x=30 y =120}
					}

					overlay = {
						name = "selected_overlay"
						spriteType = "GFX_glow_tile_orange_no_padding"
						overSprite = "GFX_glow_tile_line"
						position = { x = @spinnerOverlayPosX y = @spinnerOverlayPosY }
						size = { x = @spinnerOverlaySizeX y = @spinnerOverlaySizeY }
					}
				}
			}

			################################# Message settings #################
			containerWindowType = {
				name = "settings_MESSAGES"
				size = { width = 600 height = 500 }

				buttonType = {
					name = "reset_message_settings_button"
					quadTextureSprite = "GFX_standard_button_180_34_button"
					position = { x = 632 y = 67 }
					buttonFont = "malgun_goth_24"
					buttontext = "RESET_MESSAGE_SETTINGS"
					oversound = mouse_over
				}

				# Auto-Unpause
				containerWindowType = {
					name = "auto_unpause_container"
					position = { x = -424 y = 104 }

					containerWindowType = {
						name = "settings_slider_auto_unpause_bg"
						size = { width = 342 height = 46 }

						background = {
							name = "setting_bg_frame"
							spriteType = "GFX_tiles_dark_area_cut_8"
						}
					}

					instantTextBoxType = {
						name = "auto_unpause_label"
						font = "malgun_goth_24"
						text = "SETTINGS_AUTO_UNPAUSE_LABEL"
						position = { x = 20 y = 10 }
						maxWidth = 400
						maxHeight = 35
						fixedSize = yes
						format = left
						pdx_tooltip = "SETTINGS_AUTO_UNPAUSE_TOOLTIP"
					}

					checkboxType = {
						name = "auto_unpause_value"
						position = { x = 285 y = 10 }
						spriteType = "GFX_checkbox_20_20_01"
						pdx_tooltip = "SETTINGS_AUTO_UNPAUSE_TOOLTIP" # pdx_tooltip = "MESSAGE_CLICK_TO_TOGGLE"
					}
				}

				containerWindowType = {
					name = "filters_container"
					size = { width = 350 height = 330 }
					position = { x = -425 y = 230 }
					clipping = no

					background = {
						name = "filters_bg"
						quadTextureSprite = "GFX_tiles_dark_area_cut_8"
						oversound = no_sound
						alwaysTransparent = yes
					}

					containerWindowType = {
						name = "filters_subheading_container"
						position = { x = -13 y = -60 }

						iconType = {
							name = "hex_bg_subheading"
							spriteType = "GFX_hex_bg"
							alwaysTransparent = yes
						}

						iconType = {
							name = "subheading_header_line"
							quadTextureSprite = "GFX_line_horizontal"
							position = { x = 26 y = 36 }
							alwaysTransparent = yes
						}

						instantTextBoxType = {
							name = "filters_subheading"
							font = "malgun_goth_24"
							text = "MESSAGE_SETTINGS_FILTER_HEADING"
							position = { x = 30 y = 18 }
							maxWidth = 250
							maxHeight = 35
							fixedSize = yes
							format = left
							alwaysTransparent = yes
						}
					}

					containerWindowType = {
						name = "filters"

						containerWindowType = {
							name = "filter_by_category_container"
							position = { x = 0 y = 45 }

							instantTextBoxType = {
								name = "category_title"
								font = "cg_16b"
								position = { x = 18 y = -16 }
								fixedSize = yes
								format = left
								text = "FILTER_CATEGORY_HEADING"
								text_color_code = "H"
								alwaysTransparent = yes
							}

							####### LEFT COLUMN #########
							containerWindowType = {
								name = "col_left_filters"

								containerWindowType = {
									name = "filter_all"

									buttonType = {
										name = "filter_all_button"
										quadTextureSprite = "GFX_invisible"
										position = { x = 10 y = 0 }
										size = { x = 145 y = 27 }
										oversound = no_sound
									}

									instantTextBoxType = {
										name = "name"
										font = "cg_16b"
										position = { x = 42 y = 6 }
										fixedSize = yes
										format = left
										alwaysTransparent = yes
										text = "ALL"
										text_color_code = "E"
									}

									iconType = {
										name = "filter_all_icon"
										alwaysTransparent = yes
										position = { x = 14 y = 2 }
										quadTextureSprite = "GFX_radio_button"
										frame = 1
										scale = 0.8
									}
								}

								containerWindowType = {
									name = "filter_diplomacy"
									position = { x = 0 y = 30 }

									buttonType = {
										name = "filter_diplomacy_button"
										quadTextureSprite = "GFX_invisible"
										position = { x = 10 y = 0 }
										size = { x = 145 y = 27 }
										oversound = no_sound
									}

									instantTextBoxType = {
										name = "name"
										font = "cg_16b"
										position = { x = 42 y = 6 }
										fixedSize = yes
										format = left
										alwaysTransparent = yes
										text = "DIPLOMACY"
										text_color_code = "E"
									}

									iconType = {
										name = "filter_diplomacy_icon"
										alwaysTransparent = yes
										position = { x = 14 y = 2 }
										quadTextureSprite = "GFX_radio_button"
										frame = 1
										scale = 0.8
									}
								}

								containerWindowType = {
									name = "filter_economy"
									position = { x = 0 y = 60 }

									buttonType = {
										name = "filter_economy_button"
										quadTextureSprite = "GFX_invisible"
										position = { x = 10 y = 0 }
										size = { x = 145 y = 27 }
										oversound = no_sound
									}

									instantTextBoxType = {
										name = "name"
										font = "cg_16b"
										position = { x = 42 y = 6 }
										fixedSize = yes
										format = left
										alwaysTransparent = yes
										text = "ECONOMY"
										text_color_code = "E"
									}

									iconType = {
										name = "filter_economy_icon"
										alwaysTransparent = yes
										position = { x = 14 y = 2 }
										quadTextureSprite = "GFX_radio_button"
										frame = 1
										scale = 0.8
									}
								}

								containerWindowType = {
									name = "filter_fleets"
									position = { x = 0 y = 90 }

									buttonType = {
										name = "filter_fleets_button"
										quadTextureSprite = "GFX_invisible"
										position = { x = 10 y = 0 }
										size = { x = 145 y = 27 }
										oversound = no_sound
									}

									instantTextBoxType = {
										name = "name"
										font = "cg_16b"
										position = { x = 42 y = 6 }
										fixedSize = yes
										format = left
										alwaysTransparent = yes
										text = "FLEETS"
										text_color_code = "E"
									}

									iconType = {
										name = "filter_fleets_icon"
										alwaysTransparent = yes
										position = { x = 14 y = 2 }
										quadTextureSprite = "GFX_radio_button"
										frame = 1
										scale = 0.8
									}
								}

								containerWindowType = {
									name = "filter_government"
									position = { x = 0 y = 120 }

									buttonType = {
										name = "filter_government_button"
										quadTextureSprite = "GFX_invisible"
										position = { x = 10 y = 0 }
										size = { x = 145 y = 27 }
										oversound = no_sound
									}

									instantTextBoxType = {
										name = "name"
										font = "cg_16b"
										position = { x = 42 y = 6 }
										fixedSize = yes
										format = left
										alwaysTransparent = yes
										text = "GOVERNMENT"
										text_color_code = "E"
									}

									iconType = {
										name = "filter_government_icon"
										alwaysTransparent = yes
										position = { x = 14 y = 2 }
										quadTextureSprite = "GFX_radio_button"
										frame = 1
										scale = 0.8
									}
								}

								containerWindowType = {
									name = "filter_cosmic_storms"
									position = { x = 0 y = 150 }

									buttonType = {
										name = "filter_cosmic_storms_button"
										quadTextureSprite = "GFX_invisible"
										position = { x = 10 y = 0 }
										size = { x = 145 y = 27 }
										oversound = no_sound
									}

									instantTextBoxType = {
										name = "name"
										font = "cg_16b"
										position = { x = 42 y = 6 }
										fixedSize = yes
										format = left
										alwaysTransparent = yes
										text = "Cosmic Storms"
										text_color_code = "E"
									}

									iconType = {
										name = "filter_cosmic_storms_icon"
										alwaysTransparent = yes
										position = { x = 14 y = 2 }
										quadTextureSprite = "GFX_radio_button"
										frame = 1
										scale = 0.8
									}
								}
							}

							####### RIGHT COLUMN #########
							containerWindowType = {
								name = "col_right_filters"
								position = { x = 170 y = 0 }

								containerWindowType = {
									name = "filter_leaders"
									position = { x = 0 y = 0 }

									buttonType = {
										name = "filter_leaders_button"
										quadTextureSprite = "GFX_invisible"
										position = { x = 10 y = 0 }
										size = { x = 145 y = 27 }
										oversound = no_sound
									}

									instantTextBoxType = {
										name = "name"
										font = "cg_16b"
										position = { x = 42 y = 6 }
										fixedSize = yes
										format = left
										alwaysTransparent = yes
										text = "TAB_LEADERS"
										text_color_code = "E"
									}

									iconType = {
										name = "filter_leaders_icon"
										alwaysTransparent = yes
										position = { x = 14 y = 2 }
										quadTextureSprite = "GFX_radio_button"
										frame = 1
										scale = 0.8
									}
								}

								containerWindowType = {
									name = "filter_military"
									position = { x = 0 y = 30 }

									buttonType = {
										name = "filter_military_button"
										quadTextureSprite = "GFX_invisible"
										position = { x = 10 y = 0 }
										size = { x = 145 y = 27 }
										oversound = no_sound
									}

									instantTextBoxType = {
										name = "name"
										font = "cg_16b"
										position = { x = 42 y = 6 }
										fixedSize = yes
										format = left
										alwaysTransparent = yes
										text = "sk_military"
										text_color_code = "E"
									}

									iconType = {
										name = "filter_military_icon"
										alwaysTransparent = yes
										position = { x = 14 y = 2 }
										quadTextureSprite = "GFX_radio_button"
										frame = 1
										scale = 0.8
									}
								}

								containerWindowType = {
									name = "filter_planets"
									position = { x = 0 y = 60 }

									buttonType = {
										name = "filter_planets_button"
										quadTextureSprite = "GFX_invisible"
										position = { x = 10 y = 0 }
										size = { x = 145 y = 27 }
										oversound = no_sound
									}

									instantTextBoxType = {
										name = "name"
										font = "cg_16b"
										position = { x = 42 y = 6 }
										fixedSize = yes
										format = left
										alwaysTransparent = yes
										text = "PLANETS"
										text_color_code = "E"
									}

									iconType = {
										name = "filter_planets_icon"
										alwaysTransparent = yes
										position = { x = 14 y = 2 }
										quadTextureSprite = "GFX_radio_button"
										frame = 1
										scale = 0.8
									}
								}

								containerWindowType = {
									name = "filter_science"
									position = { x = 0 y = 90 }

									buttonType = {
										name = "filter_science_button"
										quadTextureSprite = "GFX_invisible"
										position = { x = 10 y = 0 }
										size = { x = 145 y = 27 }
										oversound = no_sound
									}

									instantTextBoxType = {
										name = "name"
										font = "cg_16b"
										position = { x = 42 y = 6 }
										fixedSize = yes
										format = left
										alwaysTransparent = yes
										text = "fleet_type_shipclass_science"
										text_color_code = "E"
									}

									iconType = {
										name = "filter_science_icon"
										alwaysTransparent = yes
										position = { x = 14 y = 2 }
										quadTextureSprite = "GFX_radio_button"
										frame = 1
										scale = 0.8
									}
								}

								containerWindowType = {
									name = "filter_focus"
									position = { x = 0 y = 120 }

									buttonType = {
										name = "filter_focus_button"
										quadTextureSprite = "GFX_invisible"
										position = { x = 10 y = 0 }
										size = { x = 145 y = 27 }
										oversound = no_sound
									}

									instantTextBoxType = {
										name = "name"
										font = "cg_16b"
										position = { x = 42 y = 6 }
										fixedSize = yes
										format = left
										alwaysTransparent = yes
										text = "FOCUS_EMPIRE"
										text_color_code = "E"
									}

									iconType = {
										name = "filter_focus_icon"
										alwaysTransparent = yes
										position = { x = 14 y = 2 }
										quadTextureSprite = "GFX_radio_button"
										frame = 1
										scale = 0.8
									}
								}

								containerWindowType = {
									name = "filter_other"
									position = { x = 0 y = 150 }

									buttonType = {
										name = "filter_other_button"
										quadTextureSprite = "GFX_invisible"
										position = { x = 10 y = 0 }
										size = { x = 145 y = 27 }
										oversound = no_sound
									}

									instantTextBoxType = {
										name = "name"
										font = "cg_16b"
										position = { x = 42 y = 6 }
										fixedSize = yes
										format = left
										alwaysTransparent = yes
										text = "OTHER"
										text_color_code = "E"
									}

									iconType = {
										name = "filter_other_icon"
										alwaysTransparent = yes
										position = { x = 14 y = 2 }
										quadTextureSprite = "GFX_radio_button"
										frame = 1
										scale = 0.8
									}
								}
							}
						}

						########## FILTER BY EDITED ########
						containerWindowType = {
							name = "filter_by_edited_container"
							position = { x = 0 y = 250 }

							instantTextBoxType = {
								name = "filter_by_edited_text"
								font = "cg_16b"
								text = "FILTER_EDITED_HEADING"
								position = { x = 18 y = 4 }
								maxWidth = 250
								maxHeight = 20
								fixedSize = yes
								format = left
								text_color_code = "H"
							}

							containerWindowType = {
								name = "any_edited_filter_container"
								position = { x = 0 y = 20 }

								buttonType = {
									name = "filter_any_edited_button"
									quadTextureSprite = "GFX_invisible"
									position = { x = 10 y = 0 }
									size = { x = 80 y = 27 }
									oversound = no_sound
								}

								instantTextBoxType = {
									name = "name"
									font = "cg_16b"
									position = { x = 42 y = 6 }
									fixedSize = yes
									format = left
									alwaysTransparent = yes
									text = "MESSAGE_ANY_EDITED"
									text_color_code = "E"
								}

								iconType = {
									name = "filter_any_edited_icon"
									alwaysTransparent = yes
									position = { x = 14 y = 2 }
									quadTextureSprite = "GFX_radio_button"
									frame = 1
									scale = 0.8
								}
							}

							containerWindowType = {
								name = "filter_by_edited_button_container"
								position = { x = 85 y = 20 }

								buttonType = {
									name = "filter_by_edited_button"
									quadTextureSprite = "GFX_invisible"
									position = { x = 10 y = 0 }
									size = { x = 120 y = 27 }
									oversound = no_sound
								}

								instantTextBoxType = {
									name = "name"
									font = "cg_16b"
									position = { x = 42 y = 6 }
									fixedSize = yes
									format = left
									alwaysTransparent = yes
									text = "MESSAGE_EDITED"
									text_color_code = "E"
								}

								iconType = {
									name = "filter_by_edited_icon"
									alwaysTransparent = yes
									position = { x = 14 y = 2 }
									quadTextureSprite = "GFX_radio_button"
									frame = 1
									scale = 0.8
								}
							}

							containerWindowType = {
								name = "not_edited_filter_container"
								position = { x = 215 y = 20 }

								buttonType = {
									name = "filter_not_edited_button"
									quadTextureSprite = "GFX_invisible"
									position = { x = 10 y = 0 }
									size = { x = 120 y = 27 }
									oversound = no_sound
								}

								instantTextBoxType = {
									name = "name"
									font = "cg_16b"
									position = { x = 42 y = 6 }
									fixedSize = yes
									format = left
									alwaysTransparent = yes
									text = "MESSAGE_NOT_EDITED"
									text_color_code = "E"
								}

								iconType = {
									name = "filter_not_edited_icon"
									alwaysTransparent = yes
									position = { x = 14 y = 2 }
									quadTextureSprite = "GFX_radio_button"
									frame = 1
									scale = 0.8
								}
							}
						}
					}
				}

				buttonType = {
					name = "messages_sub_tab"
					quadTextureSprite = "GFX_tab_gamesetup"
					position = { x = -70 y = 120 }
					scale = 0.75
					frame = 2
					font = "malgun_goth_24"
					buttontext = "SETTINGS_MESSAGES"
					text_offset = { x = -30 y = -12 }
				}

				buttonType = {
					name = "alerts_sub_tab"
					quadTextureSprite = "GFX_tab_gamesetup"
					position = { x = 120 y = 120 }
					scale = 0.75
					frame = 1
					font = "malgun_goth_24"
					buttontext = "SETTINGS_ALERTS"
					text_offset = { x = -30 y = -12 }
				}

				# List entries "message_settings_entry" or "alert_settings_entry"

				containerWindowType = {
					name = "message_list_container"
					size = { width = 905 height = 416 }
					position = { x = -75 y = 150 }
					clipping = no

					background = {
						name = "background"
						spriteType = "GFX_tiles_frame_light"
						alwaysTransparent = yes
					}

					smoothListboxType = {
						name = "message_list"
						size = { x = 875 y = 403 }
						position = { x = 7 y = 7 }
						scrollbartype = "standardlistbox_slider"
					}

					instantTextBoxType = {
						name = "empty_results_text"
						font = "malgun_goth_24"
						text = "MESSAGE_SETTINGS_EMPTY_RESULTS"
						position = { x = 152 y = 126 }
						maxWidth = 600
						maxHeight = 80
						fixedSize = yes
						format = center
						text_color_code = "g"
						alwaysTransparent = yes
					}

					containerWindowType = {
						name = "message_col_headings"
						position = { x = 400 y = -30 }

						instantTextBoxType = {
							name = "notification_heading"
							font = "cg_16b"
							position = { x = 25 y = 0 }
							maxWidth = 80
							maxHeight = 40
							fixedSize = yes
							vertical_alignment = center
							format = center
							text = "MESSAGE_NOTIFICATION_TYPE"
							text_color_code = "E"
							pdx_tooltip = "TOOLTIP_MESSAGE_NOTIFICATION"
						}

						instantTextBoxType = {
							name = "toast_heading"
							font = "cg_16b"
							position = { x = 120 y = 0 }
							maxWidth = 80
							maxHeight = 40
							fixedSize = yes
							vertical_alignment = center
							format = center
							text = "MESSAGE_TOAST_TYPE"
							text_color_code = "E"
							pdx_tooltip = "TOOLTIP_MESSAGE_TOAST"
						}

						instantTextBoxType = {
							name = "popup_heading"
							font = "cg_16b"
							position = { x = 215 y = 0 }
							maxWidth = 80
							maxHeight = 40
							fixedSize = yes
							vertical_alignment = center
							format = center
							text = "MESSAGE_POPUP_TYPE"
							text_color_code = "E"
							pdx_tooltip = "TOOLTIP_MESSAGE_POPUP"
						}

						instantTextBoxType = {
							name = "auto_pause_heading"
							font = "cg_16b"
							position = { x = 310 y = 0 }
							maxWidth = 100
							maxHeight = 40
							fixedSize = yes
							vertical_alignment = center
							format = center
							text = "MESSAGE_AUTOPAUSE_HEADING"
							text_color_code = "E"
							pdx_tooltip = "TOOLTIP_MESSAGE_AUTOPAUSE"
						}
					}

					containerWindowType = {
						name = "alert_col_headings"
						position = { x = 400 y = -30 }

						instantTextBoxType = {
							name = "enabled_heading"
							font = "cg_16b"
							position = { x = 25 y = 0 }
							maxWidth = 80
							maxHeight = 40
							fixedSize = yes
							vertical_alignment = center
							format = center
							text = "MESSAGE_ENABLED_HEADING"
							text_color_code = "E"
							pdx_tooltip = "TOOLTIP_ALERT_ENABLED"
						}

						instantTextBoxType = {
							name = "auto_pause_heading"
							font = "cg_16b"
							position = { x = 120 y = 0 }
							maxWidth = 100
							maxHeight = 40
							fixedSize = yes
							vertical_alignment = center
							format = center
							text = "MESSAGE_AUTOPAUSE_HEADING"
							text_color_code = "E"
							pdx_tooltip = "TOOLTIP_ALERT_AUTOPAUSE"
						}
					}
				}

				containerWindowType = {
					name = "search_box_container"
					position = { x = -70 y = 78 }

					iconType = {
						name = "search_icon"
						alwaysTransparent = yes
						position = { x = -5 y = 2 }
						quadTextureSprite = "GFX_search_icon"
					}

					editBoxType = {
						name = "search_box"
						instantTextBoxType = no
						textureFile = "gfx/interface/tiles/small_tiles_dialog.dds"
						font = "cg_16b"
						borderSize = { x = 46 y = 4 }
						size = { x = 370 y = 40 }
						orientation = "UPPER_LEFT"
						cursor = { x = 0 y = 4 }
					}
				}
			}

			buttonType = {
				id = "ApplyButton"
				name = "ApplyButton"
				quadTextureSprite = "GFX_standard_button_large_211_40"
				position = { x = 600 y = 562  }
				buttonFont = "malgun_goth_24"
				buttontext = "SETTINGS_APPLY"
				actionShortCut = "start"
				navLeft = "ResetButton"
				oversound = mouse_over
				pdx_tooltip = "TOOLTIP_SETTING_APPLY"
			}

			buttonType = {
				id = "ResetButton"
				name = "ResetButton"
				quadTextureSprite = "GFX_standard_button_large_211_40"
				position = { x = 360 y = 562  }
				buttonFont = "malgun_goth_24"
				buttontext = "SETTINGS_DISCARD"
				navLeft = "BackButton"
				navRight = "ApplyButton"
				actionShortCut = "reset"
				oversound = mouse_over
				pdx_tooltip = "TOOLTIP_SETTING_DISCARD"
			}

			buttonType = {
				id = "BackButton"
				name = "BackButton"
				quadTextureSprite = "GFX_standard_button_large_211_40"
				position = { x = -438 y = 562 }
				buttonFont = "malgun_goth_24"
				shortcut = "ESCAPE"
				clicksound = "back_click"
				buttontext = "CANCEL"
				actionShortCut = "cancel"
				navRight = "ResetButton"
				oversound = mouse_over
				pdx_tooltip = "TOOLTIP_SETTING_CLOSE"
			}

			buttonType = {
				name = "video_button"
				quadTextureSprite = "GFX_tab_settings_smaller"
				position = { x = -425 y = 0 }
				frame = 2
				font = "malgun_goth_24"
				buttontext = "SETTINGS_VIDEO"
				text_offset = { x = 0 y = -4 }
			}

			buttonType = {
				name = "audio_button"
				quadTextureSprite = "GFX_tab_settings_smaller"
				position = { x = -173 y = 0 }
				frame = 1
				font = "malgun_goth_24"
				buttontext = "SETTINGS_AUDIO"
				text_offset = { x = 0 y = -4 }
			}

			buttonType = {
				name = "gameplay_button"
				quadTextureSprite = "GFX_tab_settings_smaller"
				position = { x = 77 y = 0 }
				frame = 1
				font = "malgun_goth_24"
				buttontext = "SETTINGS_GAMEPLAY"
				text_offset = { x = 0 y = -4 }
			}

			buttonType = {
				name = "message_tab_button"
				quadTextureSprite = "GFX_tab_settings_smaller"
				position = { x = 327 y = 0 }
				frame = 1
				font = "malgun_goth_24"
				buttontext = "SETTINGS_MESSAGES_ALERTS"
				text_offset = { x = 0 y = -4 }
			}

			buttonType = {
				name = "accessibility_button"
				quadTextureSprite = "GFX_tab_settings_smaller"
				position = { x = 576 y = 0 }
				frame = 1
				font = "malgun_goth_24"
				buttontext = "SETTINGS_ACCESSIBILITY"
				text_offset = { x = 0 y = -4 }
			}
		}
	}
}
